Bug#422354: [Buildd-tools-devel] Bug#422354: schroot: Regex mismatch
in sbuild/sbuild-run-parts.cc leads to unwanted execution of
stray dpkg conffiles
Roger Leigh
rleigh at whinlatter.ukfsn.org
Sat May 5 17:11:30 UTC 2007
found 422354 1.1.1-1
notfound 422354 1.0.5-1
severity 422354 important
thanks
Adeodato Simó <dato at net.com.org.es> writes:
> * 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.
Hmm, that's odd. I now can't reproduce it with the stable version,
but I can with a later version (1.1.1-1). However, both are using
exactly the same searches. I'll need to investigate that further, but
it appears that the version in stable and unstable at least is not
susceptible to this problem.
Thanks,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20070505/ed3a33d2/attachment.pgp
More information about the Buildd-tools-devel
mailing list