[Buildd-tools-devel] Bug#459658: schroot: Unable to read properly run-exec-scripts option.
Raúl Sánchez Siles
rasasi78 at gmail.com
Mon Jan 7 23:00:07 UTC 2008
Package: schroot
Version: 1.1.5-1.1
Severity: normal
Hello:
I've set up several chroot configurations using chroot, I attach my
schroot.conf, on my sid32 configuration I've set the run-exec-scripts
option to true, but schroot doesn't read it correctly.
I'm also attaching the schroot -i -c sid32 --debug=notice output.
Thanks.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (900, 'unstable'), (500, 'testing'), (100, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-rc6-c2toi (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages schroot depends on:
ii libboost-program-option 1.34.1-4 program options library for C++
ii libboost-regex1.34.1 1.34.1-4 regular expression library for
C++
ii libc6 2.7-5 GNU C Library: Shared libraries
ii libgcc1 1:4.3-20080104-1 GCC support library
ii liblockdev1 1.0.3-1.2 Run-time shared library for
lockin
ii libpam0g 0.99.7.1-5 Pluggable Authentication Modules
l
ii libstdc++6 4.3-20080104-1 The GNU Standard C++ Library v3
ii libuuid1 1.40.3-1 universally unique id library
ii schroot-common 1.1.5-1.1 common files for schroot
schroot recommends no packages.
-- no debconf information
-------------- next part --------------
D(1): Loading config file: /etc/schroot/schroot.conf
D(1): Loading data file: /etc/schroot/schroot.conf
D(2): Getting keyfile group=experimental, key=type
D(1): value=plain
D(2): Getting keyfile group=experimental, key=active
D(1): value=0
D(2): Getting keyfile group=experimental, key=run-setup-scripts
D(1): value=1
D(2): Getting keyfile group=experimental, key=run-session-scripts
D(1): key not found
D(2): Getting keyfile group=experimental, key=run-exec-scripts
D(1): value=1
D(2): Getting keyfile group=experimental, key=script-config
D(1): key not found
D(2): Getting keyfile group=experimental, key=priority
D(1): value=4
D(2): Getting keyfile group=experimental, key=aliases
D(1): key not found
D(2): Getting keyfile group=experimental, key=environment-filter
D(1): key not found
D(2): Getting keyfile group=experimental, key=description
D(1): value=Debian experimental (unstable)
D(2): Getting keyfile group=experimental, key=users
D(1): key not found
D(2): Getting keyfile group=experimental, key=groups
D(1): value=chroot
D(1): value=chroot
D(2): Getting keyfile group=experimental, key=root-users
D(1): key not found
D(2): Getting keyfile group=experimental, key=root-groups
D(1): key not found
D(2): Getting keyfile group=experimental, key=mount-location
D(1): key not found
D(2): Getting keyfile group=experimental, key=mount-device
D(1): key not found
D(2): Getting keyfile group=experimental, key=command-prefix
D(1): key not found
D(2): Getting keyfile group=experimental, key=personality
D(1): key not found
D(2): Getting keyfile group=experimental, key=location
D(1): value=/home/chroot/exp64
D(2): Getting keyfile group=sid32, key=type
D(1): value=plain
D(2): Getting keyfile group=sid32, key=active
D(1): value=0
D(2): Getting keyfile group=sid32, key=run-setup-scripts
D(1): value=1
D(2): Getting keyfile group=sid32, key=run-session-scripts
D(1): key not found
D(2): Getting keyfile group=sid32, key=run-exec-scripts
D(1): key not found
D(2): Getting keyfile group=sid32, key=script-config
D(1): key not found
D(2): Getting keyfile group=sid32, key=priority
D(1): value=3
D(2): Getting keyfile group=sid32, key=aliases
D(1): value=unstable,default
D(1): value=unstable
D(1): value=default
D(2): Getting keyfile group=sid32, key=environment-filter
D(1): key not found
D(2): Getting keyfile group=sid32, key=description
D(1): value=Debian sid (unstable)
D(2): Getting keyfile group=sid32, key=users
D(1): value=rasasi
D(1): value=rasasi
D(2): Getting keyfile group=sid32, key=groups
D(1): value=chroot
D(1): value=chroot
D(2): Getting keyfile group=sid32, key=root-users
D(1): key not found
D(2): Getting keyfile group=sid32, key=root-groups
D(1): value=root
D(1): value=root
D(2): Getting keyfile group=sid32, key=mount-location
D(1): key not found
D(2): Getting keyfile group=sid32, key=mount-device
D(1): key not found
D(2): Getting keyfile group=sid32, key=command-prefix
D(1): key not found
D(2): Getting keyfile group=sid32, key=personality
D(1): value=linux32
D(2): Getting keyfile group=sid32, key=location
D(1): value=/home/chroot/sid32
D(1): Loading config directory: /var/lib/schroot/session
D(1): Loading data file: /var/lib/schroot/session/exp64
D(2): Getting keyfile group=exp64, key=type
D(1): value=plain
D(2): Getting keyfile group=exp64, key=active
D(1): value=1
D(2): Getting keyfile group=exp64, key=run-setup-scripts
D(1): value=1
D(2): Getting keyfile group=exp64, key=run-session-scripts
D(1): key not found
D(2): Getting keyfile group=exp64, key=run-exec-scripts
D(1): value=0
D(2): Getting keyfile group=exp64, key=script-config
D(1): value=script-defaults
D(2): Getting keyfile group=exp64, key=priority
D(1): value=3
D(2): Getting keyfile group=exp64, key=aliases
D(1): value=
D(2): Getting keyfile group=exp64, key=environment-filter
D(1): value=^(BASH_ENV|CDPATH|ENV|HOSTALIASES|IFS|KRB5_CONFIG|KRBCONFDIR|KRBTKFILE|KRB_CONF|LD_.*|LOCALDOMAIN|NLSPATH|PATH_LOCALE|RES_OPTIONS|TERMINFO|TERMINFO_DIRS|TERMPATH)$
D(2): Getting keyfile group=exp64, key=description
D(1): value=Debian sid (unstable)
D(2): Getting keyfile group=exp64, key=users
D(1): value=rasasi
D(1): value=rasasi
D(2): Getting keyfile group=exp64, key=groups
D(1): value=chroot
D(1): value=chroot
D(2): Getting keyfile group=exp64, key=root-users
D(1): value=
D(2): Getting keyfile group=exp64, key=root-groups
D(1): value=root
D(1): value=root
D(2): Getting keyfile group=exp64, key=mount-location
D(1): value=/var/lib/schroot/mount/exp64
D(2): Getting keyfile group=exp64, key=mount-device
D(1): value=
D(2): Getting keyfile group=exp64, key=command-prefix
D(1): value=
D(2): Getting keyfile group=exp64, key=personality
D(1): value=linux32
D(2): Getting keyfile group=exp64, key=location
D(1): value=/home/chroot/sid32
D(1): Loading data file: /var/lib/schroot/session/sid32-760f5035-9009-4041-bd7e-38fd94c4e263
D(2): Getting keyfile group=sid32-760f5035-9009-4041-bd7e-38fd94c4e263, key=type
D(1): value=plain
D(2): Getting keyfile group=sid32-760f5035-9009-4041-bd7e-38fd94c4e263, key=active
D(1): value=1
D(2): Getting keyfile group=sid32-760f5035-9009-4041-bd7e-38fd94c4e263, key=run-setup-scripts
D(1): value=1
D(2): Getting keyfile group=sid32-760f5035-9009-4041-bd7e-38fd94c4e263, key=run-session-scripts
D(1): key not found
D(2): Getting keyfile group=sid32-760f5035-9009-4041-bd7e-38fd94c4e263, key=run-exec-scripts
D(1): value=0
D(2): Getting keyfile group=sid32-760f5035-9009-4041-bd7e-38fd94c4e263, key=script-config
D(1): value=script-defaults
D(2): Getting keyfile group=sid32-760f5035-9009-4041-bd7e-38fd94c4e263, key=priority
D(1): value=3
D(2): Getting keyfile group=sid32-760f5035-9009-4041-bd7e-38fd94c4e263, key=aliases
D(1): value=
D(2): Getting keyfile group=sid32-760f5035-9009-4041-bd7e-38fd94c4e263, key=environment-filter
D(1): value=^(BASH_ENV|CDPATH|ENV|HOSTALIASES|IFS|KRB5_CONFIG|KRBCONFDIR|KRBTKFILE|KRB_CONF|LD_.*|LOCALDOMAIN|NLSPATH|PATH_LOCALE|RES_OPTIONS|TERMINFO|TERMINFO_DIRS|TERMPATH)$
D(2): Getting keyfile group=sid32-760f5035-9009-4041-bd7e-38fd94c4e263, key=description
D(1): value=Debian sid (unstable)
D(2): Getting keyfile group=sid32-760f5035-9009-4041-bd7e-38fd94c4e263, key=users
D(1): value=rasasi
D(1): value=rasasi
D(2): Getting keyfile group=sid32-760f5035-9009-4041-bd7e-38fd94c4e263, key=groups
D(1): value=chroot
D(1): value=chroot
D(2): Getting keyfile group=sid32-760f5035-9009-4041-bd7e-38fd94c4e263, key=root-users
D(1): value=
D(2): Getting keyfile group=sid32-760f5035-9009-4041-bd7e-38fd94c4e263, key=root-groups
D(1): value=root
D(1): value=root
D(2): Getting keyfile group=sid32-760f5035-9009-4041-bd7e-38fd94c4e263, key=mount-location
D(1): value=/var/lib/schroot/mount/sid32-760f5035-9009-4041-bd7e-38fd94c4e263
D(2): Getting keyfile group=sid32-760f5035-9009-4041-bd7e-38fd94c4e263, key=mount-device
D(1): value=
D(2): Getting keyfile group=sid32-760f5035-9009-4041-bd7e-38fd94c4e263, key=command-prefix
D(1): value=
D(2): Getting keyfile group=sid32-760f5035-9009-4041-bd7e-38fd94c4e263, key=personality
D(1): value=linux32
D(2): Getting keyfile group=sid32-760f5035-9009-4041-bd7e-38fd94c4e263, key=location
D(1): value=/home/chroot/sid
D(2): format_detail: added name "Name"
D(2): format_detail: added name "Description"
D(2): format_detail: added name "Type"
D(2): format_detail: added name "Priority"
D(2): format_detail: added name "Users"
D(2): format_detail: added name "Groups"
D(2): format_detail: added name "Root Users"
D(2): format_detail: added name "Root Groups"
D(2): format_detail: added name "Aliases"
D(2): format_detail: added name "Environment Filter"
D(2): format_detail: added name "Run Setup Scripts"
D(2): format_detail: added name "Run Execution Scripts"
D(2): format_detail: added name "Script Configuration"
D(2): format_detail: added name "Session Managed"
D(2): format_detail: added name "Personality"
D(2): format_detail: added name "Location"
--- Chroot ---
Name sid32
Description Debian sid (unstable)
Type plain
Priority 3
Users rasasi
Groups chroot
Root Users
Root Groups root
Aliases unstable default
Environment Filter ^(BASH_ENV|CDPATH|ENV|HOSTALIASES|IFS|KRB5_CONFIG|KRBCONFDIR|KRBTKFILE|KRB_CONF|LD_.*|LOCALDOMAIN|NLSPATH|PATH_LOCALE|RES_OPTIONS|TERMINFO|TERMINFO_DIRS|TERMPATH)$
Run Setup Scripts true
Run Execution Scripts false
Script Configuration script-defaults
Session Managed true
Personality linux32
Location /home/chroot/sid32
-------------- next part --------------
# schroot chroot definitions.
# See schroot.conf(5) for complete documentation of the file format.
#
# Please take note that you should not add untrusted users to
# root-groups, because they will essentially have full root access
# to your system. They will only have root access inside the chroot,
# but that's enough to cause malicious damage.
#
# The following lines are examples only. Uncomment and alter them to
# customise schroot for your needs, or create a new entry from scratch.
#
#
[sid32]
description=Debian sid (unstable)
type=plain
location=/home/chroot/sid32
priority=3
users=rasasi
groups=chroot
root-groups=root
aliases=unstable,default
run-exec-script=true
run-setup-scripts=true
personality=linux32
[experimental]
type=plain
description=Debian experimental (unstable)
priority=4
groups=chroot
mount-options=-o atime,sync,user_xattr
location=/home/chroot/exp64
run-setup-scripts=true
run-exec-scripts=true
#root-groups=root,sbuild
#aliases=unstable,default
#device=/dev/hda_vg/experimental_chroot
#[sid-snap]
#type=lvm-snapshot
#description=Debian sid snapshot
##location=/srv/chroot/sid
#priority=3
#groups=sbuild,root
#root-users=rleigh
#root-groups=root,sbuild
#source-root-users=rleigh
#device=/dev/hda_vg/sid_chroot
#mount-options=-o atime,sync,user_xattr
#lvm-snapshot-options=--size 2G
#run-setup-scripts=true
#run-exec-scripts=true
#[etch]
#description=Debian etch (testing) 32-bit
#location=/srv/chroot/etch
#priority=3
#groups=sbuild-security
#aliases=testing
#run-setup-scripts=false
#run-exec-scripts=false
#personality=linux32
#[sarge]
#description=Debian sarge (stable)
#location=/srv/chroot/sarge
#priority=2
#groups=sbuild
#aliases=stable
#[sarge-file]
#description=Debian sarge (stable)
#file=/srv/chroot/sarge.tar.gz
#priority=2
#groups=sbuild
#[sarge-secure]
#description=Debian sarge (stable)
#location=/srv/chroot/sarge
#priority=2
#groups=sbuild-security
#aliases=stable-security
#[experimental]
#type=block-device
#description=Debian experimental (unstable)
#priority=4
#groups=sbuild,root
#root-groups=root,sbuild
#aliases=unstable,default
#device=/dev/hda_vg/experimental_chroot
#mount-options=-o atime,sync,user_xattr
#location=/experimental
#run-setup-scripts=true
#run-exec-scripts=true
More information about the Buildd-tools-devel
mailing list