ntp package should not install a drift file

Bug #484698 reported by JanCeuleers
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
NTP
Invalid
Undecided
Unassigned
Ubuntu Server papercuts
Invalid
Medium
Clint Byrum
ntp (Ubuntu)
Invalid
Wishlist
Unassigned

Bug Description

Binary package hint: ntp

The drift file (in Ubuntu its default location is /var/lib/ntp/ntp.drift) contains ntpd's estimate of the system's drift relative to UTC, expressed in ppm. This file is generated by ntpd, and its purpose is to speed up convergence following restart.

Ubuntu's ntp package installs a drift file containing 0.000, i.e. a zero drift. The effect is that when ntpd is first started following installation of the ntp package, it will assume that zero ppm is a good estimate of the drift of the system clock.

This is not correct. If no reliable estimate of the drift is known (as is the case when ntp is first installed), the drift file should simply be absent, so that ntpd knows that characterisation of the system's drift has not yet happened. The current approach causes ntpd's startup behaviour to be significantly worse than it needs to be.

Please therefore simply refrain from installing a drift file. If one already exists I recommend that the ntp installer should leave it alone, except perhaps for making sure that it has the correct permissions and ownership.

Chuck Short (zulcss)
Changed in ntp (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Chuck Short (zulcss)
Changed in ntp (Ubuntu):
importance: Medium → Wishlist
status: Confirmed → Triaged
Revision history for this message
C de-Avillez (hggdh2) wrote :

argh, wrong bug

Changed in ntp:
importance: Unknown → Undecided
status: Unknown → New
Revision history for this message
JanCeuleers (jan-ceuleers) wrote : Re: [Bug 484698] Re: ntp package should not install a drift file

Carlos,

Please can you return the status to Triaged? I'm unable to do so myself.

Thanks, Jan

C de-Avillez wrote:
> argh, wrong bug
>
> ** Bug watch added: Debian Bug tracker #514318
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=514318
>
> ** Also affects: ntp via
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=514318
> Importance: Unknown
> Status: Unknown
>
> ** Changed in: ntp
> Importance: Unknown => Undecided
>
> ** Changed in: ntp
> Status: Unknown => New
>
> ** Changed in: ntp
> Remote watch: Debian Bug tracker #514318 => None
>
> ** Bug watch removed: Debian Bug tracker #514318
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=514318
>

Revision history for this message
C de-Avillez (hggdh2) wrote :

Hi Jan,

It *is* triaged (NTP/Ubuntu). The NTP-only task is the wrong upstream I added in. I am marking it invalid, so not to confuse things. I am sorry for this mistake.

Changed in ntp:
status: New → Invalid
Thierry Carrez (ttx)
Changed in server-papercuts:
importance: Undecided → Medium
milestone: none → maverick-alpha-3
status: New → Triaged
Changed in server-papercuts:
assignee: nobody → Clint Byrum (clint-fewbar)
status: Triaged → In Progress
Changed in ntp (Ubuntu):
assignee: nobody → Clint Byrum (clint-fewbar)
status: Triaged → In Progress
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

There is nothing in the packaging that installs a drift file, and installing the package on lucid and maverick does not produce a drift file.

Changing status to Invalid.

Changed in ntp (Ubuntu):
status: In Progress → Invalid
assignee: Clint Byrum (clint-fewbar) → nobody
Changed in server-papercuts:
status: In Progress → Invalid
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.