On Fri, Jul 23, 2010 at 10:58:49AM -0400, Daniel Richard G. wrote:
> On Fri, 2010 Jul 23 14:26+0200, Agustin Martin wrote:
> >
> > This is a bit strange, Is HOME undefined at your site? Or may be it is
> > nil'ed during unattended upgrades. If the last, I will make it
> > optional, it is used only for $userdefault which is only useful for
> > interactive use.
>
> I'm pretty sure it's the latter. (My installation is bog-standard.) I
> would have expected unattended-upgrades to run dpkg with HOME=/root as
> usual, but I suppose they have a good reason for unsetting it.
Thanks for the info,
I have committed a change to our git repo that will leave $userdefault
undefined unless $ENV{HOME} is defined and complain if is undefined
when used interactively.
If tests show no problems will go in next upload.
Cheers,
--
Agustin
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]