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
Server Team, which is subscribed to ntp in Ubuntu.
https://bugs.launchpad.net/bugs/427775

Title:
  ntpdate.dhcp always ignored

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/427775/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to