Package: xen-tools
Severity: wishlist

Hello,

I think that it is better to use /usr/sbin/policy-rc.d to prevent
start services in chrooted environment.

Quote from /usr/share/doc/sysv-rc/README.policy-rc.d.gz:
#v+
POLICY-RC.D   Policy layer (/usr/sbin/policy-rc.d) interface:
=============================================================

Most Debian systems will not have this script as the need for a policy
layer is not very common. Most people using chroot jails just need an
one-line script which returns an exit status of 101 as the jailed
/usr/sbin/policy-rc.d script.
#v-

That would be more Debian-way (but IANADD[1]) to create this "exit 101"
script at first, before other hooks execution. Last hook can remove it
to make chroot system normal again.

What do you think?

Regards,
Rafal Kupka
[1] IANADD: I am not an Debian developer.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to