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

Re: Idea: about package installation under chroot.



Hello!

On Thu, Mar 24, 2005 at 02:54:40PM -0300, Jorge L. deLyra wrote:
> Here is the story: Debian packages including daemons may be a problem for
> people installing them via chroot, due to the fact that the packages will
> typically try to stop and restart the daemons. In fact, this can interact
> destructively with the system of the server, accidentally killing this or
> that process. It may also cause the Debian package tools to crash.
> [...]
> Is there some other, better solution to this problem?

echo -e '#!/bin/sh\n\nexit 101' > /chroot/usr/sbin/policy-rc.d \
&& chmod a+x /chroot/usr/sbin/policy-rc.d

as mentioned by Steve Langasek in
<http://lists.debian.org/debian-devel/2005/01/msg01316.html>.

HTH,
Flo

Attachment: signature.asc
Description: Digital signature


Reply to: