Bug#361362: pbuilder: Patch to use "sudo -E" for PBUILDERROOTCMD by default

Loïc Minier lool at dooz.org
Sun Dec 13 10:37:57 UTC 2009


> > -PBUILDERROOTCMD="sudo"
> > +PBUILDERROOTCMD="sudo -E"

On Fri, Feb 01, 2008, Junichi Uekawa wrote:
> This only works for ubuntu sudo.

 Actually I just tested this and it works with Debian's sudo as well:
 $ DIST=foo sudo env | grep DIST
 => nothing
 $ DIST=foo sudo -E env | grep DIST
 DIST=foo

 Would you mind if we used this as the default in Debian as well?

-- 
Loïc Minier





More information about the Pbuilder-maint mailing list