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

Re: Idea: about package installation under chroot.

> 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. I was not talking about
booting a system, but about using a chroot shell to install packages in
the filesystem structure of a remotely-booted machine.

In this situation one does not want to prevent the machine from starting
daemons when it boots, just to prevent package installations or upgrades
from stoping or starting daemons, when they are done in the disk server,
by means of a chroot shell.

        Jorge L. deLyra,  Associate Professor of Physics
            The University of Sao Paulo,  IFUSP-DFMA
       For more information: finger delyra@latt.if.usp.br

Reply to: