Bug#361113: [Buildd-tools-devel] Bug#361113: "no such chroot" error isn't very helpful

Roger Leigh rleigh at whinlatter.ukfsn.org
Thu Apr 6 19:16:40 UTC 2006


Martin Michlmayr <tbm at cyrius.com> writes:

> * Martin Michlmayr <tbm at cyrius.com> [2006-04-06 21:18]:
>> that I'm not in the 'sbuild' group (still need to investigate, but
>> that's my assumption)
>
> FWIW, that assumption was wrong.  I've no idea why it doesn't work.

> 173:tbm at reyes: ~] schroot  -i
>   ——— Chroot ———
>   Name                  sid-snap
>   Description           Debian sid snapshot
>   Type                  lvm-snapshot
>   Priority              3
>   Groups                sbuild root
>   Root Groups           root sbuild
>   Aliases
>   Run Setup Scripts     true
>   Run Execution Scripts true
>   Session Managed       true
>   Device                /dev/vg/sid_chroot
>   Mount Options         -o atime,sync,user_xattr
>   Source Groups
>   Source Root Groups
>   LVM Snapshot Options  --size 2G

> 132:tbm at reyes: ~] schroot -c sid-snap
> You do not have permission to access the schroot service.
> This failure will be reported.
> E: Session failure: access not authorised

The PAM authentication succeeded, but authorisation failed I think.
Could you try running with "--verbose", and see if that shows
anything?

This is occuring inside PAM, so can mean that
- you really aren't in the sbuild group (what does "id tbm" show?)  If
  you just added yourself to the group, try logging back in to make
  sure your login session picked it up.
- The PAM authorisation step failed.  See /etc/pam.d/schroot.  It
  might even be something in e.g. common-account (this is all out of
  schroot's hands).  The default setup should work just fine, unless
  you did any additional customisation.


Regards,
Roger

-- 
Roger Leigh
                Printing on GNU/Linux?  http://gutenprint.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20060406/049f9d19/attachment.pgp


More information about the Buildd-tools-devel mailing list