[buildd-tools-devel] Bug#749897: Schroot session cleanup script

Zdenek Crha zdenek.crha at gmail.com
Wed May 20 08:31:22 UTC 2015


I've been bitten by the bug too and put together quick session cleanup
script that iterates over mount namespaces, unmounting everything that
matches 'schroot/mount', then ending all schroot sessions.

No active session should run and nsenter binary must be present in system
when script is invoked.

Regards,
Zdenek
-- 
Mind over matter - I don't mind, so it don't matter.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20150520/bd35b7c9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cleanup_schroot_sessions.sh
Type: application/x-sh
Size: 1151 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20150520/bd35b7c9/attachment.sh>


More information about the Buildd-tools-devel mailing list