Package: schroot
Version: 1.7.2-2
Severity: normal

Dear Maintainer,

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.

Cheers,

Tom

*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these lines ***


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages schroot depends on:
ii  libboost-filesystem1.54.0       1.54.0-4+b1
ii  libboost-program-options1.54.0  1.54.0-4+b1
ii  libboost-system1.54.0           1.54.0-4+b1
ii  libc6                           2.17-97
ii  libgcc1                         1:4.8.2-14
ii  libsbuild1.7.2                  1.7.2-2
ii  libstdc++6                      4.8.2-14
ii  schroot-common                  1.7.2-2

schroot recommends no packages.

Versions of packages schroot suggests:
pn  aufs-modules | unionfs-modules  <none>
ii  btrfs-tools                     3.12-1
ii  debootstrap                     1.0.56
ii  lvm2                            2.02.98-6+b1
ii  qemu-user-static                1.7.0+dfsg-3

-- Configuration Files:
/etc/schroot/schroot.conf changed:
[debian-sid-amd64]
description=Debian Sid amd64
type=directory
directory=/home/tom/schroot/debian-sid-amd64
users=tom,root
root-groups=root,sudo,users
groups=sudo,root
personality=linux
union-type=aufs


-- no debconf information
tom@steinpilz:~$ /usr/bin/schroot --debug=notice -c debian-sid-amd64 -u root
[...]
[...]
[...]
D(2): run_parts: executing 00check, setup-start, ok
D(2): run_parts: 00check succeeded
D(2): run_parts: executing 05btrfs, setup-start, ok
D(2): run_parts: 05btrfs succeeded
D(2): run_parts: executing 05file, setup-start, ok
D(2): run_parts: 05file succeeded
D(2): run_parts: executing 05lvm, setup-start, ok
D(2): run_parts: 05lvm succeeded
D(2): run_parts: executing 05union, setup-start, ok
D(2): run_parts: 05union succeeded
D(2): run_parts: executing 10mount, setup-start, ok
D(2): run_parts: 10mount succeeded
D(2): run_parts: executing 15binfmt, setup-start, ok
D(2): run_parts: 15binfmt succeeded
D(2): run_parts: executing 15killprocs, setup-start, ok
D(2): run_parts: 15killprocs succeeded
D(2): run_parts: executing 20copyfiles, setup-start, ok
D(2): run_parts: 20copyfiles succeeded
D(2): run_parts: executing 20nssdatabases, setup-start, ok
D(2): run_parts: 20nssdatabases succeeded
D(2): run_parts: executing 50chrootname, setup-start, ok
D(2): run_parts: 50chrootname succeeded
D(2): run_parts: executing 70services, setup-start, ok
D(2): run_parts: 70services succeeded
D(2): run_parts: executing 99check, setup-start, ok
D(2): run_parts: 99check succeeded
D(2): setup_chroot: chroot=debian-sid-amd64-EApf9R-2472, setup_type=1, 
chroot_status=1, lock_status=1
D(2): setup_chroot: chroot=debian-sid-amd64-EApf9R-2472, setup_type=3, 
chroot_status=1, lock_status=1
D(1): Inserted into environment: CHROOT_TYPE=directory
D(1): Inserted into environment: CHROOT_NAME=debian-sid-amd64-EApf9R-2472
D(1): Inserted into environment: SESSION_ID=debian-sid-amd64-EApf9R-2472
D(1): Inserted into environment: CHROOT_DESCRIPTION=Debian Sid amd64 (session 
chroot)
D(1): Inserted into environment: 
CHROOT_MOUNT_LOCATION=/var/lib/schroot/mount/debian-sid-amd64-EApf9R-2472
D(1): Inserted into environment: 
CHROOT_PATH=/var/lib/schroot/mount/debian-sid-amd64-EApf9R-2472
D(1): Inserted into environment: CHROOT_PROFILE=default
D(1): Inserted into environment: CHROOT_PROFILE_DIR=/etc/schroot/default
D(1): Inserted into environment: CHROOT_SESSION_CREATE=false
D(1): Inserted into environment: CHROOT_SESSION_CLONE=false
D(1): Inserted into environment: CHROOT_SESSION_PURGE=true
D(1): Inserted into environment: UNSHARE_NET=false
D(1): Inserted into environment: UNSHARE_SYSVIPC=false
D(1): Inserted into environment: UNSHARE_SYSVSEM=false
D(1): Inserted into environment: UNSHARE_UTS=false
D(2): Getting environment variable=SETUP_CONFIG
D(1): name not found: SETUP_CONFIG
D(1): Inserted into environment: SETUP_CONFIG=default/config
D(2): Getting environment variable=SETUP_COPYFILES
D(1): name not found: SETUP_COPYFILES
D(1): Inserted into environment: SETUP_COPYFILES=default/copyfiles
D(2): Getting environment variable=SETUP_FSTAB
D(1): name not found: SETUP_FSTAB
D(1): Inserted into environment: SETUP_FSTAB=default/fstab
D(2): Getting environment variable=SETUP_NSSDATABASES
D(1): name not found: SETUP_NSSDATABASES
D(1): Inserted into environment: SETUP_NSSDATABASES=default/nssdatabases
D(1): Inserted into environment: CHROOT_UNION_TYPE=aufs
D(1): Inserted into environment: 
CHROOT_UNION_OVERLAY_DIRECTORY=/var/lib/schroot/union/overlay/debian-sid-amd64-EApf9R-2472
D(1): Inserted into environment: 
CHROOT_UNION_UNDERLAY_DIRECTORY=/var/lib/schroot/union/underlay/debian-sid-amd64-EApf9R-2472
D(1): Inserted into environment: 
CHROOT_DIRECTORY=/home/tom/schroot/debian-sid-amd64
D(1): Inserted into environment: CHROOT_NAME=debian-sid-amd64
D(1): Inserted into environment: CHROOT_ALIAS=debian-sid-amd64
D(1): Inserted into environment: AUTH_USER=root
D(1): Inserted into environment: AUTH_RUSER=tom
D(1): Inserted into environment: AUTH_RGROUP=tom
D(1): Inserted into environment: AUTH_UID=0
D(1): Inserted into environment: AUTH_GID=0
D(1): Inserted into environment: AUTH_RUID=1000
D(1): Inserted into environment: AUTH_RGID=1000
D(1): Inserted into environment: AUTH_HOME=/root
D(1): Inserted into environment: AUTH_SHELL=/bin/bash
D(1): Inserted into environment: VERBOSE=normal
D(1): Inserted into environment: MOUNT_DIR=/var/lib/schroot/mount
D(1): Inserted into environment: LIBEXEC_DIR=/usr/lib/x86_64-linux-gnu/schroot
D(1): Inserted into environment: SYSCONF_DIR=/etc/schroot
D(1): Inserted into environment: DATA_DIR=/usr/share/schroot
D(1): Inserted into environment: SETUP_DATA_DIR=/usr/share/schroot/setup
D(1): Inserted into environment: PID=2472
D(1): Inserted into environment: PLATFORM=linux
D(1): Inserted into environment: 
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
D(2): 00check
05btrfs
05file
05lvm
05union
10mount
15binfmt
15killprocs
20copyfiles
20nssdatabases
50chrootname
70services
99check

D(2): run_parts: executing 00check, exec-start, ok
D(2): run_parts: 00check succeeded
D(2): run_parts: executing 05btrfs, exec-start, ok
D(2): run_parts: 05btrfs succeeded
D(2): run_parts: executing 05file, exec-start, ok
D(2): run_parts: 05file succeeded
D(2): run_parts: executing 05lvm, exec-start, ok
D(2): run_parts: 05lvm succeeded
D(2): run_parts: executing 05union, exec-start, ok
D(2): run_parts: 05union succeeded
D(2): run_parts: executing 10mount, exec-start, ok
D(2): run_parts: 10mount succeeded
D(2): run_parts: executing 15binfmt, exec-start, ok
D(2): run_parts: 15binfmt succeeded
D(2): run_parts: executing 15killprocs, exec-start, ok
D(2): run_parts: 15killprocs succeeded
D(2): run_parts: executing 20copyfiles, exec-start, ok
D(2): run_parts: 20copyfiles succeeded
D(2): run_parts: executing 20nssdatabases, exec-start, ok
D(2): run_parts: 20nssdatabases succeeded
D(2): run_parts: executing 50chrootname, exec-start, ok
D(2): run_parts: 50chrootname succeeded
D(2): run_parts: executing 70services, exec-start, ok
D(2): run_parts: 70services succeeded
D(2): run_parts: executing 99check, exec-start, ok
D(2): run_parts: 99check succeeded
D(1): pam_open_session OK
D(1): Inserted into environment: HOME=/root
D(1): Inserted into environment: LOGNAME=root
D(1): Inserted into environment: 
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
D(1): Inserted into environment: SHELL=/bin/bash
D(1): Inserted into environment: TERM=xterm
D(1): Inserted into environment: USER=root
D(1): Inserted into environment: XDG_SESSION_ID=2
D(1): Inserted into environment: XDG_RUNTIME_DIR=/run/user/1000
D(1): Inserted into environment: XDG_SEAT=seat0
D(1): Inserted into environment: XDG_VTNR=7
D(1): Inserted into environment: HOME=/root
D(1): Inserted into environment: LOGNAME=root
D(1): Inserted into environment: 
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
D(1): Inserted into environment: SHELL=/bin/bash
D(1): Inserted into environment: TERM=xterm
D(1): Inserted into environment: USER=root
D(1): Inserted into environment: XDG_RUNTIME_DIR=/run/user/1000
D(1): Inserted into environment: XDG_SEAT=seat0
D(1): Inserted into environment: XDG_SESSION_ID=2
D(1): Inserted into environment: XDG_VTNR=7
D(2): CWD=/home/tom
D(2): location=/var/lib/schroot/mount/debian-sid-amd64-EApf9R-2472
D(1): Set GID=0
D(1): Set supplementary groups
D(1): Set personality=linux
D(1): Changed directory to /var/lib/schroot/mount/debian-sid-amd64-EApf9R-2472
D(1): Changed root to /var/lib/schroot/mount/debian-sid-amd64-EApf9R-2472
D(1): Set UID=0
D(2): Getting environment variable=HOME
D(1): value=/root
D(2): Directory fallbacks: /home/tom, /root, /
D(1): Changed directory to /home/tom
D(1): Inserted into environment: SHELL=/bin/bash
D(1): Running login shell: /bin/bash
D(1): command=-bash
D(1): Inserted into environment: SCHROOT_COMMAND=-bash
D(1): Inserted into environment: SCHROOT_USER=tom
D(1): Inserted into environment: SCHROOT_GROUP=tom
D(1): Inserted into environment: SCHROOT_UID=1000
D(1): Inserted into environment: SCHROOT_GID=1000
D(1): Inserted into environment: SCHROOT_CHROOT_NAME=debian-sid-amd64
D(1): Inserted into environment: SCHROOT_ALIAS_NAME=debian-sid-amd64
D(1): Inserted into environment: SCHROOT_SESSION_ID=debian-sid-amd64-EApf9R-2472
D(2): Set environment:
HOME=/root
LOGNAME=root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SCHROOT_ALIAS_NAME=debian-sid-amd64
SCHROOT_CHROOT_NAME=debian-sid-amd64
SCHROOT_COMMAND=-bash
SCHROOT_GID=1000
SCHROOT_GROUP=tom
SCHROOT_SESSION_ID=debian-sid-amd64-EApf9R-2472
SCHROOT_UID=1000
SCHROOT_USER=tom
SHELL=/bin/bash
TERM=xterm
USER=root
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_ID=2
XDG_VTNR=7
(debian-sid-amd64)root@steinpilz:/home/tom# logout
D(3): pam_close_session FAIL
D(1): pam_setcred (delete) OK
D(1): pam_end OK
E: PAM error: No module specific data is present
tom@steinpilz:~$

Reply via email to