[buildd-tools-devel] Bug#557197: Bug#557197: Bug#557197: Bug#557197: schroot -b doesn't work for chroots with type=block-device

Evan Broder broder at MIT.EDU
Sun Dec 13 18:57:15 UTC 2009


I checked out the repository, ran ./bootstrap, then debuild -S, then
sbuild, then installed the resulting packages. I've rebooted since
installing the packages just to make sure there's no state sticking
around.

debuild at debuild:~$ dpkg-query -W schroot
schroot	1.3.2-1~debathena1
debuild at debuild:~$ schroot -c device-test
(device-test)debuild at debuild:~$ logout
debuild at debuild:~$ schroot -bc device-test
device-test-ccf0dd9a-580b-4f83-9c3d-2492fbda5b7b
debuild at debuild:~$ schroot -rc device-test-ccf0dd9a-580b-4f83-9c3d-2492fbda5b7b
E: device-test-ccf0dd9a-580b-4f83-9c3d-2492fbda5b7b: Chroot not found
debuild at debuild:~$ tree -x /var/lib/schroot
/var/lib/schroot
|-- mount
|   `-- device-test-ccf0dd9a-580b-4f83-9c3d-2492fbda5b7b
|-- session
|-- union
|   |-- overlay
|   |   `-- device-test-ccf0dd9a-580b-4f83-9c3d-2492fbda5b7b
|   `-- underlay
|       `-- device-test-ccf0dd9a-580b-4f83-9c3d-2492fbda5b7b
`-- unpack

9 directories, 0 files

Interestingly, I now can't clean up the mounts because they claim to
be in use - that didn't use to be the case:

debuild:~# umount
/var/lib/schroot/mount/device-test-ccf0dd9a-580b-4f83-9c3d-2492fbda5b7b
umount: /var/lib/schroot/mount/device-test-ccf0dd9a-580b-4f83-9c3d-2492fbda5b7b:
device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
debuild:~# lsof
/var/lib/schroot/mount/device-test-ccf0dd9a-580b-4f83-9c3d-2492fbda5b7b
debuild:~# fuser
/var/lib/schroot/mount/device-test-ccf0dd9a-580b-4f83-9c3d-2492fbda5b7b

- Evan

On Sun, Dec 13, 2009 at 1:46 PM, Roger Leigh <rleigh at codelibre.net> wrote:
> On Sun, Dec 13, 2009 at 12:24:21PM -0500, Evan Broder wrote:
>> I tried building schroot out of git, and it doesn't seem to be fixing
>> the bug for me - files in /var/lib/schroot/session still aren't
>> getting created
>
> The change was definitely committed, it's visible at
>
> http://git.debian.org/?p=buildd-tools/schroot.git;a=commitdiff;h=f6861681aef2728f12823911a4c17810d6f34445
>
> This is in git://git.debian.org/buildd-tools/schroot.git, master branch.
> Commit f6861681.
>
> I tested that a session file was correctly created and deleted on session
> creation and ending.
>
> Did you build schroot as Debian packages or just by running ./configure?
> Is it possible you're running the old schroot?
>
>
> Regards,
> Roger
>
> --
>  .''`.  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.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEAREDAAYFAkslNn4ACgkQVcFcaSW/uEgjMgCg1cWWNbNRiJWMF5Ze3EUcdAyE
> KVwAn2MlqAwGVHTpDMXL/Hj46VtaQZR1
> =HfTH
> -----END PGP SIGNATURE-----
>
>





More information about the Buildd-tools-devel mailing list