[Pkg-sysvinit-devel] update-rc.d: Removal of start and stop actions

Roger Leigh rleigh at codelibre.net
Sun May 19 15:47:02 UTC 2013


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!

Following this change, I'd like to have debhelper and lintian warn
if the obsolete options are used, then we can start to migrate the
remaining uses of the old options to just use "defaults" in their
maintainer scripts.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800



More information about the Pkg-sysvinit-devel mailing list