You are not logged in.

#1 2008-04-04 20:06:18

soylent_green_is_hamster
Member
Registered: 2006-11-15
Posts: 109

Problem with DST and openntpd

Hi,

I'm in the UK, and I'm having trouble getting my clock to display the right time for British Summer Time!

I'm running a dual-boot machine (with Windows XP) My rc.conf is as follows:

LOCALE="en_GB.utf8"
HARDWARECLOCK="localtime"
TIMEZONE="GMT"

Because I'm using localtime, I've booted back to XP to allow it so set the clock, but when I boot back into Arch, I get the wrong time (an hour behind). Although hwclock shows the correct time

[998 carl@moschops ~ ]$ date
Fri Apr  4 20:03:55 GMT 2008
[998 carl@moschops ~ ]$ hwclock
Fri 04 Apr 2008 21:03:58 GMT  -0.000630 seconds

I think openntpd is setting the clock back because when I boot back into windows, its the wrong time again (an hour behind)

I can't find an explanation of what's going on! can anyone explain?

Cheers!

Offline

#2 2008-04-04 22:53:28

dunc
Member
From: Glasgow, UK
Registered: 2007-06-18
Posts: 559

Re: Problem with DST and openntpd

Just a shot in the dark, but could it be something to do with your TIMEZONE being "GMT" rather than "Europe/London"? It could be one of those problems where the computer is doing exactly what you tell it, even though it's not actually what you want. GMT is one hour behind BST, after all. Here's my output with "Europe/London" (note the fact that it knows it's BST):

$ date
Fri Apr  4 23:50:45 BST 2008
$ hwclock 
Fri 04 Apr 2008 23:50:56 BST  -0.025426 seconds

Last edited by dunc (2008-04-04 22:54:33)


0 Ok, 0:1

Offline

#3 2008-04-04 23:18:33

soylent_green_is_hamster
Member
Registered: 2006-11-15
Posts: 109

Re: Problem with DST and openntpd

duh - yeah, that was the problem!

thanks for your help dunc smile

Offline

#4 2008-04-05 20:23:01

dunc
Member
From: Glasgow, UK
Registered: 2007-06-18
Posts: 559

Re: Problem with DST and openntpd

Don't mention it. As I said, it was just a wild guess. wink


0 Ok, 0:1

Offline

Board footer

Powered by FluxBB