Bug#354513: [Buildd-tools-devel] Bug#354780: schroot: dangling schroot sessions if killed with -HUP

Steve Langasek vorlon at debian.org
Thu Mar 2 08:20:47 UTC 2006


On Wed, Mar 01, 2006 at 12:26:48PM +0000, Roger Leigh wrote:
> Steve Langasek <vorlon at debian.org> writes:

> > If an schroot process is killed with -HUP (caused, e.g, by a shell being
> > terminated by an ssh timeout or my laptop crashing due to the evils of
> > NDISWRAPPER), the login session is not cleaned up.  This potentially leaves
> > many bind mounts, lv snapshots, etc. that must be cleaned by hand.
> >
> > Please trap SIGHUP in schroot and handle it as you handle other session
> > terminations.

> Please could you try
> http://people.debian.org/~rleigh/schroot-0.2.6.tar.bz2 and see if this
> handles it acceptably?

Yes, this does the trick, thanks.

There is a problem in the handling of the command-prefix from bug #354513,
though; if requesting a login shell from schroot, it tries to run "linux32"
alone without any command after it, which doesn't work.  Could you make sure
it actually calls the login shell along with this command? :)

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20060302/e7d1b4a5/attachment-0003.pgp


More information about the Buildd-tools-devel mailing list