[buildd-tools-devel] Bug#568517: Bug#568517: schroot: segfaults at start
Andrew Schulman
andrex at alumni.utexas.net
Fri Feb 5 15:15:59 UTC 2010
> For the time being, this appears to be when reading a session file
> under /var/lib/schroot/session. Unclear why at this point, but
> likely to be not coping with a missing type= parameter. Removing
> the session file should fix it--there's no problem with session
> files created by the new schroot. You could verify this by running
> with --debug=notice.
/var/lib/schroot/session is empty on my host. ??
In case it's helpful, here are the results of schroot --debug=notice.
D(1): Loading config file: /etc/schroot/schroot.conf
D(1): Loading data file: /etc/schroot/schroot.conf
D(2): Getting keyfile group=ia32, key=type
D(1): value=plain
D(2): Getting keyfile group=ia32, key=active
D(1): key not found
D(2): Getting keyfile group=ia32, key=run-setup-scripts
D(1): key not found
D(2): Getting keyfile group=ia32, key=run-session-scripts
D(1): key not found
D(2): Getting keyfile group=ia32, key=run-exec-scripts
D(1): key not found
D(2): Getting keyfile group=ia32, key=script-config
D(1): key not found
D(2): Getting keyfile group=ia32, key=priority
D(1): value=0
D(2): Getting keyfile group=ia32, key=aliases
D(1): value=default,i386
D(1): value=default
D(1): value=i386
D(2): Getting keyfile group=ia32, key=environment-filter
D(1): key not found
D(2): Getting keyfile group=ia32, key=description
D(1): value=ia32 chroot
D(2): Getting keyfile group=ia32, key=users
D(1): key not found
D(2): Getting keyfile group=ia32, key=groups
D(1): value=users
D(1): value=users
D(2): Getting keyfile group=ia32, key=root-users
D(1): value=
D(2): Getting keyfile group=ia32, key=root-groups
D(1): value=
D(2): Getting keyfile group=ia32, key=mount-location
D(1): key not found
D(2): Getting keyfile group=ia32, key=name
D(1): key not found
D(2): Getting keyfile group=ia32, key=command-prefix
D(1): value=/usr/bin/setarch,i386
D(1): value=/usr/bin/setarch
D(1): value=i386
D(2): Getting keyfile group=ia32, key=directory
D(1): value=/i386
D(2): Getting keyfile group=ia32, key=location
D(1): key not found
D(2): Getting keyfile group=ia32, key=personality
D(1): value=linux
D(1): Loading config directory: /etc/schroot/chroot.d
D(2): Creating schroot session
D(2): auth uid = 1,000, gid = 2,000
D(2): auth uid = 1,000, gid = 2,000
D(1): pam_start OK
D(2): In users: 0
In groups: 1
In root-users: 0
In root-groups: 0
D(1): Inserted into environment:
PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
D(1): Inserted into environment: HOME=/home/andrex
D(1): Inserted into environment: LOGNAME=andrex
D(1): Inserted into environment: USER=andrex
D(1): Inserted into environment: TERM=screen
D(1): Inserted into environment: SHELL=/bin/bash
D(2): pam_putenv: set HOME=/home/andrex
D(2): pam_putenv: set LOGNAME=andrex
D(2): pam_putenv: set
PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
D(2): pam_putenv: set SHELL=/bin/bash
D(2): pam_putenv: set TERM=screen
D(2): pam_putenv: set USER=andrex
D(1): pam_putenv OK
D(1): pam_acct_mgmt OK
D(1): pam_setcred OK
D(2): PAM authentication succeeded for user
D(1): Running session in default chroot:
D(2): setup_chroot: chroot=ia32, setup_type=0, chroot_status=1,
lock_status=1
D(2): setup_chroot: chroot=ia32, setup_type=1, chroot_status=1,
lock_status=1
D(1): pam_open_session OK
D(2): CWD=/home/andrex
D(2): location=/i386
D(1): Set GID=2,000
D(1): Set supplementary groups
D(1): Set personality=linux
D(1): Changed directory to /i386
D(1): Changed root to /i386
D(1): Set UID=1,000
D(1): Dropped root privileges
D(1): Inserted into environment: HOME=/home/andrex
D(1): Inserted into environment: LOGNAME=andrex
D(1): Inserted into environment:
PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
D(1): Inserted into environment: SHELL=/bin/bash
D(1): Inserted into environment: TERM=screen
D(1): Inserted into environment: USER=andrex
D(1): Inserted into environment:
XDG_SESSION_COOKIE=c5c05a456c5d0734c0a48eb1924daa00-1265382881.32862-1886943345
D(2): Getting environment variable=HOME
D(1): value=/home/andrex
D(2): Directory fallbacks: /home/andrex, /
D(1): Changed directory to /home/andrex
D(1): Running shell: /bin/bash
D(1): command=/bin/bash
D(1): Inserted into environment: HOME=/home/andrex
D(1): Inserted into environment: LOGNAME=andrex
D(1): Inserted into environment:
PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
D(1): Inserted into environment: SHELL=/bin/bash
D(1): Inserted into environment: TERM=screen
D(1): Inserted into environment: USER=andrex
D(1): Inserted into environment:
XDG_SESSION_COOKIE=c5c05a456c5d0734c0a48eb1924daa00-1265382881.32862-1886943345
D(1): Inserted into environment: HOME=/home/andrex
D(1): Inserted into environment: LOGNAME=andrex
D(1): Inserted into environment:
PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
D(1): Inserted into environment: SHELL=/bin/bash
D(1): Inserted into environment: TERM=screen
D(1): Inserted into environment: USER=andrex
D(1): Inserted into environment:
XDG_SESSION_COOKIE=c5c05a456c5d0734c0a48eb1924daa00-1265382881.32862-1886943345
D(1): Inserted into environment: SCHROOT_COMMAND=/bin/bash
D(1): Inserted into environment: SCHROOT_USER=andrex
D(1): Inserted into environment: SCHROOT_GROUP=parents
D(1): Inserted into environment: SCHROOT_UID=1000
D(1): Inserted into environment: SCHROOT_GID=2000
D(1): Inserted into environment: SCHROOT_SESSION_ID=ia32
D(2): Set environment:
HOME=/home/andrex
LOGNAME=andrex
PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
SCHROOT_COMMAND=/bin/bash
SCHROOT_GID=2000
SCHROOT_GROUP=parents
SCHROOT_SESSION_ID=ia32
SCHROOT_UID=1000
SCHROOT_USER=andrex
SHELL=/bin/bash
TERM=screen
USER=andrex
XDG_SESSION_COOKIE=c5c05a456c5d0734c0a48eb1924daa00-1265382881.32862-1886943345
D(2): Getting environment variable=PATH
D(1): value=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
D(3): Chroot session failed
D(1): pam_close_session OK
D(3): Chroot setup scripts, exec scripts or session failed
D(2): setup_chroot: chroot=ia32, setup_type=2, chroot_status=1,
lock_status=1
E: Child terminated by signal �\200\230Segmentation fault�\200\231
More information about the Buildd-tools-devel
mailing list