[Bug 1576698] Re: ntpdate-debian not working

Bug Watch Updater 1576698 at bugs.launchpad.net
Sat Aug 27 21:59:06 UTC 2016


** Changed in: ntp (Debian)
       Status: Unknown => New

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1576698

Title:
  ntpdate-debian not working

Status in ntp package in Ubuntu:
  In Progress
Status in ntp package in Debian:
  New

Bug description:
  [Impact]

   * ntpdate-debian fails to work if ntp is installed at the same time
  due to a conflict in the updated ntp config to the ntpdate-debian
  script.

  [Test Case]
  # e.g. spawn xenial container
  # Note: only occurs when ntp is installed as well
  $ apt-get install ntpdate ntp
  $ ntpdate-debian
  (Note for latter verification enable proposed in that container and re-update ntpdate)

  [Regression Potential]

   * There could exists a custom user conf that had a mixed server AND
  pool specified, that now will use the first of both types while
  instead formerly it would have used the first server entry. The chance
  for this is super-low IMHO, but this case exists.


  --------

  
  in 16.04 I get this
  # ntpdate-debian
  28 Apr 09:54:14 ntpdate[30747]: no servers can be used, exiting

  The problem is that ntpdate-debian parse  /etc/ntp.conf, searchin for the word "server",
  but the format of the file as changed a bit

  < server 0.ubuntu.pool.ntp.org
  < server 1.ubuntu.pool.ntp.org
  < server 2.ubuntu.pool.ntp.org
  < server 3.ubuntu.pool.ntp.org
  ---
  > pool 0.ubuntu.pool.ntp.org iburst
  > pool 1.ubuntu.pool.ntp.org iburst
  > pool 2.ubuntu.pool.ntp.org iburst
  > pool 3.ubuntu.pool.ntp.org iburst
  25c24
  < server ntp.ubuntu.com
  ---
  > pool ntp.ubuntu.com

  the word server as been replaced by "pool"

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



More information about the Ubuntu-sponsors mailing list