[Pkg-sysvinit-devel] Bug#608573: sysv-rc: Please clarify instructions in /etc/rc2.d/README

John Lindgren john.lindgren at tds.net
Sat Jan 1 16:34:38 UTC 2011


Package: sysv-rc
Version: 2.88dsf-13
Severity: wishlist


The README file in /etc/rc2.d is a bit confusing to a newcomer:

    To disable a service in this runlevel, rename its script in this
    directory so that the new name begins with a 'K' and a two-digit
    number, and run 'update-rc.d script defaults' to reorder the scripts
    according to dependencies.

One might assume (as I did) that the command "update-rc.d script
defaults" is meant to be entered verbatim, which gives the following error:

    update-rc.d: error: unable to read /etc/init.d/script

Once you know that "script" is meant to be replaced by the name of an
individual script, then the error of course makes sense, but until then,
it's a bit confusing.  (Another user had the same confusion:
http://aptosid.de/index.php?name=PNphpBB2&file=printview&t=370&start=0).

For starters, it would be clearer to put the word "script" in angle
brackets: "update-rc.d <script> defaults".  Giving a concrete example
would make it still clearer.

-- John Lindgren

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sysv-rc depends on:
ii  debconf [debconf-2.0]         1.5.36     Debian configuration management sy
ii  insserv                       1.14.0-2   Tool to organize boot sequence usi
ii  sysvinit-utils                2.88dsf-13 System-V-like utilities

Versions of packages sysv-rc recommends:
ii  lsb-base                      3.2-23.1   Linux Standard Base 3.2 init scrip

Versions of packages sysv-rc suggests:
pn  bum                           <none>     (no description available)
pn  sysv-rc-conf                  <none>     (no description available)

-- debconf information:
  sysv-rc/unable-to-convert:
  sysv-rc/convert-legacy: true

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20110101/fba342b0/attachment.htm>


More information about the Pkg-sysvinit-devel mailing list