#461874 invalid $HOME in pbuilder -login session

#461874#5
Date:
2008-01-21 10:55:00 UTC
From:
To:
Hi Junichi,

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.

I noticed this by vim failing to save /home/beckmann/.viminfo (and being
noisy-and-request-pressing-enter about this) after editing some configuration.
This should have been /root/.viminfo.

Shell history is not preserved with this settings, too.


Andreas

#461874#10
Date:
2008-01-21 14:02:38 UTC
From:
To:
Hi,

Thanks for the report.

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