Package: buildbot-slave Version: 0.8.3-1 Severity: important Tags: patch Due to the usage of a wrong variable in the init script, the value of SLAVE_PREFIXCMD[ ] is not being used. This breaks buildbots that should run in a chroot environment.
Andreas -- System Information: Debian Release: 6.0.1 APT prefers stable APT policy: (800, 'stable'), (700, 'testing'), (600, 'unstable'), (500, 'stable-updates'), (130, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages buildbot-slave depends on: ii adduser 3.112+nmu2 add and remove users and groups ii python 2.6.6-14 interactive high-level object-orie ii python-twisted-core 10.1.0-3 Event-based framework for internet ii python-twisted-words 10.1.0-1 Chat and Instant Messaging ii python2.6 2.6.6-8+b1 An interactive high-level object-o buildbot-slave recommends no packages. Versions of packages buildbot-slave suggests: pn buildbot <none> (no description available) ii cvs 1:1.12.13-12 Concurrent Versions System ii git [git-core] 1:1.7.2.5-1 fast, scalable, distributed revisi ii git-core 1:1.7.2.5-1 fast, scalable, distributed revisi ii subversion 1.6.12dfsg-5 Advanced version control system -- Configuration Files: /etc/default/buildslave changed [not included] /etc/init.d/buildslave changed [not included] -- no debconf information
--- /etc/init.d/buildslave.foo 2011-05-23 18:53:06.000000000 +0200 +++ /etc/init.d/buildslave 2011-05-25 14:51:22.000000000 +0200 @@ -85,7 +85,7 @@ function slave_op () { op=$1 ; mi=$2 - ${SLAVE_PREFIXCMD[$1]} \ + ${SLAVE_PREFIXCMD[$mi]} \ su -s /bin/sh \ -c "$SLAVE_RUNNER $op --quiet ${SLAVE_OPTIONS[$mi]} ${SLAVE_BASEDIR[$mi]}" \ - ${SLAVE_USER[$mi]}