You are not logged in.

#1 2012-06-06 08:06:16

willy9
Member
Registered: 2009-04-14
Posts: 56

systemd and localtime

Hi all,

My laptop has its hardware clock in localtime, and I use systemd. The wiki mentions the issue, with explanation why this is not a good idea, but I don't have much choice here... I do have Windows installed on this machine, but this is a company installation where I do not have administrative rights, and can't edit the registry.

As a consequence, I have a constant lag of 2 hours between my laptop's displayed time and the actual time. NTP is indeed an option, but I'm not always connected to internet...

How can I have my machine in localtime using systemd ?

Thanks !


Skrooge, a personal finances manager for the Plasma Desktop
http://skrooge.org

Offline

#2 2012-06-06 15:10:23

adamrehard
Member
From: NY, USA
Registered: 2011-11-03
Posts: 154

Re: systemd and localtime

Hi,
The wiki has an alnernative that looks like it might help.
This might be helpful. It's pretty ancient, but it might still work. http://lists.ntp.org/pipermail/question … 09431.html
The other thing I though of, though it's a dreadful hack, is to set your time zone forward or backward until the time is correct.


"The box said requires Vista or better, so I installed Arch"
Windows != Linux

Offline

#3 2012-06-06 15:22:30

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: systemd and localtime

willy9 wrote:

My laptop has its hardware clock in localtime

Change it to UTC -- Windows supports it now.

willy9 wrote:

I do have Windows installed on this machine, but this is a company installation where I do not have administrative rights, and can't edit the registry.

Then you shouldn't have installed Linux on the company machine in the first place. They didn't give you admin rights, but they let you over-write the MBR with another bootloader?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#4 2012-06-07 08:38:35

willy9
Member
Registered: 2009-04-14
Posts: 56

Re: systemd and localtime

Thanks for the reply guys ! I'll have a look at chrony, could be what I'm looking for

@Inxsible: very valid comments ! In fact they don't really mind my using another OS on the machine, as long as I don't mess up with their Windows install. And of course, I am not allowed to connect on the company network when running linux.


Skrooge, a personal finances manager for the Plasma Desktop
http://skrooge.org

Offline

#5 2012-06-07 16:19:09

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: systemd and localtime

I would think that installing Arch on a virtual machine would be a better way to go as long as your company has no issues with it.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#6 2012-06-12 04:51:30

kcy29581
Member
From: CA
Registered: 2004-12-23
Posts: 231

Re: systemd and localtime

@willy9: I am trying to figure out the exact same thing right now. Check this link out. If you figure out what/how to edit, awesome. If I figure out, I'll let you know in this thread. From the page: "Use SetLocalRTC() to control whether the RTC is in local time or UTC." I just can't figure out where to set this >< (feeling pretty dumb right now)


There is no spoon in Arch...

Offline

Board footer

Powered by FluxBB