[Pkg-sysvinit-devel] Bug#573550: legacy mode not working as advertised
martin f krafft
madduck at debian.org
Fri Mar 12 09:40:53 UTC 2010
Package: sysv-rc
Version: 2.87dsf-8.1
Severity: normal
File: /usr/sbin/update-rc.d
[offline filing, please excuse duplicates]
# update-rc.d -f puppetmaster remove && update-rc.d puppetmaster stop 00 1 2 3 4 5 6 . && ls /etc/rc?.d/*puppetmaster
update-rc.d: using dependency based boot sequencing
update-rc.d: using dependency based boot sequencing
update-rc.d: warning: puppetmaster start runlevel arguments (none) do not match LSB Default-Start values (2 3 4 5)
update-rc.d: warning: puppetmaster stop runlevel arguments (1 2 3 4 5 6) do not match LSB Default-Stop values (0 1 6)
/etc/rc0.d/K01puppetmaster /etc/rc3.d/S26puppetmaster /etc/rc6.d/K01puppetmaster
/etc/rc1.d/K01puppetmaster /etc/rc4.d/S26puppetmaster
/etc/rc2.d/S26puppetmaster /etc/rc5.d/S26puppetmaster
Yes, the manpage says that start/stop/defaults only work for legacy
mode, but the fact that update-rc.d still succeeds (exit code 0)
even though it didn't do what the admin requested, is misleading.
I suggest that on non-legacy systems, the commands exit with an
error. It would also be nice to have e.g. a -f flag to force the
behaviour nonetheless. The enable/disable commands work as well, so
fundamentally there is no reason why the admin shouldn't be able to
modify the links with update-rc.d.
-- System Information:
Debian Release: squeeze/sid
Architecture: i386 (i686)
Kernel: Linux 2.6.33-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.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.28 Debian configuration management sy
ii insserv 1.12.0-14 Tool to organize boot sequence usi
ii sysvinit-utils 2.87dsf-8.1 System-V-like utilities
Versions of packages sysv-rc recommends:
ii lsb-base 3.2-23 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 excluded
--
.''`. martin f. krafft <madduck at d.o> Related projects:
: :' : proud Debian developer http://debiansystem.info
`. `'` http://people.debian.org/~madduck http://vcs-pkg.org
`- Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20100312/bba1215f/attachment.pgp>
More information about the Pkg-sysvinit-devel
mailing list