1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-16 20:10:39 +02:00
guix/nix
Ludovic Courtès 0d3bc50b0c
daemon: Use the guest GID in /etc/group.
Partly fixes <https://issues.guix.gnu.org/77862>.

Fixes a bug whereby, when running guix-daemon unprivileged, /etc/group
would contain the wrong GID for the “nixbld” group.  This inconsistency
would lead to failures in the Coreutils test suite, for instance.

* nix/libstore/build.cc (DerivationGoal::startBuilder): Use ‘guestGID’
when writing /etc/group.
* tests/store.scm ("/etc/passwd and /etc/group"): New test.

Reported-by: keinflue <keinflue@posteo.net>
Change-Id: I739bc96c4c935fd9015a45e2bfe5b3e3f90554a9
2025-04-25 20:25:54 +02:00
..
boost
libstore daemon: Use the guest GID in /etc/group. 2025-04-25 20:25:54 +02:00
libutil daemon: Close the read end of the logging pipe. 2025-03-26 17:57:43 +01:00
nix-daemon daemon: Catch SIGINT, SIGTERM, and SIGHUP for proper termination. 2025-04-14 17:33:11 +02:00
.gitignore
AUTHORS
COPYING
local.mk nix: Install guix-gc systemd timer. 2025-03-02 14:21:59 +02:00