[ubuntu-dev] Bug#652000: /usr/bin/pbuilder-dist: pbuilder-dist ignores environment and has no way to set a custom pbuilderrc

Stefano Rivera stefanor at debian.org
Wed Dec 21 21:00:15 UTC 2011


severity 652000 minor
thanks

Lowering the severity, as this is about a minorish feature of one script

Hi Karl (2011.12.18_01:20:16_+0200)
> Perhaps it shouldn't suggest using DEBOOTSTRAP option, if it simply
> ignores it. It certainly set me down a wrong path.

What's suggesting that?

> 10:08:38  kgoetz at epicfail: /tmp $ PBUILDFOLDER=/home/kgoetz/custom-pbuilder /usr/local/bin/pbuilder-dist squeeze armel mainonly create
> /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin/:/usr/sbin/:/home/kgoetz/.bin/:/home/kgoetz
> W: /root/.pbuilderrc does not exist

You're being bitten by sudo's env_reset. This version of pbuilder-dist
didn't support it yet.

Newer versions pass HOME=$HOME to sudo.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127





More information about the ubuntu-dev-team mailing list