[buildd-tools-devel] Bug#589830: schroot - run command produces mostly empty environment

Bastian Blank waldi at debian.org
Wed Jul 21 12:56:31 UTC 2010


Package: schroot
Version: 1.4.7-1
Severity: important

| $ schroot -r -c sid-amd64-c7f1f52b-b069-464d-8036-e872ecdfaedf sh
| $ set
| IFS='
| '
| OPTIND='1'
| PATH='/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games'
| PPID='16903'
| PS1='$ '
| PS2='> '
| PS4='+ '
| PWD='/home/waldi'
| SCHROOT_COMMAND='sh'
| SCHROOT_GID='1000'
| SCHROOT_GROUP='waldi'
| SCHROOT_SESSION_ID='sid-amd64-c7f1f52b-b069-464d-8036-e872ecdfaedf'
| SCHROOT_UID='1000'
| SCHROOT_USER='waldi'
| $

The important variables TERM and SHELL are missing and breaks normal
shell usage.

Bastian

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35-rc5-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages schroot depends on:
ii  libboost-filesystem1.42.0    1.42.0-3+b1 filesystem operations (portable pa
ii  libboost-program-options1.42 1.42.0-3+b1 program options library for C++
ii  libboost-regex1.42.0         1.42.0-3+b1 regular expression library for C++
ii  libboost-system1.42.0        1.42.0-3+b1 Operating system (e.g. diagnostics
ii  libc6                        2.11.2-2    Embedded GNU C Library: Shared lib
ii  libgcc1                      1:4.4.4-7   GCC support library
ii  liblockdev1                  1.0.3-1.4   Run-time shared library for lockin
ii  libpam0g                     1.1.1-3     Pluggable Authentication Modules l
ii  libstdc++6                   4.4.4-7     The GNU Standard C++ Library v3
ii  libuuid1                     2.17.2-3.1  Universally Unique ID library
ii  schroot-common               1.4.7-1     common files for schroot

schroot recommends no packages.

Versions of packages schroot suggests:
pn  aufs-modules | unionfs-m <none>          (no description available)
ii  btrfs-tools              0.19+20100601-3 Checksumming Copy on Write Filesys
pn  debootstrap              <none>          (no description available)
ii  lvm2                     2.02.66-2       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