[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Timezone info

The rules for time changes are described in zoneinfo files. So, if you
use the correct link '/etc/localtime' and that link points to the
up-to-date file (i.e. the file /usr/share/zoneinfo/Europe/London
contains officially declared time change rules which is currently in
force) your boxes will change the time exactly at the moment set in
zoneinfo files. If zoneinfo file contains correct rules it will be the
same moment as set by the government. Therefore, you will not have any
problems with the time change.

Also, you do not need to reboot the system for the change to take
effect. The internal clock in the Linux kernel always uses UTC,
regardless of tile zone. The localtime is then produced from the UTC on
the proccesses' requests in accordance with time zone information (e.g.
from /etc/localtime). At the moment of time change the kernel clock will
not be changed, only the rules for computation of local time will be

Alexey Fadyushin.
Brainbench MVP for Linux.

> -----Original Message-----
> From: redhat-list-bounces redhat com [mailto:redhat-list-
> bounces redhat com] On Behalf Of Lunt, Nick
> Sent: Friday, October 28, 2005 2:24 PM
> To: Redhat (E-mail)
> Subject: Timezone info
> Hi folks,
> This Sunday in the UK the time will be going backwards one hour. I
need to
> know if I can tell the system when to make this change or how I can
> out when this change is scheduled for.
> All our boxes use a local timeserver which punts out the UTC time and
> linux boxes convert that into the localtime for the box.
> Here's some info from one of my boxes
> # date
> Fri Oct 28 11:18:27 BST 2005
> # date -u
> Fri Oct 28 10:18:29 UTC 2005
> Our /etc/localtime is pointing to /usr/share/zoneinfo/Europe/London.
> After the time change on Sunday `date` and `date -u` will output the
> time (I hope ;)
> Can anyone give me any pointers on finding out when/how the boxes will
> back an hour please ?
> It seems that the machine will only pick up the new time after a
reboot  -
> can anyone confirm this ?
> I've tried googling with not much luck.
> I've also browsed the archives for last year around October but didn't
> anything there either.
> Cheers
> Nick .
> Wesleyan Administration Services Ltd registered number 5188850 and
> Wesleyan Unit Trust Managers Ltd registered number 2114859 ("WUTM
> are wholly owned subsidiary companies of Wesleyan Assurance Society,
> registered number is ZC145.
> WUTM Ltd is a member of IMA. For ISA/PEP/Unit Trusts Administration
> Centre: PO Box Basildon SS15 5WQ Telephone: 0870 601 6129
> Wesleyan Assurance Society and WUTM Ltd are authorised and regulated
> the Financial Services Authority.
> Head Office, Colmore Circus, Birmingham B4 6AR. Telephone: 0121 200
> Fax 0121 200 2971.
> Website: www.wesleyan.co.uk Telephone calls may be recorded for
> and training purposes.
> This communication and the information it contains is intended for the
> person or organisation to whom it is addressed. Its contents are
> confidential and may be protected in law. Unauthorised use, copying or
> disclosure of any of it may be unlawful. If you are not the intended
> recipient, please contact us immediately.
> The contents of any attachments in this e-mail may contain software
> viruses, which could damage your own computer system. While every
> reasonable precaution to minimise this risk has been taken, we cannot
> accept liability for any damage that you sustain as a result of
> viruses. You should carry out your own virus checking procedure before
> opening any attachment.
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]