[buildd-tools-devel] Bug#775091: sbuild: sbuild-updates creates two files in /tmp on every run
Sebastian Ramacher
sramacher at debian.org
Sun Sep 13 14:01:48 UTC 2015
Hi
On 2015-09-13 15:20:38, Johannes Schauer wrote:
> On Sun, 11 Jan 2015 09:46:31 +0100 Sebastian Ramacher <sramacher at debian.org> wrote:
> > sbuild-update creates two temporary files every run, but doesn't clean them
> > up:
> >
> > $ ls /etc/sbuild/chroot/unstable-amd64-sbuild/tmp
> > $ sbuild-update -udrc unstable-amd64-sbuild
> > ...
> > $ ls /etc/sbuild/chroot/unstable-amd64-sbuild/tmp
> > Akl89y9Pai ghBrITSJSA
> >
> > They are created in get_foreign_architectures
> > (lib/Sbuild/ResolverBase.pm). They attached patch fixes the issue and also
> > closes both file descriptors.
>
> I am not able to see the behaviour you describe. What is your setup?
This is enough to reproduce it in jessie:
$ sudo sbuild-createchroot \
--make-sbuild-tarball=/tmp/test.tar.gz \
sid `mktemp -d` \
http://localhost:3142/debian # replace with your own mirror
$ tar taf /tmp/test.tar.gz ./tmp
./tmp/
./tmp/WCV3MjvRTJ
./tmp/fbuo0WWY51
$ sudo sbuild-update -udrc sid-amd64-sbuild
$ tar taf /tmp/test.tar.gz ./tmp
./tmp/
./tmp/WCV3MjvRTJ
./tmp/fbuo0WWY51
./tmp/xstgwRr70t
./tmp/6VSNh4CcCe
Every run of sbuild-update adds to new files to /tmp in the tarball.
Cheers
--
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20150913/579a1dab/attachment-0001.sig>
More information about the Buildd-tools-devel
mailing list