I'm not sure for -s

With an empty /etc/ntp.conf ntpdate is not run at all because the set -e
in ntpdate-date script.

sh -x  /usr/sbin/ntpdate-debian

 set -e
+ [ -r /etc/default/ntpdate ]
+ . /etc/default/ntpdate
+ NTPDATE_USE_NTP_CONF=yes
+ NTPSERVERS=ntp.ubuntu.com
+ NTPOPTIONS=
+ [ yes = yes ]
+ [ -r /etc/ntp.conf.dhcp ]
+ [ -r /etc/ntp.conf ]
+ file=/etc/ntp.conf
+ [ -n /etc/ntp.conf ]
+ sed -rne s/^(server|peer) ([-_.[:alnum:]]+).*$/\2/p /etc/ntp.conf
+ grep -v ^127\.127\.
+ NTPSERVERS=

Now there's no /etc/ntp.conf in ntpdate package... And the culprit is :
system-tools-backends, via gnome update time?

But maybe ntpdate-date should test for -r and -s file?


** Also affects: system-tools-backends (Ubuntu)
   Importance: Undecided
       Status: Unconfirmed

-- 
ntpdate 1:4.2.2.p4+dfsg-1ubuntu2 has a flawed configuration file.
https://launchpad.net/bugs/83604

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to