* [gentoo-user] getting GMT to use DST
@ 2007-09-14 3:55 Mat Harris
2007-09-14 5:06 ` Iain Buchanan
2007-09-14 20:23 ` [gentoo-user] " Paul Gibbons
0 siblings, 2 replies; 14+ messages in thread
From: Mat Harris @ 2007-09-14 3:55 UTC (permalink / raw
To: gentoo-user
Hi All,
I have had a machine running for a little while without many problems,
until I tried to use ntp to keep my clock in sync.
I have got my /etc/localtime and my /etc/conf.d/clock to reflect my GMT
location, yet all timeservers I try to sync to put me an hour behind. I
am in the UK and currently our clocks are forwards, or is it backwards?
Either way I cannot have my machine out 1 hour for half the year. What
should my solution be?
TIA
Mat Harrison
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] getting GMT to use DST
2007-09-14 3:55 [gentoo-user] getting GMT to use DST Mat Harris
@ 2007-09-14 5:06 ` Iain Buchanan
2007-09-14 5:56 ` Mat Harris
2007-09-14 20:23 ` [gentoo-user] " Paul Gibbons
1 sibling, 1 reply; 14+ messages in thread
From: Iain Buchanan @ 2007-09-14 5:06 UTC (permalink / raw
To: gentoo-user
On Fri, 2007-09-14 at 04:55 +0100, Mat Harris wrote:
> Hi All,
>
> I have had a machine running for a little while without many problems,
> until I tried to use ntp to keep my clock in sync.
>
> I have got my /etc/localtime and my /etc/conf.d/clock to reflect my GMT
> location, yet all timeservers I try to sync to put me an hour behind. I
> am in the UK and currently our clocks are forwards, or is it backwards?
>
> Either way I cannot have my machine out 1 hour for half the year. What
> should my solution be?
probably because while you are in a "GMT location", strictly speaking
you are not on GMT time. GMT time does not include daylight savings,
AFAIK, otherwise everyone who referenced GMT would have to alter their
time according to whether both GMT and their timezone was on daylight
savings at that particular time - a big mess, especially for the
Southern Hemisphere, or places like where I live, that don't use DST.
You need to set /etc/conf.d/clock to GMT (if your bios keeps time in GMT
- up to you) and set /etc/localtime to London, or whatever. I think...
I get confused sometimes :)
HTH,
--
Iain Buchanan <iaindb at netspace dot net dot au>
Don't tell me how hard you work. Tell me how much you get done.
-- James J. Ling
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] getting GMT to use DST
2007-09-14 5:06 ` Iain Buchanan
@ 2007-09-14 5:56 ` Mat Harris
2007-09-14 8:34 ` Neil Bothwick
0 siblings, 1 reply; 14+ messages in thread
From: Mat Harris @ 2007-09-14 5:56 UTC (permalink / raw
To: gentoo-user
Iain Buchanan wrote:
> On Fri, 2007-09-14 at 04:55 +0100, Mat Harris wrote:
>> Hi All,
>>
>> I have had a machine running for a little while without many problems,
>> until I tried to use ntp to keep my clock in sync.
>>
>> I have got my /etc/localtime and my /etc/conf.d/clock to reflect my GMT
>> location, yet all timeservers I try to sync to put me an hour behind. I
>> am in the UK and currently our clocks are forwards, or is it backwards?
>>
>> Either way I cannot have my machine out 1 hour for half the year. What
>> should my solution be?
>
> probably because while you are in a "GMT location", strictly speaking
> you are not on GMT time. GMT time does not include daylight savings,
> AFAIK, otherwise everyone who referenced GMT would have to alter their
> time according to whether both GMT and their timezone was on daylight
> savings at that particular time - a big mess, especially for the
> Southern Hemisphere, or places like where I live, that don't use DST.
>
> You need to set /etc/conf.d/clock to GMT (if your bios keeps time in GMT
> - up to you) and set /etc/localtime to London, or whatever. I think...
> I get confused sometimes :)
>
> HTH,
Hi,
Excellent keeping GMT in /etc/conf.d/clock and setting /etc/localtime to
Europe/London did the trick.
Thanks for the help :)
Mat Harrison
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] getting GMT to use DST
2007-09-14 5:56 ` Mat Harris
@ 2007-09-14 8:34 ` Neil Bothwick
2007-09-14 8:48 ` Dirk Heinrichs
0 siblings, 1 reply; 14+ messages in thread
From: Neil Bothwick @ 2007-09-14 8:34 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 434 bytes --]
Hello Mat Harris,
> Excellent keeping GMT in /etc/conf.d/clock and setting /etc/localtime
> to Europe/London did the trick.
Until you next emerge timezone-data, when /etc/localtime will be set to
GMT. /etc/conf.d/clock determines what will be used for /etc/localtime,
it has no effect at other times. You need to set both to Europe/London.
--
Neil Bothwick
I've got a mind like a... a... what's that thing called?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] getting GMT to use DST
2007-09-14 8:34 ` Neil Bothwick
@ 2007-09-14 8:48 ` Dirk Heinrichs
2007-09-14 9:42 ` Neil Bothwick
0 siblings, 1 reply; 14+ messages in thread
From: Dirk Heinrichs @ 2007-09-14 8:48 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 960 bytes --]
Am Freitag, 14. September 2007 schrieb ext Neil Bothwick:
> Hello Mat Harris,
>
> > Excellent keeping GMT in /etc/conf.d/clock and setting /etc/localtime
> > to Europe/London did the trick.
>
> Until you next emerge timezone-data, when /etc/localtime will be set to
> GMT. /etc/conf.d/clock determines what will be used for /etc/localtime,
> it has no effect at other times. You need to set both to Europe/London.
/etc/conf.d/clock has two relevant variables, CLOCK and TIMEZONE. Here are
mine:
CLOCK="UTC"
TIMEZONE="Europe/Berlin"
Don't know wether setting CLOCK to "GMT" will also do.
Bye...
Dirk
--
Dirk Heinrichs | Tel: +49 (0)162 234 3408
Configuration Manager | Fax: +49 (0)211 47068 111
Capgemini Deutschland | Mail: dirk.heinrichs@capgemini.com
Wanheimerstraße 68 | Web: http://www.capgemini.com
D-40468 Düsseldorf | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] getting GMT to use DST
2007-09-14 8:48 ` Dirk Heinrichs
@ 2007-09-14 9:42 ` Neil Bothwick
2007-09-14 12:20 ` [gentoo-user] " James
0 siblings, 1 reply; 14+ messages in thread
From: Neil Bothwick @ 2007-09-14 9:42 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 678 bytes --]
On Fri, 14 Sep 2007 10:48:58 +0200, Dirk Heinrichs wrote:
> > Until you next emerge timezone-data, when /etc/localtime will be set
> > to GMT. /etc/conf.d/clock determines what will be used
> > for /etc/localtime, it has no effect at other times. You need to set
> > both to Europe/London.
>
> /etc/conf.d/clock has two relevant variables, CLOCK and TIMEZONE. Here
> are mine:
>
> CLOCK="UTC"
> TIMEZONE="Europe/Berlin"
>
> Don't know wether setting CLOCK to "GMT" will also do.
It's the TIMEZONE setting that matters here, CLOCK should be either "UTC"
or "local".
--
Neil Bothwick
Micro-: (prefix) anything both very small and very expensive.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* [gentoo-user] Re: getting GMT to use DST
2007-09-14 9:42 ` Neil Bothwick
@ 2007-09-14 12:20 ` James
2007-09-14 12:36 ` Dirk Heinrichs
2007-09-14 13:09 ` Neil Bothwick
0 siblings, 2 replies; 14+ messages in thread
From: James @ 2007-09-14 12:20 UTC (permalink / raw
To: gentoo-user
Neil Bothwick <neil <at> digimed.co.uk> writes:
> > /etc/conf.d/clock has two relevant variables, CLOCK and TIMEZONE. Here
> > are mine:
> > CLOCK="UTC"
> > TIMEZONE="Europe/Berlin"
> > Don't know wether setting CLOCK to "GMT" will also do.
> It's the TIMEZONE setting that matters here, CLOCK should be either "UTC"
> or "local".
Hello Neil,
I have an identical question.
I set /etc/localtime this way:
cp /usr/share/zoneinfo/EST /etc/localtime
I'm in Florida and my /etc/conf.d/clock settings
are:
CLOCK="EST"
TIMEZONE="/usr/share/zoneinfoAmerica/New_York"
Is it correct to use EST or should it be local?
James
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Re: getting GMT to use DST
2007-09-14 12:20 ` [gentoo-user] " James
@ 2007-09-14 12:36 ` Dirk Heinrichs
2007-09-14 13:09 ` Neil Bothwick
1 sibling, 0 replies; 14+ messages in thread
From: Dirk Heinrichs @ 2007-09-14 12:36 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 748 bytes --]
Am Freitag, 14. September 2007 schrieb ext James:
> I'm in Florida and my /etc/conf.d/clock settings
> are:
>
> CLOCK="EST"
"UTC" or "local" are the only choices, "UTC" being the better one.
> TIMEZONE="/usr/share/zoneinfoAmerica/New_York"
Should be only "America/New_York".
> Is it correct to use EST or should it be local?
It's all described in detail in /etc/conf.d/clock.
Bye...
Dirk
--
Dirk Heinrichs | Tel: +49 (0)162 234 3408
Configuration Manager | Fax: +49 (0)211 47068 111
Capgemini Deutschland | Mail: dirk.heinrichs@capgemini.com
Wanheimerstraße 68 | Web: http://www.capgemini.com
D-40468 Düsseldorf | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Re: getting GMT to use DST
2007-09-14 12:20 ` [gentoo-user] " James
2007-09-14 12:36 ` Dirk Heinrichs
@ 2007-09-14 13:09 ` Neil Bothwick
2007-09-14 15:08 ` James
2007-09-14 16:28 ` Randy Barlow
1 sibling, 2 replies; 14+ messages in thread
From: Neil Bothwick @ 2007-09-14 13:09 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 775 bytes --]
On Fri, 14 Sep 2007 12:20:46 +0000 (UTC), James wrote:
> I have an identical question.
> I set /etc/localtime this way:
> cp /usr/share/zoneinfo/EST /etc/localtime
You no longer need to do that. The timezone-data ebuild used the
TIMEZONE variable in conf.d/clock to copy the correct file for you.
> I'm in Florida and my /etc/conf.d/clock settings
> are:
>
> CLOCK="EST"
> TIMEZONE="/usr/share/zoneinfoAmerica/New_York"
>
> Is it correct to use EST or should it be local?
local (or UTC, which is generally preferable). This variable sets whether
your clock uses local or UTC time, it has nothing to do with setting your
timezone.
TIMEZONE should be America/New_York
--
Neil Bothwick
When puns are outlawed only outlaws will have puns.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* [gentoo-user] Re: getting GMT to use DST
2007-09-14 13:09 ` Neil Bothwick
@ 2007-09-14 15:08 ` James
2007-09-14 16:28 ` Randy Barlow
1 sibling, 0 replies; 14+ messages in thread
From: James @ 2007-09-14 15:08 UTC (permalink / raw
To: gentoo-user
Neil Bothwick <neil <at> digimed.co.uk> writes:
> > cp /usr/share/zoneinfo/EST /etc/localtime
> You no longer need to do that. The timezone-data ebuild used the
> TIMEZONE variable in conf.d/clock to copy the correct file for you.
>
> local (or UTC, which is generally preferable). This variable sets whether
> your clock uses local or UTC time, it has nothing to do with setting your
> timezone.
> TIMEZONE should be America/New_York
OK,
I guess I was looking at some old wikis:
http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml
Code Listing 2.17: Setting your timezone
livecd / # ls /usr/share/zoneinfo
(Using Brussels as an example)
livecd / # cp /usr/share/zoneinfo/Europe/Brussels /etc/localtime
thx,
James
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] Re: getting GMT to use DST
2007-09-14 13:09 ` Neil Bothwick
2007-09-14 15:08 ` James
@ 2007-09-14 16:28 ` Randy Barlow
1 sibling, 0 replies; 14+ messages in thread
From: Randy Barlow @ 2007-09-14 16:28 UTC (permalink / raw
To: gentoo-user
Neil Bothwick wrote:
>> Is it correct to use EST or should it be local?
> local (or UTC, which is generally preferable). This variable sets whether
> your clock uses local or UTC time, it has nothing to do with setting your
> timezone.
local is good to use if you dual boot with Windows, otherwise use UTC.
--
Randy Barlow
http://electronsweatshop.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [gentoo-user] getting GMT to use DST
2007-09-14 3:55 [gentoo-user] getting GMT to use DST Mat Harris
2007-09-14 5:06 ` Iain Buchanan
@ 2007-09-14 20:23 ` Paul Gibbons
2007-09-15 17:58 ` Mick
1 sibling, 1 reply; 14+ messages in thread
From: Paul Gibbons @ 2007-09-14 20:23 UTC (permalink / raw
To: gentoo-user; +Cc: iwasinnamuknow
On Fri, 14 Sep 2007 04:55:15 +0100
Mat Harris <iwasinnamuknow@genestate.com> wrote:
> Hi All,
>
> I have had a machine running for a little while without many
> problems, until I tried to use ntp to keep my clock in sync.
>
> I have got my /etc/localtime and my /etc/conf.d/clock to reflect my
> GMT location, yet all timeservers I try to sync to put me an hour
> behind. I am in the UK and currently our clocks are forwards, or is
> it backwards?
>
> Either way I cannot have my machine out 1 hour for half the year.
> What should my solution be?
>
> TIA
>
> Mat Harrison
I too am on UK time ( Oxford to be precise)
My /etc/conf.d/clock contains:
CLOCK="UTC"
# Select the proper timezone. For valid values, peek inside of the
# /usr/share/zoneinfo/ directory. For example, some common values are
# "America/New_York" or "EST5EDT" or "Europe/Berlin".
TIMEZONE="GB"
For NTP I followed the instructions in http://gentoo-wiki.com/HOWTO_NTP.
I hope this helps.
--
##### ## ###
###### /### ###
/# / / ### ##
/ / / ### ##
/ / ## ##
## ## ## /### ## #### ##
## ## ## / ### / ## ### / ## paul@pkami.e7even.com
/### ## / / ###/ ## ###/ ## mobile: 07972184336
/ ### ## / ## ## ## ## ##
## ######/ ## ## ## ## ##
## ###### ## ## ## ## ##
## ## ## ## ## ## ##
## ## ## /# ## /# ##
## ## ####/ ## ######/ ## ### /
## ## ## ### ## ##### ## ##/
### # /
### /
#####/
###
Linux paul-gentoo 2.6.22-gentoo-r5
x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ AuthenticAMD
GNU/Linux
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2007-09-15 18:44 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-14 3:55 [gentoo-user] getting GMT to use DST Mat Harris
2007-09-14 5:06 ` Iain Buchanan
2007-09-14 5:56 ` Mat Harris
2007-09-14 8:34 ` Neil Bothwick
2007-09-14 8:48 ` Dirk Heinrichs
2007-09-14 9:42 ` Neil Bothwick
2007-09-14 12:20 ` [gentoo-user] " James
2007-09-14 12:36 ` Dirk Heinrichs
2007-09-14 13:09 ` Neil Bothwick
2007-09-14 15:08 ` James
2007-09-14 16:28 ` Randy Barlow
2007-09-14 20:23 ` [gentoo-user] " Paul Gibbons
2007-09-15 17:58 ` Mick
2007-09-15 18:31 ` Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox