Bug#483959: portmap postinst script ignores policy-rc.d

2008-06-14 Thread Petter Reinholdtsen
The relevant code from /var/lib/dpkg/info/portmap.postinst in versions 6.0-5.1 and 6.0-6 look like this: if [ -x `which invoke-rc.d 2/dev/null` ]; then invoke-rc.d portmap start || exit $? else /etc/init.d/portmap start || exit $? fi The issue you are reporting should

Bug#483959: portmap postinst script ignores policy-rc.d

2008-06-14 Thread Harald Dunkel
Hi Petter, Petter Reinholdtsen wrote: The relevant code from /var/lib/dpkg/info/portmap.postinst in versions 6.0-5.1 and 6.0-6 look like this: if [ -x `which invoke-rc.d 2/dev/null` ]; then invoke-rc.d portmap start || exit $? else /etc/init.d/portmap start || exit $?

Bug#483959: portmap postinst script ignores policy-rc.d

2008-06-01 Thread Harald Dunkel
Package: portmap Version: 6.0-5.1 Severity: important If I update portmap in a chroot environment, then the portmap service is restarted, even though /usr/sbin/policy-rc.d was set to 101 . This keeps the chroot mount point busy, not to mention that portmap is running in a potentially