[Bug 1576698] Re: ntpdate-debian not working

ChristianEhrhardt 1576698 at bugs.launchpad.net
Fri Aug 26 13:30:34 UTC 2016


** Patch added: "Fix bug as Ubuntu delta since it was lost in Debian prior to the last merge"
   https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1576698/+attachment/4728323/+files/fix-1576698-ntpdate-parsing.debdiff

** Description changed:

+ [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"

-- 
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:
  Fix Released
Status in ntp package in Ubuntu:
  In Progress

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/ntp/+bug/1576698/+subscriptions



More information about the Ubuntu-sponsors mailing list