reassign 704744 debootstrap
found 704744 debootstrap/1.0.48
retitle 704744 debootstrap: umounts /{dev,run}/shm of the *host* system
thanks

Dixi quod…

>Okay, I just run “sudo env DIST=sid cowbuilder --create” and
>it happened again. I micro-tested this and can point out where:

Nevermind, it’s debootstrap not pbuilder.

I changed to include “set -x”, run “mount | fgrep shm” using
the DEBUG trap, and commented out the call to debootstrap as
I had it already… and it kept my shm.

Turns out this looks like being the culprit:

tglase@tglase:~ $ fgrep -ri shm /usr/share/debootstrap/*
/usr/share/debootstrap/functions:               umount_on_exit /dev/shm

The problem here is:

lrwxrwxrwx 1 root root 8 Apr  8 01:03 /var/cache/pbuilder/base.cow-sid/dev/shm 
-> /run/shm/

The symlink is then, of course, followed.

Reassigning this RC bug to debootstrap thusly.
Sorry folks, but this does break unrelated software.

My idea to fix this is:

Move the “umount_on_exit /dev/shm” line away from
/usr/share/debootstrap/functions and into the files under
/usr/share/debootstrap/scripts/ and then change it to use
/run/shm from wheezy onwards (this also involves breaking
up the symlink from etch, etch-m68k, lenny, oldstable,
squeeze and stable to sid, and then, for the wheezy release,
reintroducing the symlink from stable to sid).

Unless you’ve got a better one, that is.

bye,
//mirabilos
-- 
<Natureshadow> Oh, ich hab mim Bauch Mittelklick gemacht, als ich nach dem
    Kaffee gegriffen habe…
<mirabilos> Cool, ich hab ne neue eMail-Signatur
<Natureshadow> Sag doch sowas nich, wenn ich den Kaffee in der Hand habe!
    Gib mir nen Lappen! Schnell! Das kommt aber nicht mit in die Signatur!


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to