Bug#563728: pbuilder: "sudo -E" doesn't work
Loïc Minier
lool at dooz.org
Mon Jan 4 23:18:37 UTC 2010
forcemerge #563209 563728
stop
Hi
On Mon, Jan 04, 2010, Philipp Matthias Hahn wrote:
> $ debuild-pbuilder
> /usr/bin/debuild-pbuilder: Zeile 14: sudo -E: Kommando nicht gefunden.
Thanks; this is known and pending, see #563209
> $ debuild-pbuilder
> sudo: sorry, you are not allowed to preserve the environment
I'm afraid you need the setenv flag in sudoers:
-E The -E (preserve environment) option will override the
env_reset option in sudoers(5)). It is only available when
either the matching command has the SETENV tag or the
setenv option is set in sudoers(5).
I seem to be able to run "sudo -E whatever" with the default squeeze
config; did you change your sudoers?
If this is still an issue for you, would you mind filing a separate
report or cloning this one?
Thanks,
--
Loïc Minier
More information about the Pbuilder-maint
mailing list