[Buildd-tools-devel] Bug#462680: schroot: COPYFILES option does not work

Jan De Luyck bugs_debian at kcore.org
Sat Jan 26 20:17:32 UTC 2008


Package: schroot
Version: 1.1.6-1
Severity: normal


I recently tried to make schroot copy the files I wanted using the 
COPYFILES directive. This does not work.

schroot.conf entry:

[sid-ia32]
description=Debian sid (unstable)
location=/var/chroot/sid-ia32
priority=3
users=potato,devilkin,root
groups=potato,devilkin,root
root-groups=root
aliases=unstable,default
personality=linux32
type=plain
run-exec-scripts=true
run-setup-scripts=true
script-config=/etc/schroot.d/script-defaults

I needed to add the script-config file, otherwise it wouldn't do 
anything even though the man page says that script-defaults is the
default.

Script-defaults is still the default script.

# cat /etc/schroot/copyfiles-defaults
/etc/group
/etc/hosts
/etc/passwd
/etc/resolv.conf
/etc/shadow
/etc/nsswitch.conf
/etc/sudoers
/etc/locale.gen

# schroot
/etc/schroot/setup.d/20copyfiles: line 73: : No such file or directory
E: sid-ia32-75cbe4c6-0784-4335-b102-f50725635afd: Chroot setup failed: 
stage=setup-start


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

Kernel: Linux 2.6.23.13 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_GB.ISO-8859-15 (charmap=ISO-8859-15)
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-6            GNU C Library: Shared libraries
ii  libgcc1                 1:4.3-20080116-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-20080116-1   The GNU Standard C++ Library v3
ii  libuuid1                1.40.3-1         universally unique id library
ii  schroot-common          1.1.6-1          common files for schroot

schroot recommends no packages.

-- no debconf information





More information about the Buildd-tools-devel mailing list