[Pkg-sysvinit-devel] Bug#650141: initscripts postinst fails with deboostrap --variant=fakechroot

Petter Reinholdtsen pere at hungry.com
Sat Nov 26 22:10:59 UTC 2011


reassign 650141 debianutils
thanks

[Daniel Kahn Gillmor]
> it appears that this is because initscripts.postinst uses ischroot
> to determine whether to try to bind-mount /dev/shm to /run/shm.  But
> ischroot returns 2 when run under fakechroot by a non-privileged
> user, so initscripts thinks it is not running under a chroot.

To me the proper fix seem to be to change ischroot, to ensure all
users of ischroot handle fakechroot properly.  After all, consistent
behavior were one of the advantages of starting to use ischroot.

> Alternately, if you think ischroot should behave differently under
> fakechroot, feel free to reassign this to debianutils.

Done.
-- 
Happy hacking
Petter Reinholdtsen





More information about the Pkg-sysvinit-devel mailing list