GNU bug report logs - #78152
[guix-daemon] Build user's pw_dir != HOME

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Tue, 29 Apr 2025 23:20:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 78152 <at> debbugs.gnu.org (full text, mbox):

From: Tomas Volf <~@wolfsden.cz>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 78152 <at> debbugs.gnu.org
Subject: Re: bug#78152: [guix-daemon] Build user's pw_dir != HOME
Date: Thu, 01 May 2025 13:49:09 +0200
Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:

> Hi,
>
> There is a discrepancy in our build environment, where the build user's
> directory is set to '/' while HOME is set to '/homeless-shelter'.
> Normally both should match, and it trips some test suite that assumes
> this to be the case, as with libssh's [0].
>
> Perhaps '/homeless-shelter' could be made to more simply be '/', or
> pw_dir could be made to be '/homeless-shelter'.
>
> What do you think?

I would prefer the latter.  I know this is just the build container, but
it still would likely be preferable not to litter / with garbage.  IMO.

>
> [0]  https://gitlab.com/libssh/libssh-mirror/-/issues/302#note_2475036715

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.




This bug report was last modified 9 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.