Bug#704744: pbuilder: umounts /{dev, run}/shm of the *host* system

Stéphane Glondu glondu at debian.org
Mon Apr 8 08:30:24 UTC 2013


tags 704744 + patch
thanks

Le 08/04/2013 01:32, Thorsten Glaser a écrit :
> 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.

Why not just do nothing if /dev/shm is a symlink?

Are there cases where umount_on_exit is called on a symlink that should
be followed? If not, I would just kill the problem directly there, as in
the attached patch (untested).


Cheers,

-- 
Stéphane

-------------- next part --------------
A non-text attachment was scrubbed...
Name: debootstrap.patch
Type: text/x-patch
Size: 1012 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20130408/d27ea01e/attachment.bin>


More information about the Pbuilder-maint mailing list