[buildd-tools-devel] Bug#681884: Bug#681884: schroot: Does not always clean up after itself.

Roger Leigh rleigh at codelibre.net
Tue Jul 17 15:58:14 UTC 2012


On Tue, Jul 17, 2012 at 03:41:05PM +0200, Kurt Roeckx wrote:
> I've set up a schroot of type=directory and pointed directory to
> the right place, but when I then call schroot to get into that,
> and then left it, it reguarly fails with:
> E: 10mount: umount: /var/lib/schroot/mount/i386-sid-8850e601-cd43-4a82-b87c-08a8120619bd/home: device is busy.
> E: 10mount:         (In some cases useful info about processes that use
> E: 10mount:          the device is found by lsof(8) or fuser(1))
> E: i386-sid-8850e601-cd43-4a82-b87c-08a8120619bd: Chroot setup failed: stage=setup-stop

What type of filesystem is /home?

Is there anything running on your system (outside the chroot) which
has files/directories open inside the chroot?  Is there anything
inside which is running despite the 15killproc script having been
run?

Does lsof report any processes with open file descriptors in the
chroot?  (Could also be the process cwd.)


Thanks,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800



More information about the Buildd-tools-devel mailing list