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


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 78152-done <at> debbugs.gnu.org
Subject: bug#78152: [guix-daemon] Build user's pw_dir != HOME
Date: Wed, 07 May 2025 10:54:26 +0200
Hello,

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

>> (Note that the unprivileged daemon does introduce some discrepancies,
>> and this is something we should fix as much as possible.)
>
> Hm, perhaps if the 'as much as possible' != 'everything', we could use
> this breaking opportunity to bundle a few changes like this one?

I would rather not (especially since this particular issue hasn’t been a
problem until now, and for only one package).  But overall it’s tricky:
some discrepancies are unavoidable.  So the real question is how likely
it is that package build systems and test suites will behave differently
because of these discrepancies, and often it’s really hard to tell
upfront.

> A way that could perhaps be used here would be to bump the daemon's
> version, and expose this to the build so that some phases code can be
> conditional to the daemon version.  Not very elegant, but it'd at least
> allow us fixing this kind of issue in the daemon.

I would prefer not to as this goes against the model where we assume the
build environment to be set in stone.

But I don’t know, we’ll have to think through it.

Thanks,
Ludo’.




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.