[Bug 209387] Re: tzdata upgrade changes zone

2008-03-30 Thread Thomas Sprinkmeier
What does "/etc/localtime" point to? If "/usr" is part of the root partition it should be a soft-link. If so, point it to "/usr/share/zoneinfo/Etc/GMT+8" If /usr is a separate partition then copy "/usr/share/zoneinfo/Etc/GMT+8" over "/etc/localtime". If you change "/etc/timezone" to point to the

[Bug 114505] Re: ntp is being brought up before network is ready, causing ntp to not resolve any ip or host names and it appears ntp does not recover

2007-10-07 Thread Thomas Sprinkmeier
@Eric, "I see the bug on feisty with a fast local network and local dhcp server." Did you move "/etc/dhcp3/dhclient-enter-hooks.d/ntp" to "/etc/dhcp3 /dhclient-exit-hooks.d/ntp" ? -- ntp is being brought up before network is ready, causing ntp to not resolve any ip or host names and it appears

[Bug 114505] Re: ntp is being brought up before network is ready, causing ntp to not resolve any ip or host names and it appears ntp does not recover

2007-10-07 Thread Thomas Sprinkmeier
@feisty, If your DHCP server isn't providing NTP servers then DHCP should have nothing to do with NTP. "/etc/rcS.d/S40networking" should have the NIC's up and configured long before "/etc/rc[2345].d/S23ntp" tries to start NTP. Does you modem do 'lazy connects'? I'm wondering if the DNS queries

[Bug 114505] Re: ntp is being brought up before network is ready, causing ntp to not resolve any ip or host names and it appears ntp does not recover

2007-10-03 Thread Thomas Sprinkmeier
"No Servers" means that the DHCP server didn't pass on any NTP servers and/or DHCP client doesn't care about them. Check your lease (/var/lib/dhcp3/dhclient.eth0.leases), does it mention "option ntp-servers ." ? Check your dhclient configuration file, does it ask for NTP servers (by default i

[Bug 114505] Re: ntp is being brought up before network is ready, causing ntp to not resolve any ip or host names and it appears ntp does not recover

2007-10-03 Thread Thomas Sprinkmeier
@feisty_hot_lover I modified the ntp hook script to add some debugging (see attached). With the hook script in "-enter-" it was clear from the logs that the interface wasn't ready when NTP needed it. Could you try this version of the hook script and post the log files (/tmp/dhclient-script.*.deb

[Bug 74164] Re: Request ntp-servers by default

2007-09-10 Thread Thomas Sprinkmeier
If you want to override the NTP servers provided by the DHCP server you could use prepend option ntp-servers .. or supersede option ntp-servers .. in /etc/dhcp3/dhclient.conf This seems to be the Right Thing to do. If you know enough to want to override settings supplied by the DHCP ser

[Bug 114505] Re: ntp is being brought up before network is ready, causing ntp to not resolve any ip or host names and it appears ntp does not recover

2007-09-10 Thread Thomas Sprinkmeier
I 'fixed' this by moving "/etc/dhcp3/dhclient-enter-hooks.d/ntp" to "/etc/dhcp3/dhclient-exit-hooks.d/ntp". Before the move a test PING of the new NTP servers failed with "ping: sendmsg: Network is unreachable". This makes sends because the -enter- hooks are run before the DHCP stage (in this ca