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

Re: How to detect if inside a buildd chroot



A Mennucc <mennucc1@debian.org> writes:

> It is all explained in
> /usr/share/doc/sysv-rc/README.policy-rc.d
>
> It seems that all you need to do is to create inside your chroot a
> simple shell script  /usr/sbin/policy-rc.d that just does an 'exit 101'

I would very much prefer that all packages worked correctly inside a
chroot without any admin intervention.  If it's not appropriate to run
inside a chroot, then the init script should IMHO detect that and not
start/restart/stop the service.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: pgpMS1SeSPaxl.pgp
Description: PGP signature


Reply to: