Your message dated Sun, 15 Aug 2010 13:17:31 +0000
with message-id <[email protected]>
and subject line Bug#589917: fixed in schroot 1.4.8-1
has caused the Debian Bug report #589917,
regarding schroot: TERM environment variable is not preserved
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
589917: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589917
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: schroot
Version: 1.4.7-1
Severity: normal

Hi,
schroot(1) manual tells:

 default, the environment is not preserved, and the following environment
 variables are defined:  HOME,  LOGNAME,  PATH,  SHELL,    TERM  (preserved
 if  already  defined),  and  USER. 

But TERM variable, even when defined in my host environment is not preserved.
I think it was preserved in previous version, but I don't remember exactly
when.

my config is as follow:

[ia32]
description=Debian testing 32bits
directory=/srv/chroot/ia32
type=directory
users=arno
root-groups=root
root-users=arno                                                                 
                                           

regards,
arno

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

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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-module <none>     (no description available)
pn  btrfs-tools                   <none>     (no description available)
ii  debootstrap                   1.0.23     Bootstrap a basic Debian system
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/fstab changed:
proc            /proc           proc    defaults        0       0
/dev            /dev            none    rw,bind         0       0
/dev/pts        /dev/pts        none    rw,bind         0       0
/dev/shm        /dev/shm        none    rw,bind         0       0
/tmp            /tmp            none    rw,bind         0       0

/etc/schroot/schroot.conf changed:
[ia32]
description=Debian testing 32bits
directory=/srv/chroot/ia32
type=directory
users=arno
root-groups=root
root-users=arno

/etc/schroot/setup.d/15killprocs changed:
set -e
. "$SETUP_DATA_DIR/common-data"
. "$SETUP_DATA_DIR/common-functions"
if [ -f "$CHROOT_SCRIPT_CONFIG" ]; then
    . "$CHROOT_SCRIPT_CONFIG"
elif [ "$STATUS" = "ok" ]; then
    fatal "script-config file '$CHROOT_SCRIPT_CONFIG' does not exist"
fi
do_kill_all()
{
    if [ -z "$1" ]; then
        fatal "No path for finding stray processes: not reaping processes in 
chroot"
    fi
    info "Killing processes run inside $1"
    ls /proc | egrep '^[[:digit:]]+$' |
    while read pid; do
        root=$(readlink /proc/"$pid"/root || true)
        if [ "$root" = "$1" ]; then
            exe=$(readlink /proc/"$pid"/exe || true)
            info "Killing left-over pid $pid (${exe##$1})"
            info "  Sending SIGTERM to pid $pid"
            /bin/kill -TERM "$pid" 2>/dev/null
            count=0
            max=5
            while [ -d /proc/"$pid" ]; do
                count=$(( $count + 1 ))
                info "  Waiting for pid $pid to shut down... ($count/$max)"
                sleep 1
                # Wait for $max seconds for process to die before -9'ing it
                if [ "$count" -eq "$max" ]; then
                    info "  Sending SIGKILL to pid $pid"
                    /bin/kill -KILL "$pid" 2>/dev/null
                    sleep 1
                    break
                fi
            done
        fi
    done
}
if [ $STAGE = "setup-recover" ] || [ $STAGE = "setup-stop" ]; then
    do_kill_all "$CHROOT_MOUNT_LOCATION"
fi


-- no debconf information



--- End Message ---
--- Begin Message ---
Source: schroot
Source-Version: 1.4.8-1

We believe that the bug you reported is fixed in the latest version of
schroot, which is due to be installed in the Debian FTP archive:

dchroot-dsa_1.4.8-1_amd64.deb
  to main/s/schroot/dchroot-dsa_1.4.8-1_amd64.deb
dchroot_1.4.8-1_amd64.deb
  to main/s/schroot/dchroot_1.4.8-1_amd64.deb
libsbuild-dev_1.4.8-1_amd64.deb
  to main/s/schroot/libsbuild-dev_1.4.8-1_amd64.deb
libsbuild-doc_1.4.8-1_all.deb
  to main/s/schroot/libsbuild-doc_1.4.8-1_all.deb
schroot-common_1.4.8-1_all.deb
  to main/s/schroot/schroot-common_1.4.8-1_all.deb
schroot-dbg_1.4.8-1_amd64.deb
  to main/s/schroot/schroot-dbg_1.4.8-1_amd64.deb
schroot_1.4.8-1.debian.tar.gz
  to main/s/schroot/schroot_1.4.8-1.debian.tar.gz
schroot_1.4.8-1.dsc
  to main/s/schroot/schroot_1.4.8-1.dsc
schroot_1.4.8-1_amd64.deb
  to main/s/schroot/schroot_1.4.8-1_amd64.deb
