[Buildd-tools-devel] Bug#489116: Bug#489116: Bug#489116: Bug#489116: schroot: possible race condition during chroot setup?

Roger Leigh rleigh at whinlatter.ukfsn.org
Fri Jul 11 16:09:51 UTC 2008


On Fri, Jul 11, 2008 at 05:40:44PM +0200, Lucas Nussbaum wrote:
> On 11/07/08 at 15:18 +0100, Roger Leigh wrote:
> 
> > We can certainly implement this in schroot-mount using itimers, and do
> > some sort of loop in do_mount in the 10mount script.
> 
> I'll try to come up with a patch and test it.

There's code using get/setitimer with a signal handler in
sbuild/sbuild-lock.cc and sbuild/sbuild-auth-conv.tty.cc.  You could
probably just copy that for schroot-mount.


-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.





More information about the Buildd-tools-devel mailing list