[Buildd-tools-devel] Bug#422354: schroot: Regex mismatch in sbuild/sbuild-run-parts.cc leads to unwanted execution of stray dpkg conffiles

Adeodato Simó dato at net.com.org.es
Sat May 5 12:21:43 UTC 2007


* Roger Leigh [Sat, 05 May 2007 12:18:44 +0100]:

> Scripts in /etc/schroot/setup.d or /etc/schroot/exec.d are executed in the
> same manner as /bin/run-parts.  However, due to a mistake in the way
> filenames are checked with regular expressions, files ending in
> .dpkg-new, .dpkg-old, .dpkg-dist, .dpkg-tmp, etc.

For the record, I can't reproduce this with schroot 1.0.5-1. I have
10mount.dpkg-dist and 50chrootname.dpkg-old under /etc/schroot/setup.d,
and none of them gets executed (tested adding a 'set -x' statement
there). Both are executable.

Cheers,

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
Faced with the choice between changing one's mind and proving that there
is no need to do so, almost everyone gets busy with the proof.
                -- J.K. Galbraith





More information about the Buildd-tools-devel mailing list