Martin Michlmayr <[EMAIL PROTECTED]> writes: > * Martin Michlmayr <[EMAIL PROTECTED]> [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:[EMAIL PROTECTED]: ~] 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:[EMAIL PROTECTED]: ~] 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.
pgphSh0FlwlYR.pgp
Description: PGP signature

