NTP daylight savings on Gentoo

So, you've followed the Gentoo Linux Localization Guide and the the NTP guide on the wiki...

cp /usr/share/zoneinfo/Europe/London /etc/localtime

In /etc/conf.d/clock:


In /etc/conf.d/clock:


In /etc/ntp.conf:

# Some UK based stratum 2 servers
server ntp2b.mcc.ac.uk iburst
server ntp2c.mcc.ac.uk iburst
server ntp2d.mcc.ac.uk iburst
server ntp.cis.strath.ac.uk iburst
/etc/init.d/ntpd restart

...but the time is still not adjusted for daylight savings. Perhaps you're getting an error like this in /var/log/messages:

time correction of -3501 seconds exceeds sanity limit (1000); set clock manually to the correct UTC time.

The (blindingly obvious) solution... Set the clock manually to the correct UTC time!

ntpdate pool.ntp.org
/etc/init.d/ntpd restart

Last modified: 16/05/2009 Tags: (none)

This website is a personal resource. Nothing here is guaranteed correct or complete, so use at your own risk and try not to delete the Internet. -Stephan

Site Info

Privacy policy

Go to top