[buildd-tools-devel] Bug#775091: sbuild: sbuild-updates creates two files in /tmp on every run

Sebastian Ramacher sramacher at debian.org
Sun Jan 11 08:46:31 UTC 2015


Package: sbuild
Version: 0.65.0-1
Severity: minor
Tags: patch

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.

Cheers
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Close-file-descriptors-and-remove-temporary-files.patch
Type: text/x-diff
Size: 1208 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20150111/7c1c587f/attachment.patch>
-------------- 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/20150111/7c1c587f/attachment.sig>


More information about the Buildd-tools-devel mailing list