Package: isdnutils-base
Version: 1:3.8.2005-12-06-4
Severity: important
>From the policy manual:
Maintainers should use the abstraction layer provided by the
update-rc.d and invoke-rc.d programs to deal with initscripts in
their packages' scripts such as postinst, prerm and postrm.
http://www.debian.org/doc/debian-policy/ch-opersys.html#s9.3.3
The script /var/lib/dpkg/info/isdnutils-base.prerm contains
if [ -x /etc/init.d/isdnutils -a "$1" = remove ]; then
/etc/init.d/isdnutils stop
fi
It should instead read
if [ -x /etc/init.d/isdnutils -a "$1" = remove ]; then
invoke-rc.d isdnutils stop
fi
This change allows sysadmins to use the policy-rc.d mechanism to
change postrm behaviour. (Without this change, removing
isdnutils-base from a chroot environment removes the default route
from my host OS's routing table!)
A quick look at the 3.9.20060704-2.1 diff.gz indicates this bug still
exists in the version currently in Sid.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15-1-686-smp
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]