For MAAS users. A quick workaround that you can use for this, is to setting NTPDATE_USE_NTP_CONF to NO via the generic preseed file.
Edit /etc/maas/preseeds/generic, add a late_command into the file d-i preseed/late_command string true && \ in-target sed -i 's/NTPDATE_USE_NTP_CONF=yes/NTPDATE_USE_NTP_CONF=no/' /etc/default/ntpdate This change will force the usage of /var/lib/ntpdate/default.dhcp , which is being written correctly by MAAS. The proper solution for this fix would be to fix the ntpdate package to fall back to /etc/default/ntpdate.dhcp if it doesn't find any ntp.conf configuration by default. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ntp in Ubuntu. https://bugs.launchpad.net/bugs/427775 Title: ntpdate.dhcp always ignored Status in “ntp” package in Ubuntu: Triaged Bug description: Ubuntu 9.04, affects the ntpdate binary package 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/427775/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