schroot_1.4.8.orig.tar.gz
  to main/s/schroot/schroot_1.4.8.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Roger Leigh <[email protected]> (supplier of updated schroot package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Format: 1.8
Date: Sun, 15 Aug 2010 11:34:26 +0100
Source: schroot
Binary: schroot-common libsbuild-dev schroot-dbg libsbuild-doc schroot dchroot 
dchroot-dsa
Architecture: source all amd64
Version: 1.4.8-1
Distribution: unstable
Urgency: low
Maintainer: Debian buildd-tools Developers 
<[email protected]>
Changed-By: Roger Leigh <[email protected]>
Description: 
 dchroot    - Execute commands in a chroot environment
 dchroot-dsa - Execute commands in a chroot environment
 libsbuild-dev - development files for the Debian source builder
 libsbuild-doc - development documentation for the Debian source builder
 schroot    - Execute commands in a chroot environment
 schroot-common - common files for schroot
 schroot-dbg - schroot, dchroot and dchroot-dsa debuggging symbols
Closes: 512131 588734 588963 589079 589082 589658 589830 589889 589917
Changes: 
 schroot (1.4.8-1) unstable; urgency=low
 .
   * New upstream stable release.
   * Add da translation (Closes: #589082).  Thanks to Joe Hanson.
   * Update cs translation (Closes: #588734).  Thanks to Miroslav Kure.
   * Update de translation (Closes: #588963).  Thanks to Holger Wansing.
   * Update fr translation (Closes: #589079).  Thanks to Thomas Blein.
   * sbuild::auth: Always preserve TERM and SHELL environment
     variables (Closes: #589830, #589917).  Thanks to Bastian Blank and
     Arno Renevier.
   * Don't restrict valid session names (Closes: #589889).  Thanks to
     Zach Carter.
   * Correctly check for boost::program_options::variables_map
     (Closes: #589658).  Thanks to Zach Carter.
   * Session names and chroot names may use the same names now that
     separate session: and chroot: namespaces are used
     (Closes: #512131).
   * Upgrade to Standards Version 3.9.1 (no changes).
Checksums-Sha1: 
 29272e5ab6e3996f890064af81ca86562b6b33ea 1551 schroot_1.4.8-1.dsc
 5d3c1d02eb9c9f0154b62e069349a557ada08c5b 1092512 schroot_1.4.8.orig.tar.gz
 612dc24d9b448e7424114f380cce281793b5e61d 21249 schroot_1.4.8-1.debian.tar.gz
 11fbdba70d69427eeb1a6773a1313f97142d780d 234712 schroot-common_1.4.8-1_all.deb
 638797d35825d227121d8388305a469189bc7687 7241426 libsbuild-doc_1.4.8-1_all.deb
 0502652b5f2e7e834272dd9dba8c8a9947c0f8b5 1844378 
libsbuild-dev_1.4.8-1_amd64.deb
 576b3df1759c4a082ec51040ded3ff6f59b645f2 16448756 schroot-dbg_1.4.8-1_amd64.deb
 090a87306fd8bc150226021d93d3589e25f984e0 901556 schroot_1.4.8-1_amd64.deb
 4186d83fba9905f3a01bbd0cb5e1b3b92f677c4c 401810 dchroot_1.4.8-1_amd64.deb
 70043f96be775cd2b5f84e6fa9631545212a8c6a 401640 dchroot-dsa_1.4.8-1_amd64.deb
Checksums-Sha256: 
 b6ad32a72cd447c51aa26b32ab65a1313e6b2553693ec6ca562c8687d5024d81 1551 
schroot_1.4.8-1.dsc
 e6752d674a797a31a8aa45c4e1493f9506a941a9cddbc1d88a0e9fa311223a43 1092512 
schroot_1.4.8.orig.tar.gz
 f796485bd4463ada519afa42e78b76e7b90d3f878340cf9a14a012fbbdd6e63a 21249 
schroot_1.4.8-1.debian.tar.gz
 4ec42c9c1f0f05d65c4470399165896f179ef8a667ec811d57cbbed02909aa09 234712 
schroot-common_1.4.8-1_all.deb
 44970e4e88e7fa8da76964e213bb20674b02df83867366993bdedf1bc3286473 7241426 
libsbuild-doc_1.4.8-1_all.deb
 d084f275fe65a5b14ed3045cfa33c1257d9733355af8df4253ad91817d7c918f 1844378 
libsbuild-dev_1.4.8-1_amd64.deb
 743e51c688d5707c17168887193e87eb9ddf3e2a2c3190c59e7e57074de433c0 16448756 
schroot-dbg_1.4.8-1_amd64.deb
 54b01e9772f110bf36e32a0ef3b4d4b47457c5be957cae831892224fbd4ca984 901556 
schroot_1.4.8-1_amd64.deb
 b63b204f1b08040d17e2ee034ee2148a54bdca83ee4d6a90fdcb63a809492ec8 401810 
dchroot_1.4.8-1_amd64.deb
 9c321ad167ab3e8230ea3030c77779f5b63c546e60a902cf3f67a1fad618c8fa 401640 
dchroot-dsa_1.4.8-1_amd64.deb
Files: 
 bcab1f6c1b1ec3e428b2c925c6b724fa 1551 admin optional schroot_1.4.8-1.dsc
 c2b1313a3066ba2aa51aab4b71a08c76 1092512 admin optional 
schroot_1.4.8.orig.tar.gz
 7b466165845dfcd1b5e71dca271afd69 21249 admin optional 
schroot_1.4.8-1.debian.tar.gz
 f35db27ef0c2f3b71c035fa1d9e25aee 234712 admin optional 
schroot-common_1.4.8-1_all.deb
 811d943e7e64abcffd607cefdeb3b8fd 7241426 doc optional 
libsbuild-doc_1.4.8-1_all.deb
 47195fafea0843915dd8dbf766a22261 1844378 libdevel optional 
libsbuild-dev_1.4.8-1_amd64.deb
 996d0eb49141a8a3f773a9f699a08501 16448756 debug extra 
schroot-dbg_1.4.8-1_amd64.deb
 394e69df8d2721c14b5f00bc2f56bd8f 901556 admin optional 
schroot_1.4.8-1_amd64.deb
 369bd9bb97d17275aa0419465f267c2c 401810 admin optional 
dchroot_1.4.8-1_amd64.deb
 7a484e803827f8bb8a6c7afe3d7f0941 401640 admin optional 
dchroot-dsa_1.4.8-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEAREDAAYFAkxn3o0ACgkQVcFcaSW/uEhUoQCgyfgnqAAVDTPLLm2kD40i9LhI
wFsAoNfNT8ByQ9iMOGFMb3R+Bm2INvF/
=x1WH
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to