[Bug 567701] [NEW] Date not updated by ntp when network interfaces started

hlamer hlamer at tut.by
Wed Apr 21 05:27:55 BST 2010


Public bug reported:

Binary package hint: ntp

/etc/network/if-up.d/ntpdate contains script, which should update time, when network interface started.
But, time doesn't updated for me "from the box", because there are no valid ntp server in the default settings:

a at a-laptop:/etc$ cat default/ntpdate.orig 
# The settings in this file are used by the program ntpdate-debian, but not
# by the upstream program ntpdate.

# Set to "yes" to take the server list from /etc/ntp.conf, from package ntp,
# so you only have to keep it in one place.
NTPDATE_USE_NTP_CONF=yes

# List of NTP servers to use  (Separate multiple servers with spaces.)
# Not used if NTPDATE_USE_NTP_CONF is yes.
NTPSERVERS="ntp.ubuntu.com"

# Additional options to pass to ntpdate
NTPOPTIONS=""
a at a-laptop:/etc$ cat ntp.conf
a at a-laptop:/etc$ 

/etc/default/ntpdate says to use /etc/ntp.conf, but, /etc/ntp.conf is empty
I don't know what is original idea of authors, but I fixed /etc/default/ntpdate for use ubuntu NTP server.

ProblemType: Bug
Architecture: i386
Date: Wed Apr 21 07:15:51 2010
DistroRelease: Ubuntu 9.10
Package: ntpdate 1:4.2.4p6+dfsg-1ubuntu5.1
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=ru_RU.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-20.58-generic
SourcePackage: ntp
Uname: Linux 2.6.31-20-generic i686

** Affects: ntp (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
Date not updated by ntp when network interfaces started
https://bugs.launchpad.net/bugs/567701
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ntp in ubuntu.



More information about the Ubuntu-server-bugs mailing list