ntpdate and Israel local time
Oron Peled
oron at actcom.co.il
Thu May 27 23:34:52 IDT 2010
On Thursday, 27 בMay 2010 21:50:12 geoffrey mendelson wrote:
> On May 27, 2010, at 9:37 PM, Dan Shimshoni wrote:
> > ...
> > However, there is a server at my work place which I am responsible
> > for. When I run:
> > ntpdate -s ntpserver.huji.ac.il
> > it sets the time to 7 hours earlier (I mean, instead 19:00, it is
> > 12:00).
> ...
> /etc/localtime is set to EST/EDT (US east coast)
>
> ln -s /usr/share/zoneinfo/Asia/Jerusalem /etc/localtime
>
> Note that UBUNTU (and possibly debian) use a hard link or a copy of
> the file instead of symlink.
RedHat/Centos/Fedora also create a copy and for a good reason: /usr
may be on a separate partition, in which case /etc/localtime is a
dangling link during early boot phases until /usr is mounted.
--
Oron Peled Voice: +972-4-8228492
oron at actcom.co.il http://users.actcom.co.il/~oron
"Copyright protects Software. Patents protect Software Monopolies."
http://swpat.ffii.org/
More information about the Linux-il
mailing list