[pkg-ntp-maintainers] Bug#408219: ntpd giving up on eth0 before it is initialized
Aleksi Suhonen
debian-reportbug-2004 at ssd.axu.tm
Wed Sep 12 11:16:51 UTC 2007
Hello,
I ran into this problem with eth1, my WLAN card. I found that
by moving the script from /etc/dhcp3/dhclient-enter-hooks.d to
/etc/dhcp3/dhclient-exit-hooks.d it is now executed at the
correct phase, after the interface has been given addresses.
It would also be nice, if there was a way to specify "persistent"
ntp servers, I.e. that there were some server/peer lines that
wouldn't be stripped when forming /etc/ntp.conf.dhcp.
For example:
sed -r -e '/persistent/{;n;n;};/^ *(server|peer).*$/d' $NTP_CONF
Which would always leave lines following the string "persistent" alone:
# the following server should stay in the conf file persistently:
server my.globally.available.ntp.server
# the following server should be stripped:
server strippable.ntp.server
--
Aleksi Suhonen
() ascii ribbon campaign
/\ support plain text e-mail
More information about the pkg-ntp-maintainers
mailing list