Hi, HOME is set to HOME=/tmp/buildd for buildpackage. Not quite sure about the ideal values for --login; pbuilder leaves most env-vars intact for --login, but not quite sure if the current behavior is useful or not.
Someone using --bindmount /home would notice the change tho'. At Mon, 11 May 2009 15:30:51 +0200, Loïc Minier wrote: > > Package: pbuilder > Version: 0.187 > Severity: normal > > Hi > > I was getting these errors from running gpg from a "pbuilder login > --save-after-login" session (to add a gpg key for apt): > + gpg --no-default-keyring --keyring /tmp/add-apt-key.XXqr1EBB/keyring > --keyserver keyserver.host --recv CA1245... > gpg: fatal: can't create directory `/home/lool/.gnupg': No such file or > directory > > Turns out that $HOME was set to /home/lool instead of /root or not set. > > I think pbuilder should either clear or set $HOME. > > Bye > -- > Loïc Minier > > > > _______________________________________________ > Pbuilder-maint mailing list > [email protected] > http://lists.alioth.debian.org/mailman/listinfo/pbuilder-maint > -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

