Merge lp:~jpds/serverguide/ntp-update into lp:~ubuntu-core-doc/serverguide/precise

Proposed by Jonathan Davies
Status: Rejected
Rejected by: Peter Matulis
Proposed branch: lp:~jpds/serverguide/ntp-update
Merge into: lp:~ubuntu-core-doc/serverguide/precise
Diff against target: 11 lines (+1/-1)
1 file modified
serverguide/C/network-config.xml (+1/-1)
To merge this branch: bzr merge lp:~jpds/serverguide/ntp-update
Reviewer Review Type Date Requested Status
Peter Matulis Disapprove
Doug Smythies Needs Information
Review via email: mp+97644@code.launchpad.net

Description of the change

Updated server used by ntpdate example to new default in Ubuntu.

To post a comment you must log in.
Revision history for this message
Doug Smythies (dsmythies) wrote :

Both of my 12.04 beta test machines, which are up to date as of earlier today, seems to be using europium.canonical.com ( 91.189.94.4 ) for this. Is that just because it is still in beta?

Revision history for this message
Doug Smythies (dsmythies) wrote :

I think I was supposed to set "needs information" before. Setting it now.

review: Needs Information
Revision history for this message
Peter Matulis (petermatulis) wrote :

Jonathan, the default install does not have a /etc/ntp.conf (you told me out-of-band that this is where you found '0.ubuntu.pool.ntp.org'). The default install puts the NTP server in /etc/default/ntpdate:

$ sudo grep -ri ntp /etc | grep -i ubuntu
/etc/default/ntpdate:NTPSERVERS="ntp.ubuntu.com"

and is the same as we currently have in the guide.

The file '/etc/ntp.conf' comes from the package 'ntp' which is not even installed by default.

Doug, yes, the above hostname resolves to '91.189.94.4'.

review: Disapprove
Revision history for this message
Jonathan Davies (jpds) wrote :

See: ntp-4.2.6.p3+dfsg/debian/ntp.conf in the Debian source package.

Revision history for this message
Doug Smythies (dsmythies) wrote :

O.K. My understanding is (not saying it is right, just saying it is my current understanding):

. Without NTP type changes to a default install, the once run of ntpdate during boot will use ntp.ubuntu.com (91.189.94.4, which reverse lookup gives europium.canonical.com)

. If ntpd is installed, then it is unclear as to what NTP server will be used during boot. My system seems to have used 184.105.192.247 ( 247.conarusp.net ).

. If ntpd is removed via "sudo apt-get remove ntp" then the /etc/ntp.conf file stays. It remains unclear as to what NTP server will be used during boot. My system used 216.194.70.2 ( tb.mircx.com ).

. If all ntp files are purged via "sudo apt-get purge ntp" then the /etc/ntp.conf file is gone and during boot the original ntp.ubuntu.com address is used.

Yes, I see the entries in /etc/nto.conf as described in the subsequent sections of this chapter,
i.e. 0.ubuntu.pool.ntp.org. It is not clear to me why they don't seem to be used, but I do have ipv6 disabled on this computer and I do see ipv6 complaints in /var/log/syslog.

I agree that the line of this merge proposal should be left as it was.

Unmerged revisions

45. By Jonathan Davies

Updated server used by ntpdate example to new default in Ubuntu.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'serverguide/C/network-config.xml'
2--- serverguide/C/network-config.xml 2012-03-09 20:47:35 +0000
3+++ serverguide/C/network-config.xml 2012-03-15 13:35:22 +0000
4@@ -1049,7 +1049,7 @@
5 Ubuntu comes with ntpdate as standard, and will run it once at boot time to set up your time according to Ubuntu's NTP server.
6 </para>
7 <programlisting>
8-ntpdate -s ntp.ubuntu.com
9+ntpdate -s 0.ubuntu.pool.ntp.org
10 </programlisting>
11 </sect2>
12

Subscribers

People subscribed via source and target branches