[buildd-tools-devel] Bug#751733: --location does not work with session names

Martin Pitt mpitt at debian.org
Mon Jun 16 04:46:20 UTC 2014


Package: schroot
Version: 1.6.10-1

Hello,

I'm trying to find out the chroot directory of a particular session
(for autopkgtest's schroot runner, FTR), but this doesn't work:

| $ schroot -b -c sid
| sid-amd64-327bb347-fe31-4c6d-9e36-a90ae70c4fa2
|
| $ schroot --location -n sid-amd64-327bb347-fe31-4c6d-9e36-a90ae70c4fa2
| E: --session-name is not permitted for the specified action
| I: Run “schroot --help” to list usage example and all available options
|
| $ schroot --location -c sid-amd64-327bb347-fe31-4c6d-9e36-a90ae70c4fa2
| E: sid-amd64-327bb347-fe31-4c6d-9e36-a90ae70c4fa2: Chroot not found

As a workaround I'm using --all-sessions and grep for the line with
the session ID, but that's a bit cumbersome:

| $ schroot --location --all-sessions
| /var/lib/schroot/mount/sid-amd64-327bb347-fe31-4c6d-9e36-a90ae70c4fa2

This happens with both type=directory and an union-type, as well as
with type=file.

Thanks for considering,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20140616/c5793f59/attachment.sig>


More information about the Buildd-tools-devel mailing list