Package: sysvinit
Version: 2.88dsf-28
Severity: normal

Dear Debian folks,


the manual of `update-rc.d` contains the following paragraph.

        $ man update-rc.d
        […]
        When invoked with the remove option, update-rc.d removes any
        links in the /etc/rcrunlevel.d directories to the
        script /etc/init.d/name. The script must have been deleted
        already.  If the script is still present then update-rc.d aborts
        with an error message.
        […]

It looks like `update-rc.d remove name` still works though when the
script in `/etc/init.d/name` is not removed beforehand.

        $ sudo update-rc.d pulseaudio remove
        update-rc.d: using dependency based boot sequencing
        $ ls -l /etc/init.d/pulseaudio
        -rwxr-xr-x 1 root root 2227  1. Okt 2011  /etc/init.d/pulseaudio
        $ ls -l /etc/rc*.d/*audio
        ls: Zugriff auf /etc/rc*.d/*audio nicht möglich: Datei oder Verzeichnis 
nicht gefunden
        $ sudo service pulseaudio stop
        PulseAudio configured for per-user sessions ... (warning).

Does the manual need updating?

I guess the bug has been present for a longer time, so please update the
version information accordingly.

Two more or less related notes.

1. The printing of `update-rc.d: using dependency based boot sequencing`
is unexpected.

2. To disable an init.d script, is it better to just remove the
executable flag of `/etc/init.d/name` with the latest changes in
2.88dsf-28?


Thanks,

Paul

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to