[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Idea: about package installation under chroot.



On Thu, 24 Mar 2005, Jorge L. deLyra wrote:
> > Write a policy-rc.d script for the chroot that denies starting either
> > the particular demon or all demons in general.
> >
> > zless /usr/share/doc/sysv-rc/README.policy-rc.d.gz
> 
> I was not aware of this structure, but it seems to relate to
> controlling the start of damons during boot or changes in
> runlevel. I do not see how this will prevent a package that has a
> 
> /etc/init.d/<daemon> start
> 
> in its postinstall script to start that daemon.

It won't, but thankfully there are fewer and fewer packages that don't
follow the recommendation of Policy 9.3.3.2.[1]

If you find such a package, please file a wishlist bug against it
requesting that the follow the recommendation of Policy not to call
the init scripts directly.


Don Armstrong

1: http://www.debian.org/doc/debian-policy/ch-opersys.html#s9.3.3
-- 
A people living under the perpetual menace of war and invasion is very
easy to govern. It demands no social reforms. It does not haggle over
expenditures on armaments and military equipment. It pays without
discussion, it ruins itself, and that is an excellent thing for the
syndicates of financiers and manufacturers for whom patriotic terrors
are an abundant source of gain.
 -- Anatole France

http://www.donarmstrong.com              http://rzlab.ucr.edu

Attachment: signature.asc
Description: Digital signature


Reply to: