Hello everybody,
this bug seems due to the changes in sudo, i.e. it does not retain the $HOME
env var:

$ sudo env | grep ^HOME
HOME=/root

forcing the setting of $HOME makes cowbuilder honor ~/.pbuilderrc again (see
later). This is tricky, and thus should be fixed in cowbuilder itself.

I have BINDMOUNTS="/deb/local" in my .pbuilderrc, and this is what happens:

$ sudo cowbuilder  --update 
[..]
W: Failed to fetch file:/deb/local/./Packages  File not found
[..]
$

$ sudo HOME=/home/david cowbuilder  --update 
[..]
Ign file: ./ InRelease
Get:1 file: ./ Release.gpg [72 B]
Get:2 file: ./ Release [712 B]
[..]

i.e. it finds my bindmount.

Kindly,
David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature

Reply via email to