Package: cowdancer
Version: 0.37

hiya,

It seems that BUILDRESULT defined in my ~/.pbuilderrc is ignored when invoking 
cowbuilder using sudo or as root.
When using sudo, cowbuilder tries to source /root/.pbuilderrc instead.
~/.pbuilderrc contains BUILDRESULT=${HOME}/pbuilder/result.

I'm just guessing here, but in parameter.c load_config_file( ) resets the 
environment
and I lose my $HOME. Could the 'env -' be removed?
Thanks.


$ cowbuilder --dumpconfig
dump config
 mountproc: 0
 mountdev: 0
 mountdevpts: 0
 save_after_login: 0
 memory_megs: 128
 buildplace: /var/cache/pbuilder/build//cow.10363
 buildresult: /pbuilder/result
 basepath: /var/cache/pbuilder/base.cow
 mirror: http://archive.ubuntu.com/ubuntu
 distribution: gutsy
 kernel_image: (null)
 initrd: (null)
 arch: (null)

$ sudo cowbuilder --dumpconfig
bash: /root/.pbuilderrc: No such file or directory
dump config
 mountproc: 0
 mountdev: 0
 mountdevpts: 0
 save_after_login: 0
 memory_megs: 128
 buildplace: /var/cache/pbuilder/build//cow.10282
 buildresult: /var/cache/pbuilder/result/
 basepath: /var/cache/pbuilder/base.cow
 mirror: http://archive.ubuntu.com/ubuntu
 distribution: gutsy
 kernel_image: (null)
 initrd: (null)
 arch: (null)



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to