Steve Langasek <[EMAIL PROTECTED]> 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?

I'm afraid there's no patch, because alioth CVS is down.  The main
changes are
* schroot/schroot.cc: Save and restore termios.
* schroot/sbuild-session.cc: Trap and handle SIGHUP while waiting on
  child processes.
There are some additional changes to handle broken session cleanup
more gracefully.

There are also a number of additional changes since the last release,
documented in ChangeLog and debian/changelog.


Regards,
Roger

-- 
Roger Leigh
                Printing on GNU/Linux?  http://gutenprint.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.

Attachment: pgpjjaxlvYoaZ.pgp
Description: PGP signature

Reply via email to