[buildd-tools-devel] Bug#591010: 1.15.8.{0, 1} behaviour change: dpkg-buildpackage -r no longer supports absolute paths, breaks sbuild

Guillem Jover guillem at debian.org
Sat Jul 31 03:44:46 UTC 2010


Hi!

On Fri, 2010-07-30 at 18:30:33 -0500, Jonathan Nieder wrote:
> Modestas Vainius wrote:
> >                                            I do believe that dpkg-buildpackage
> > should be changed to support absolute paths for -r again (what's the point not
> > to, they are more secure anyway?) and thus save sbuild users (buildd admins and
> > poor DDs) some time debugging and changing configuration.
> 
> I agree; that is a good reason to fix this in dpkg.

Exactly, fixed now in 1.15.8.2.

> However, I think sbuild is buggy here: it is friendlier to allow a
> command to be overridden by putting a better version in /usr/local/bin/
> (as policy §6.1 hints).
> 
> In other words, how about something vaguely like this patch? (not tested)

I agree with this. Even though I'm guessing the usage of absolute
paths might have been to try to make the code more robust, using only
command names makes it more future proof, as it allows those binaries
to move on the file system if need be, in addition to what Jonathan
said about allowing overriding.

thanks,
guillem



More information about the Buildd-tools-devel mailing list