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)

Attachment: signature.asc
Description: Digital signature

Reply via email to