The real problem may be in script /usr/sbin/ntpdate-debian:

this line
NTPSERVERS=$(sed -rne 's/^(servers?|peer) ([-_.:[:alnum:]]+).*$/\2/p'
"$file" ...

could not correctly parsed file below:

/etc/ntp.conf:
restrict -6 default ignore
restrict -4 default ignore

restrict -6 ::1 nomodify notrap nopeer kod
restrict -4 127.0.0.1 mask 255.255.255.255 nomodify notrap nopeer kod

server -6 ntp.ipv6.my-domain.tld prefer minpoll 7 maxpoll 14
restrict -6 ntp.ipv6.my-domain.tld nomodify notrap nopeer kod

server -4 ntp.my-domain.tld minpoll 7 maxpoll 14
restrict -4 ntp.my-domain.tld mask 255.255.255.255 nomodify notrap
nopeer kod

driftfile /var/lib/ntp/ntp.drift
logfile /var/log/ntp.log
statsdir /var/log/ntpstats/
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in ubuntu.
https://bugs.launchpad.net/bugs/722133

Title:
  ntpdate script doesn't load configuration file

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to