[Pkg-sysvinit-devel] Bug#680293: update-rc.d manual: `update-rc.d remove name` works when `/etc/init.d/name` exists
Paul Menzel
pm.debian at googlemail.com
Wed Jul 4 20:17:10 UTC 2012
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20120704/af8c8b75/attachment.pgp>
More information about the Pkg-sysvinit-devel
mailing list