[Pbuilder-maint] Bug#361362: Bug#361362: PBUILDERROOTCMD should default to "sudo -E"

dAniel hAhler debian-bugs at thequod.de
Thu Dec 13 19:35:36 UTC 2007


On Thursday 13 December 2007 15:14:36 Junichi Uekawa wrote:

> Do you have example command-line that's broken?  I seem to remember
> something was broken, and I fixed something, but what is left still
> broken?

An example would be the recipe for "multiple pbuilders" at
https://wiki.ubuntu.com/PbuilderHowto#head-1be378ab60d3bab23eefabce49cf7df927d46f81

I'm used to calling "DIST=feisty pdebuild" to create a package in a feisty 
pbuilder.

The problem with PBUILDERROOTCMD="sudo" is, that $DIST makes it not into 
the "sudo" session anymore, when "sudo -E pbuilder --build" is called: 
therefore .pbuilderrc cannot dynamically change the settings based on $DIST 
and the default settings get used.

I'm unsure, if "sudo -E" will work for all users by default in Debian, based 
on the changelog entry for sudo 1.6.9p6-1ubuntu1, which says:
  * sudo.c, parse.c: Apply a change that was missing from the older upstream
    tarball that fixes the upstream solution of "SETENV is implicit for ALL".
    We do not want to deviate our orig.tar.gz from Debian's, though.

-- 
http://daniel.hahler.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20071213/91a6ccbb/attachment.pgp 


More information about the Pbuilder-maint mailing list