On Sun, 8 Jun 2008 21:22:07 +0200
"Jeffrey Ratcliffe" <[EMAIL PROTECTED]> wrote:

> 2008/6/8 Martijn van Iersel <[EMAIL PROTECTED]>:
> > I'm trying to create multiple pbuilders, as described in
> > https://wiki.ubuntu.com/PbuilderHowto. I'm using the exact
> > pbuilderrc mentioned in the howto, but with intrepid added to the
> > list of possible values for DIST. It's not working. For some reason
> > my .pbuilderrc is ignored. For example, if I do
> >
> > [EMAIL PROTECTED]:~$ DIST=blah sudo pbuilder create
> 
> I had exactly the same problem, and ended up solving it with:
> 
> sudo DIST=blah pbuilder create
> 
> i.e. the version of sudo in hardy doesn't seem to hand on the
> environmental variables.
> 
> Regards
> 
> Jeff
> 
This behavior is correct.
Sudo shouldn't hand on variables. You start a new shell when you do
sudo and therefor variables will be reset.
Type 'env' as your user and then 'sudo env' and you will see that
variables set as a normal user aren't available.


-- 
Peter van der Does

GPG key: E77E8E98
Blog: http://blog.avirtualhome.com
Forums: http://forums.avirtualhome.com
Jabber ID: [EMAIL PROTECTED]

GetDeb Package Builder
http://www.getdeb.net - Software you want for Ubuntu

Attachment: signature.asc
Description: PGP signature

-- 
Ubuntu-motu mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu

Reply via email to