On Sat, Jan 25, 2014 at 08:09:03PM +0100, Thomas Bechtold wrote:
> I created a clean chroot with debootstrap for sid amd64. I try to use
> this chroot env together with schroot to run autopkgtests.
> When I login to the chroot and then logout, I get the following error:
> 
> E: PAM error: No module specific data is present
> 
> Attached is the complete log with debugging information.
> I already tried to build schroot by myself and just ignored the thrown
> error from lib/sbuild/auth/pam.cc when pam_close_session() fails. If I
> ignore the error, everything works as expected but I guess that's not
> the correct resolution for the problem.

No; we can't afford to ignore the error.  Depending upon what happens
after this point, it might well be a security issue or cause dataloss
depending upon what PAM has been configured to do, though this is
probably unlikely.  But it would certainly be against the spirit of the
PAM API to ignore it.

I think it's most likely that the PAM error is external to schroot;
schroot just asks PAM to start, stop, authenticate etc. and does not
really have any input into what it does.  I would suspect this error
is the fault of a single PAM module.  If it would be possible to
identify which is at fault, we can look into it in more detail.

You could try commenting out the various lines of /etc/pam.d.schroot
and also in the referenced generic files if they don't help.  PAM
might have some means of enabling debugging messages here, but I
don't know for sure.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to