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

Re: Idea: about package installation under chroot.

Le jeudi 24 mars 2005 à 14:54 -0300, Jorge L. deLyra a écrit :
> Now, all this can be avoided very simply by a line in the init.d/ script
> for the daemon, checking that /proc is mounted. Since it will be mounted
> on normal systems but typically not when using a chroot shell, it serves
> as a flag to enable the daemon restarting procedure.
> I am using successfully the following line to fix the situation in the
> case of the troublesome rwhod package, near the top of the file:
> test -e /proc/mounts || exit 0

I definitely like that idea. I don't know whether we have ports
without /proc, but such a check for a chroot would be really nice
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette@ens-lyon.org
`. `'                        joss@debian.org
  `-  Debian GNU/Linux -- The power of freedom

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=

Reply to: