Bug#789868: pbuilder: pdebuild fails with sudo error

Vincent Lefevre vincent at vinc17.net
Mon Oct 5 14:40:45 UTC 2015


On 2015-10-05 13:31:48 +0000, Thorsten Glaser wrote:
> 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…

I have only enabled pbuilder to be executable via sudo (really, the
default configuration + minimal changes for pbuilder), not env, as
it would make *any* command executable via sudo.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the Pbuilder-maint mailing list