empty ntp.conf when ntp not instaleld.

Bug #157536 reported by Carl Karsten
4
Affects Status Importance Assigned to Milestone
ntp (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: ntp

Fresh gutsy install, clicked on clock, clicked on "set", clicked on "sync..." got "need to install ntpd", aggreed, got dialog:
"Replace configuration file /etc/ntp.conf?" details below.

before hitting "yes" I checked:

carl@dell29:~$ ls -l /etc/ntp.conf
-rw-r--r-- 1 root root 0 2007-10-26 14:23 /etc/ntp.conf

--- /etc/ntp.conf 2007-10-26 14:23:56.000000000 -0500
+++ /etc/ntp.conf.dpkg-new 2007-10-04 15:58:58.000000000 -0500
@@ -0,0 +1,38 @@
+# /etc/ntp.conf, configuration for ntpd
+
+driftfile /var/lib/ntp/ntp.drift
+
+# Enable this if you want statistics to be logged.
+#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 do need to talk to an NTP server or two (or three).
+server ntp.ubuntu.com
+
+# By default, exchange time with everybody, but don't allow configuration.
+# See /usr/share/doc/ntp-doc/html/accopt.html for details.
+restrict -4 default kod notrap nomodify nopeer noquery
+restrict -6 default kod notrap nomodify nopeer noquery
+
+# Local users may interrogate the ntp server more closely.
+restrict 127.0.0.1
+restrict ::1
+
+# Clients from this (example!) subnet have unlimited access,
+# but only if cryptographically authenticated
+#restrict 192.168.123.0 mask 255.255.255.0 notrust
+
+# If you want to provide time to your local subnet, change the next line.
+# (Again, the address is an example only.)
+#broadcast 192.168.123.255
+
+# If you want to listen to time broadcasts on your local subnet,
+# de-comment the next lines. Please do this only if you trust everybody
+# on the network!
+#disable auth
+#broadcastclient

Revision history for this message
Hew (hew) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with the latest Ubuntu release, Hardy Heron? Thanks in advance.

Changed in ntp:
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Carl Karsten (carlfk) wrote :

just checked on a fresh hardy install, no empty ntp.conf, and following the steps works as expected now.

Changed in ntp:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.