[Pkg-sysvinit-devel] Bug#687399: sysvinit.postinst fails under debootstrap --variant=fakechroot when /dev/initctl exists
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Wed Sep 12 21:44:39 UTC 2012
On 09/12/2012 05:30 PM, Roger Leigh wrote:
> We should probably wrap all of the restart logic (except the inittab
> stuff) in ischroot checks. Messing with the host's /dev is not
> worth risking. There was a reason why we did it this way though; it
> wasn't unintentional. I'll have to remember the reasoning, since I
> don't want to break something else by accident. Possibly vservers/lxc
> or some other chroot-like thing.
yep, i figured that was the case, but i don't remember the reasoning any
more than you do :) perhaps digging through some revision control logs?
> However, why is the host's /dev accessible when bootstrapping--it
> certainly shouldn't be bind mounted. Is this something which
> fakechroot is doing?
debootstrap's fakechroot variant uses a symlink to pseudo-bind-mount the
host's /dev/, iiuc.
hth,
--dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1030 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20120912/31bdac72/attachment.pgp>
More information about the Pkg-sysvinit-devel
mailing list