← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1576698] Re: ntpdate-debian not working

 

This bug was fixed in the package ntp - 1:4.2.8p4+dfsg-3ubuntu5.2

---------------
ntp (1:4.2.8p4+dfsg-3ubuntu5.2) xenial; urgency=medium

  * Fix ntpdate-debian to be able to parse new config of ntp (LP:
#1576698)

 -- Christian Ehrhardt <christian.ehrhardt@xxxxxxxxxxxxx>  Tue, 20 Sep
2016 14:24:29 +0200

** Changed in: ntp (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1576698

Title:
  ntpdate-debian not working

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