> > inside their prerm maintainer scripts. If stopping $PACKAGE through > invoke-rc.d/init-script fails, removing the package fails as well. > > Using: > > invoke-rc.d $PACKAGE stop || true > /etc/init.d/$PACKAGE stop || true >
We are using chroot environments (e.g. with sid) where no daemon is running and invoke-rc.d will only do an "exit 0" in those chroots. Using the method above, wouldn't there be any chance that a bad init script could kill daemons started outside the chroot? Thanks, Bernd -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]