[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: update-rc.d: Removal of start and stop actions



On 19-05-13 17:47, Roger Leigh wrote:
> Hi,
> 
> With the release of wheezy, all systems should be using dependency-
> based booting.  This makes the provision of static sequence ordering
> pointless, but the update-rc.d interface still allows sequence
> numbers to be passed for its start, stop and defaults actions.  They
> just get ignored when using insserv, but they still need providing
> unless you are using defaults with no options (which is recommended).
> 
> I'm planning on merging these two patches:
> http://anonscm.debian.org/gitweb/?p=users/rleigh/sysvinit.git;a=commitdiff;h=3ed24526866d93e28ae3a501b131d5efe002f11a
> http://anonscm.debian.org/gitweb/?p=users/rleigh/sysvinit.git;a=commitdiff;h=48daa9d5c8e28f8669e5b85cd369605c8254232c
> 
> These do the following:
> - remove all support for non-dependency-based boot; in practice, this
>   code hasn't been used for a couple of stable releases, since we always
>   used the insserv code.
> - remove support for start and stop; the options still exist, but they
>   just invoke the "defaults" action.  This was already the case with
>   insserv, but it's now explicit.
> - the update-rc.d(8) manpage is updated to remove all the legacy
>   documentation and examples.  This should make it clear what's
>   currently supported, and it greatly simplifies the interface.
> 
> None of this should affect anyone since in practice there will be no
> noticable difference other than the addition of a warning if the start
> or stop actions are used.  I'm just bringing it up in case this will
> cause anyone problems--in which case shout now before it's changed!

How does this relate to file-rc?

-- 
This end should point toward the ground if you want to go to space.

If it starts pointing toward space you are having a bad problem and you
will not go to space today.

  -- http://xkcd.com/1133/


Reply to: