* [gentoo-user] Daylight savings time
@ 2007-11-08 0:16 James
2007-11-08 0:52 ` Dan Farrell
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: James @ 2007-11-08 0:16 UTC (permalink / raw
To: gentoo-user
Hello,
In my /etc/conf.d/clock file I have these relevant settings:
CLOCK="local"
TIMEZONE="America/New_York"
CLOCK_SYSTOHC="yes"
it's a dual boot (XP & gentoo) workstation.
I had to set the time manually to adjust for the 1 hour
shift. Shouldn't this be automatic?
What did I miss?
James
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* [gentoo-user] Re: Daylight savings time
[not found] ` <473257FB.8090402@podgeweb.com>
@ 2007-11-08 0:36 ` James
2007-11-08 22:20 ` Roger Mason
2007-11-08 22:29 ` Eric Martin
2007-11-09 4:06 ` Teng Wang
1 sibling, 2 replies; 13+ messages in thread
From: James @ 2007-11-08 0:36 UTC (permalink / raw
To: gentoo-user
Shawn Haggett <podge <at> podgeweb.com> writes:
> > In my /etc/conf.d/clock file I have these relevant settings:
> > CLOCK="local"
> > TIMEZONE="America/New_York"
> > CLOCK_SYSTOHC="yes"
> Is the /etc/localtime file correct? i.e.:
> $ cp /usr/share/zoneinfo/America/New_York /etc/localtime
-rw-r--r-- 1 root root 3519 Nov 5 17:39 localtime
-rw-r--r-- 3 root root 3519 Nov 5 17:39 /usr/share/zoneinfo/America/New_York
Yes.
Any other ideas?
Maybe I need to 'reemerge' something?
James
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Daylight savings time
2007-11-08 0:16 [gentoo-user] Daylight savings time James
@ 2007-11-08 0:52 ` Dan Farrell
2007-11-08 7:35 ` Philip Webb
[not found] ` <473257FB.8090402@podgeweb.com>
2 siblings, 0 replies; 13+ messages in thread
From: Dan Farrell @ 2007-11-08 0:52 UTC (permalink / raw
To: gentoo-user
On Thu, 8 Nov 2007 00:16:46 +0000 (UTC)
James <wireless@tampabay.rr.com> wrote:
> Hello,
>
> In my /etc/conf.d/clock file I have these relevant settings:
> CLOCK="local"
> TIMEZONE="America/New_York"
> CLOCK_SYSTOHC="yes"
>
> it's a dual boot (XP & gentoo) workstation.
>
> I had to set the time manually to adjust for the 1 hour
> shift. Shouldn't this be automatic?
>
>
>
>
> James
>
>
All my gentoos switched over just fine.
> What did I miss?
I don't know, but I'm surprised to hear about this. I thought we all
figured it out last spring. The gentoo clock stuff should have been
updated long ago.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Daylight savings time
2007-11-08 0:16 [gentoo-user] Daylight savings time James
2007-11-08 0:52 ` Dan Farrell
@ 2007-11-08 7:35 ` Philip Webb
2007-11-08 15:26 ` felix
[not found] ` <473257FB.8090402@podgeweb.com>
2 siblings, 1 reply; 13+ messages in thread
From: Philip Webb @ 2007-11-08 7:35 UTC (permalink / raw
To: gentoo-user
071108 James wrote:
> In my /etc/conf.d/clock file I have these relevant settings:
> CLOCK="local"
That sb "utc".
> TIMEZONE="America/New_York"
> CLOCK_SYSTOHC="yes"
> it's a dual boot (XP & gentoo) workstation.
However, M$ Windows may insist on changing the time on its own,
so you may find it happens twice.
> I had to set the time manually to adjust for the 1 hour shift.
> Shouldn't this be automatic? What did I miss?
HTH
--
========================,,============================================
SUPPORT ___________//___, Philip Webb : purslow@chass.utoronto.ca
ELECTRIC /] [] [] [] [] []| Centre for Urban & Community Studies
TRANSIT `-O----------O---' University of Toronto
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Daylight savings time
2007-11-08 7:35 ` Philip Webb
@ 2007-11-08 15:26 ` felix
2007-11-08 18:05 ` Uwe Thiem
0 siblings, 1 reply; 13+ messages in thread
From: felix @ 2007-11-08 15:26 UTC (permalink / raw
To: gentoo-user
On Thu, Nov 08, 2007 at 02:35:06AM -0500, Philip Webb wrote:
> 071108 James wrote:
> > In my /etc/conf.d/clock file I have these relevant settings:
> > CLOCK="local"
>
> That sb "utc".
I have heard that Windows expects the hardware clock to be in local
time, including daylight savings adjustments. Presumably Windows
maintains it that way.
--
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Daylight savings time
2007-11-08 15:26 ` felix
@ 2007-11-08 18:05 ` Uwe Thiem
0 siblings, 0 replies; 13+ messages in thread
From: Uwe Thiem @ 2007-11-08 18:05 UTC (permalink / raw
To: gentoo-user
On 08 November 2007, felix@crowfix.com wrote:
> On Thu, Nov 08, 2007 at 02:35:06AM -0500, Philip Webb wrote:
> > 071108 James wrote:
> > > In my /etc/conf.d/clock file I have these relevant settings:
> > > CLOCK="local"
> >
> > That sb "utc".
>
> I have heard that Windows expects the hardware clock to be in local
> time, including daylight savings adjustments. Presumably Windows
> maintains it that way.
True. So you should go with "local" if the box is a dual boot one.
Uwe
--
If a man speaks in a forest, and no woman listens to him,
is he still lying?
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Re: Daylight savings time
2007-11-08 0:36 ` [gentoo-user] " James
@ 2007-11-08 22:20 ` Roger Mason
2007-11-08 22:29 ` Eric Martin
1 sibling, 0 replies; 13+ messages in thread
From: Roger Mason @ 2007-11-08 22:20 UTC (permalink / raw
To: gentoo-user
James <wireless@tampabay.rr.com> writes:
>
> Any other ideas?
> Maybe I need to 'reemerge' something?
>
timezone-data?
Cheers,
Roger
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Re: Daylight savings time
2007-11-08 0:36 ` [gentoo-user] " James
2007-11-08 22:20 ` Roger Mason
@ 2007-11-08 22:29 ` Eric Martin
2007-11-08 22:53 ` Albert Hopkins
1 sibling, 1 reply; 13+ messages in thread
From: Eric Martin @ 2007-11-08 22:29 UTC (permalink / raw
To: gentoo-user
James wrote:
> Shawn Haggett <podge <at> podgeweb.com> writes:
>
>
>
>>> In my /etc/conf.d/clock file I have these relevant settings:
>>> CLOCK="local"
>>> TIMEZONE="America/New_York"
>>> CLOCK_SYSTOHC="yes"
>>>
>
>
>> Is the /etc/localtime file correct? i.e.:
>>
>
>
>> $ cp /usr/share/zoneinfo/America/New_York /etc/localtime
>>
>
> -rw-r--r-- 1 root root 3519 Nov 5 17:39 localtime
> -rw-r--r-- 3 root root 3519 Nov 5 17:39 /usr/share/zoneinfo/America/New_York
>
> Yes.
>
>
> Any other ideas?
> Maybe I need to 'reemerge' something?
>
>
> James
>
>
Why copy? when stuff gets updated you'll have to copy again. I'd
suggest making a symlink. Also, I see the timestamps and sizes are the
same, but are the md5's the same? If not, these aren't the same file.
</random longshot suggestion>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Re: Daylight savings time
2007-11-08 22:29 ` Eric Martin
@ 2007-11-08 22:53 ` Albert Hopkins
2007-11-09 3:49 ` James
0 siblings, 1 reply; 13+ messages in thread
From: Albert Hopkins @ 2007-11-08 22:53 UTC (permalink / raw
To: gentoo-user
On Thu, 2007-11-08 at 17:29 -0500, Eric Martin wrote:
> Why copy? when stuff gets updated you'll have to copy again. I'd
> suggest making a symlink. Also, I see the timestamps and sizes are the
> same, but are the md5's the same? If not, these aren't the same file.
> </random longshot suggestion>
Copy is what the emerge does. So when it's updated you get the fresh one
for free.
Actually, originally it was (suggested) that localtime was a symlink.
This was later changed. The reasoning for the change are as follows.
/etc/init.d/clock is run pretty early in the init process; before all
filesystems in /etc/fstab are mounted. If /usr/share/zoneinfo is on a
filesystem that is not mounted when /etc/init.d/clock is run then it
will fail and ugly things will happen. Therefore it's suggested what
instead of a symlink /etc/localtime should be a physical file on the
(root) filesystem.
Probably for most people this is not an issue but apparently it was for
some.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* [gentoo-user] Re: Daylight savings time
2007-11-08 22:53 ` Albert Hopkins
@ 2007-11-09 3:49 ` James
2007-11-09 15:43 ` Roger Mason
0 siblings, 1 reply; 13+ messages in thread
From: James @ 2007-11-09 3:49 UTC (permalink / raw
To: gentoo-user
Albert Hopkins <marduk <at> letterboxes.org> writes:
> /etc/init.d/clock is run pretty early in the init process; before all
> filesystems in /etc/fstab are mounted. If /usr/share/zoneinfo is on a
> filesystem that is not mounted when /etc/init.d/clock is run then it
> will fail and ugly things will happen. Therefore it's suggested what
> instead of a symlink /etc/localtime should be a physical file on the
> (root) filesystem.
OK,
I I re-emerge 'timezone-data' and just wait until spring to see if there
is a problem?
James
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* [gentoo-user] Re: Daylight savings time
2007-11-08 13:38 ` [gentoo-user] " Vaeth
@ 2007-11-09 3:58 ` James
0 siblings, 0 replies; 13+ messages in thread
From: James @ 2007-11-09 3:58 UTC (permalink / raw
To: gentoo-user
Vaeth <vaeth <at> mathematik.uni-wuerzburg.de> writes:
> Only if you run CLOCK=UTC the shift is guaranteed to work in any case
> (of course, unless another program like windows interferes).
Well 'local' did not work, so I'm going to set it to UTC and see what happens
in the spring.
James
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* [gentoo-user] Re: Daylight savings time
[not found] ` <473257FB.8090402@podgeweb.com>
2007-11-08 0:36 ` [gentoo-user] " James
@ 2007-11-09 4:06 ` Teng Wang
1 sibling, 0 replies; 13+ messages in thread
From: Teng Wang @ 2007-11-09 4:06 UTC (permalink / raw
To: gentoo-user
I suggest you install ntpd, which will sync time with ntp server. And
I dont think set CLOCK="UTC" is a good idea. If you are using WINXP,
it will change your clock to local always.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Re: Daylight savings time
2007-11-09 3:49 ` James
@ 2007-11-09 15:43 ` Roger Mason
0 siblings, 0 replies; 13+ messages in thread
From: Roger Mason @ 2007-11-09 15:43 UTC (permalink / raw
To: gentoo-user
Hi James,
James <wireless@tampabay.rr.com> writes:
> I I re-emerge 'timezone-data' and just wait until spring to see if there
> is a problem?
Here is the procedure I used last spring (you'll need to set the
TIMEZONE according to your location:
(1) Sync. (perhaps not required if portage is fairly up to date)
(2) emerge timezone-data (should be >= 2006p)
(3) set TIMEZONE="Canada/Newfoundland" in /etc/conf.d/clock (adjust
for your local time zone).
(4) rm /etc/localtime && cp /usr/share/zoneinfo/Canada/Newfoundland
/etc/localtime (adjust for your local time zone).
(5) Check: zdump -v /etc/localtime | grep 2007.
For timezone-data = 2007c it shows:
/etc/localtime Sun Mar 11 03:30:59 2007 UTC = Sun Mar 11 00:00:59
2007 NST isdst=0
/etc/localtime Sun Mar 11 03:31:00 2007 UTC = Sun Mar 11 01:01:00
2007 NDT isdst=1
/etc/localtime Sun Nov 4 02:30:59 2007 UTC = Sun Nov 4 00:00:59
2007 NDT isdst=1
/etc/localtime Sun Nov 4 02:31:00 2007 UTC = Sat Nov 3 23:01:00
2007 NST isdst=0
There was a thread on this last March: [gentoo-user] Problems after
DST change
Hope this helps,
Roger
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2007-11-09 16:49 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-08 0:16 [gentoo-user] Daylight savings time James
2007-11-08 0:52 ` Dan Farrell
2007-11-08 7:35 ` Philip Webb
2007-11-08 15:26 ` felix
2007-11-08 18:05 ` Uwe Thiem
[not found] ` <473257FB.8090402@podgeweb.com>
2007-11-08 0:36 ` [gentoo-user] " James
2007-11-08 22:20 ` Roger Mason
2007-11-08 22:29 ` Eric Martin
2007-11-08 22:53 ` Albert Hopkins
2007-11-09 3:49 ` James
2007-11-09 15:43 ` Roger Mason
2007-11-09 4:06 ` Teng Wang
[not found] <9n3hU-89d-7@gated-at.bofh.it>
2007-11-08 13:38 ` [gentoo-user] " Vaeth
2007-11-09 3:58 ` [gentoo-user] " James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox