Bug#461874: invalid $HOME in pbuilder -login session

Junichi Uekawa dancer at netfort.gr.jp
Mon Jan 21 14:02:38 UTC 2008


> Hi Junichi,

Hi,

Thanks for the report.

> in a pbuilder -login session the variable $HOME keeps the value of the
> user invoking pbuilder, which is obviously not valid inside the chroot.
> Probably should be set to /root if it's root's shell.

This is an oversight. HOME is set for --build target. I think it
should be set for --execute and --login sessions as well.  --update
and --build don't really need them, so methinks we can ignore them for
now.


regards,
	junichi
-- 
dancer@{debian.org,netfort.gr.jp}   Debian Project





More information about the Pbuilder-maint mailing list