Bug#361362: pbuilder: Patch to use "sudo -E" for PBUILDERROOTCMD by default
dancer at netfort.gr.jp
Mon Dec 21 13:20:55 UTC 2009
At Sun, 13 Dec 2009 11:37:57 +0100,
Loïc Minier wrote:
> > > -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
> Would you mind if we used this as the default in Debian as well?
Hmm... strange. I don't quite remember when it started working in Debian.
Yeah, let's do that.
More information about the Pbuilder-maint