On Tue, Jan 25, 2005 at 09:32:02AM +0100, Marc Haber wrote: > So policy-rc.d needs to be in /usr/local, or we have a FHS violation. > Additionally, the requirement of going through the alternatives system > for policy-rc.d selection is somewhat mis-placed, because it suggests > to me that policy-rc.d is meant to come in via package as well. > > Can somebody please enlighten me?
At least one package provides a policy-rc.d program $ dpkg -L runit-run |fgrep policy-rc.d /usr/sbin/runit-policy-rc.d /usr/share/man/man8/runit-policy-rc.d.8.gz /usr/share/doc/runit-run/INTERFACE.policy-rc.d $ fgrep -A6 'add_alternative()' /var/lib/dpkg/info/runit-run.postinst add_alternative() { update-alternatives --install \ /usr/sbin/policy-rc.d policy-rc.d /usr/sbin/runit-policy-rc.d 10 \ --slave \ /usr/share/man/man8/policy-rc.d.8.gz policy-rc.d.8.gz \ /usr/share/man/man8/runit-policy-rc.d.8.gz } It's not a full-featured implementation though $ /usr/sbin/policy-rc.d --list foo runit's init script policy is to not run any init scripts at all. $ Regards, Gerrit. -- Open projects at http://smarden.org/pape/. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]