← Back to team overview

touch-packages team mailing list archive

[Bug 1432493] [NEW] ntp dhcp hook doesn't check if ntp.conf has been updated

 

Public bug reported:

/etc/dhcp/dhclient-exit-hooks.d/ntp doesn't check if /etc/ntp.conf has
been updated since the last time dhclient ran.  A simple addition of a
check to see if /etc/ntp.conf is newer than /var/lib/ntp/ntp.conf.dhcp,
and if so letting it add the servers would be sufficient.

This is occuring on a Trusty host with ntp version 1:4.2.6.p5+dfsg-
3ubuntu2.14.04.2.

Please let me know if you need any further information.

$ dpkg-query -W ntp
ntp	1:4.2.6.p5+dfsg-3ubuntu2.14.04.2
$ lsb_release  -d
Description:	Ubuntu 14.04.2 LTS

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


** Tags: canonical-bootstack

** Tags added: canonical-bootstack

-- 
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/1432493

Title:
  ntp dhcp hook doesn't check if ntp.conf has been updated

Status in ntp package in Ubuntu:
  New

Bug description:
  /etc/dhcp/dhclient-exit-hooks.d/ntp doesn't check if /etc/ntp.conf has
  been updated since the last time dhclient ran.  A simple addition of a
  check to see if /etc/ntp.conf is newer than
  /var/lib/ntp/ntp.conf.dhcp, and if so letting it add the servers would
  be sufficient.

  This is occuring on a Trusty host with ntp version 1:4.2.6.p5+dfsg-
  3ubuntu2.14.04.2.

  Please let me know if you need any further information.

  $ dpkg-query -W ntp
  ntp	1:4.2.6.p5+dfsg-3ubuntu2.14.04.2
  $ lsb_release  -d
  Description:	Ubuntu 14.04.2 LTS

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


Follow ups

References