Public bug reported:

Ubuntu 9.04

Problem: Using dhcp a file ntpdate.dhcp is created but never used.

By default NTPDATE_USE_NTP_CONF in /etc/default/ntpdate is set to "yes".
This has the following consequences:

/usr/sbin/ntpdate-debian parses /etc/default/ntpdate and checks for
/etc/ntp.conf.dhcp /etc/ntp.conf /etc/openntpd/ntpd.conf if
NTPDATE_USE_NTP_CONF is set to yes.  By default ntpd is not installed
therefore there is no  /etc/ntp.conf.dhcp /etc/ntp.conf or
/etc/openntpd/ntpd.conf. ntpdate-debian then defaults to the NTPSERVERS
set in /etc/default/ntpdate, namely "ntp.ubuntu.com". Only if
NTPDATE_USE_NTP_CONF is set to "no" there will be a check for
/etc/default/ntpdate.dhcp and consequently the server supplied by dhcp
be used.

I propose to set NTPDATE_USE_NTP_CONF to "no" by default. If ntpd is
installed, this will override the use of ntpdate and /etc/ntpd.conf.dhcp
and /etc/default/ntpdate.dhcp will both be created by DHCP anyway,
therefore both packages will use the DHCP supplied servers in any case.

** Affects: ntp (Ubuntu)
     Importance: Undecided
         Status: New

-- 
ntpdate.dhcp always ignored
https://bugs.launchpad.net/bugs/427775
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to