[issue659] grml-chroot does not properly handle multiple chroots

Marc 'Zugschlus' Haber bts at bts.grml.org
Sun Apr 5 21:49:46 CEST 2009


New submission from Marc 'Zugschlus' Haber <mh+bts-grml at zugschlus.de>:

grml-chroot does not properly handle the situation when the user decides to 
chroot into the same chroot multiple times (for example, in different windows). 
When the first chroot terminates, the unconditional umount leaves the other 
chroots without mounted /proc, /dev etc.

I would suggest touching a file inside the chroot prior to the chroot, removing 
that file after the chroot command has terminated, and only umounting the 
filesystems if no other file is in there.

Greetings
Marc

----------
messages: 2127
nosy: zugschlus
priority: wish
status: unread
title: grml-chroot does not properly handle multiple chroots

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue659>
_____________________________________


More information about the Bugs-changes mailing list