[buildd-tools-devel] Bug#675512: schroot: running an existing session as a user other than whom the session begun

SZABO Zsolt szazs at mm.bme.hu
Fri Jun 1 17:57:31 UTC 2012


Package: schroot
Version: 1.4.19-1+squeeze1
Severity: normal


On lenny I used to begin a chroot-session at boot (as root) and than
the normal user "attach" to this session to run the programs in the session:
user:$ schroot -r -c started_chroot_session -p

I used this method instead "schroot -c chroot_session -p" thus the symlinks
are created only once even when attaching not only one user but 10 or more
at the same time.

However, this does not work on squeezy: I always get the message
"Access not authorized". A line is also written in the auth.log:
schroot: user -> user Unathorized

Possibly it is a pam related situation (feature or bug, I do not know..),
however, I do not know either how to solve or get back the original way of
operation.

TIA,
Zsolt

-- System Information:
Debian Release: 6.0.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-vserver-686 (SMP w/2 CPU cores)
Locale: LANG=hu_HU, LC_CTYPE=hu_HU (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/bash

Versions of packages schroot depends on:
ii  libboost-filesystem1. 1.42.0-4           filesystem operations (portable pa
ii  libboost-program-opti 1.42.0-4           program options library for C++
ii  libboost-regex1.42.0  1.42.0-4           regular expression library for C++
ii  libboost-system1.42.0 1.42.0-4           Operating system (e.g. diagnostics
ii  libc6                 2.11.3-3           Embedded GNU C Library: Shared lib
ii  libgcc1               1:4.4.5-8          GCC support library
ii  liblockdev1           1.0.3-1.4          Run-time shared library for lockin
ii  libpam0g              1.1.1-6.1+squeeze1 Pluggable Authentication Modules l
ii  libstdc++6            4.4.5-8            The GNU Standard C++ Library v3
ii  libuuid1              2.17.2-9           Universally Unique ID library
ii  schroot-common        1.4.19-1+squeeze1  common files for schroot

schroot recommends no packages.

Versions of packages schroot suggests:
pn  aufs-modules | unionfs-m <none>          (no description available)
pn  btrfs-tools              <none>          (no description available)
ii  debootstrap              1.0.26+squeeze1 Bootstrap a basic Debian system
ii  lvm2                     2.02.66-5       The Linux Logical Volume Manager
ii  unzip                    6.0-4           De-archiver for .zip files

-- Configuration Files:
/etc/schroot/default/copyfiles changed [not included]
/etc/schroot/default/fstab changed [not included]
/etc/schroot/schroot.conf changed [not included]

-- no debconf information





More information about the Buildd-tools-devel mailing list