[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Writing outside of build dir



Hi!

Quoting Christian Seiler (2016-11-26 01:30:59)
> On 11/26/2016 01:59 AM, Ross Vandegrift wrote:
> > Could you point me to this policy?  I'd like to learn more, but haven't
> > been able to find it.
> I just checked and it really isn't in there.

Oh. This is odd. I just reported #845715 to rectify this situation.

> My guess is that it probably never got added to policy because autobuilders
> fail with similar errors as pbuilder does, so packages that violate this
> FTBFS, which is an automatic RC bug, regardless of policy.

More specifically, autobuilders use sbuild which also sets $HOME to
/sbuild-nonexistent for package builds. If the source package tries to create
that path it will fail because it lacks permissions to do so.

This practice of course doesn't catch source packages which will not write into
$HOME if it does not exist but will do so if it does. It would be interesting
to do an archive rebuild with $HOME set to a writable location and to record
which source packages still violate this rule.

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature


Reply to: