Bug#693952: pbuilder: please change the default build place from /tmp/buildd to what Debian uses

Junichi Uekawa dancer at netfort.gr.jp
Sun Nov 25 22:20:48 UTC 2012


Sounds like it's a good thing if it were done.

This has been hardcoded default for more than 10 years and scripts
assume this path, one problem I see is that this build path is
hardcoded in user scripts and hard to modify without breaking
anything.


At Thu, 22 Nov 2012 14:07:36 +0800,
Paul Wise wrote:
> 
> Package: pbuilder
> Version: 0.213
> Severity: wishlist
> 
> The Debian buildd machines use this path to unpack and build source
> packages, please switch to it for compatibility:
> 
> /build/buildd-<package>_<binary-version>-<arch>-<XXXXXX>/

pbuilder uses one chroot for one package, would /build/buildd/ work or
should I have to use the randomized and long path; what's the
advantage (apart from compatibility) ?

> 
> The XXXXXX is the template from the mktemp --directory invocation.
> 
> The advantage of this is that no build systems will embed /tmp in their
> binaries nor build system, which means no potential security issues from
> that and also grepping source code for /tmp after a build becomes much
> less noisy.
> 
> -- 
> bye,
> pabs
> 
> http://wiki.debian.org/PaulWise



More information about the Pbuilder-maint mailing list