Bug#789868: pbuilder: pdebuild fails with sudo error

Thorsten Glaser tg at mirbsd.de
Mon Oct 5 13:31:48 UTC 2015


Vincent Lefevre dixit:

>This doesn't work with the default sudo configuration:

Eh?

>$ sudo DIST=gutsy pbuilder
>sudo: sorry, you are not allowed to set the following environment variables: DIST

Works here… anyway, use this then:

$ sudo env DIST=gutsy pbuilder

This will always work, unless sudo intercepts “env” too…

bye,
//mirabilos
-- 
<igli> exceptions: a truly awful implementation of quite a nice idea.
<igli> just about the worst way you could do something like that, afaic.
<igli> it's like anti-design.  <mirabilos> that too… may I quote you on that?
<igli> sure, tho i doubt anyone will listen ;)



More information about the Pbuilder-maint mailing list