Bug#441052: pbuilder: make $HOME non-writable, like in sbuild
Niko Tyni
ntyni at debian.org
Sat Apr 10 08:09:53 UTC 2010
On Thu, Sep 06, 2007 at 10:44:51PM +0900, Junichi Uekawa wrote:
> > Package: pbuilder
> > Version: 0.171
> > Severity: wishlist
> >
> > I recently had some build failures on autobuilders due to $HOME not
> > being writable (or existent) there. This is fine, because package
> > builds shouldn't be writing in home directories. It would be nice if
> > pbuilder would also refuse to do this, so it can be used (even better)
> > to check if autobuilding will work.
>
> Hmm.. The original behavior of pbuilder was to set $HOME to random
> place, but it's changed because that's a POSIX requirement.
I suppose sbuild / buildds don't care about that...
> Making $HOME point to some read-only place might be better.
Please make it possible to at least override $HOME in pbuilderrc.
I'd very much like to find bugs like #577011 earlier instead of
seeing failures on every autobuilder.
As it is, /usr/lib/pbuilder/pbuilder-buildpackage unconditionally
sets $HOME AFAICS.
Many thanks for your work,
--
Niko Tyni ntyni at debian.org
More information about the Pbuilder-maint
mailing list