ntpdate should not run in runlevel S

Bug #22803 reported by Fabio Marzocca
4
Affects Status Importance Assigned to Milestone
ntp (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Only things that need to be run once to get the system into a consistent state
(aka system scripts) are to be run in runlevel S. As many users need to remove
ntpdate at startup, they dangerously play with rcS.d directory. Moving ntpdate
into user's runlevel (2-3-4-5) will be more proper and will give some more time
to wireless devices to be up. Furthermore, it could also fix bug #19034.

Revision history for this message
Matt Zimmerman (mdz) wrote :

Correct system time is important for a properly functioning system, including
the services which start in runlevel 2.

Revision history for this message
Fabio Marzocca (thesaltydog) wrote :

(In reply to comment #1)
> Correct system time is important for a properly functioning system, including
> the services which start in runlevel 2.

I didn't say they are not important.
I said that runlevel S is not the right place for ntpdate, and this is causing a
lot of people manually going with root permissions into rcS.d directory.
I thought it was also a matter of safety, considering that ntpdate is giving
problems to wireless that are a little bit slower to synchronize than the short
runlevel S boot time. So often computers are hanging on waiting for ntpdate, and
it is not fair, because it should be enough to move it into rc2.d with an high
sequence number.

Revision history for this message
Matt Zimmerman (mdz) wrote :

(In reply to comment #2)
> (In reply to comment #1)
> > Correct system time is important for a properly functioning system, including
> > the services which start in runlevel 2.
>
> I didn't say they are not important.

I am saying that it is important to have it run early, in runlevel S. It was
placed there intentionally. Having the time change in the middle of the startup
process is undesirable.

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.