[Pkg-sysvinit-devel] Bug#674178: /dev/shm is not set up right in chroot

Roger Leigh rleigh at codelibre.net
Wed May 23 16:10:07 UTC 2012


On Wed, May 23, 2012 at 10:47:26AM -0500, Serge Hallyn wrote:
> Package: sysvinit
> Version: 2.88dsf-24
> 
> If you do:
> 
>     debootstrap sid sid
>     chroot sid dpkg -i /var/cache/apt/acrchives/initscripts*.deb
> 
> you will be left with a mount on sid/run/shm
> 
> The related Ubuntu bug is https://bugs.launchpad.net/launchpad/+bug/974584 .
> 
> A debdiff proposed (but not yet pushed) to fix this in Ubuntu follows.

Could you possibly try with -25 (in experimental).  I fixed a bug with
/run/shm handling last night, though it was related to size
determination rather than chroot handling it's not impossible that it's
related.

WRT the patch, if ischroot is behaving incorrectly, then the ischroot
utility needs updating.  Working around this in an individual package
is incorrect, unless there's a non-obvious reason I missed in this
specific case.

Given that /run/shm should be handled identically to /run, and
/run/lock, I think it's more important to work out why it's
behaving differently than the other two.  I assume that the other
two are not being mounted?


Thanks,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800





More information about the Pkg-sysvinit-devel mailing list