[Pkg-sysvinit-devel] Bug#491527: sysv-rc: update-rc.d with defaults performs wrong actions

Jonathan Steinert debian at hachi.kuiki.net
Sun Jul 20 07:59:46 UTC 2008


Subject: sysv-rc: update-rc.d with defaults performs wrong actions
Package: sysv-rc
Version: 2.86.ds1-59
Severity: critical
Justification: breaks unrelated software

When calling:

# update-rc.d -f foo defaults 40 16
 Adding system startup for /etc/init.d/mythtv-backend ...
   /etc/rc0.d/K16foo -> ../init.d/foo
   /etc/rc1.d/K16foo -> ../init.d/foo
   /etc/rc6.d/K16foo -> ../init.d/foo
   /etc/rc40.d/S40foo -> ../init.d/foo
update-rc.d: symlink: No such file or directory

rc40.d is the wrong directory (And thankfully doesn't exist) but this means that packages using the 'defaults' call to set up their rc.d symlinks will be broken on install.

This is fixed in 1-60, but not noted in the changelog.

I have marked this bug critical because and 1-59 is frozen in lenny currently, please get 1-60 or a ported fix into lenny ASAP.

Thanks for your time :)

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (700, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-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/bash

sysv-rc depends on no packages.

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

-- no debconf information





More information about the Pkg-sysvinit-devel mailing list