Subject: bug#30298: core-updates: Failure to find the guixbuild group

From: [email-masked] (Ludovic Courtès)
Date: Wed, 31 Jan 2018 23:52:23 +0100

Leo Famulari <[email-masked]> skribis:

> On Wed, Jan 31, 2018 at 11:38:35PM +0100, Ludovic Courtès wrote:
>> I suppose it works if you start nscd on this Debian machine (as is the
>> case on GuixSD), right?
>
> Yes, `apt-get install nscd` does everything necessary to set up and
> start nscd, and then guix-daemon works.

OK.  (Note that running nscd is recommended anyway when using Guix on
foreign distros anyway.)

>> The question is why isn’t guix-daemon falling back to loading
>> libnss_files and reading /etc/groups directly.
>> 
>> How is this guix-daemon built?  What libc is it linked against?
>> Does /etc/nsswitch.conf exist and what does it contain?
>
> This guix-daemon is based on core-updates commit 76ef53eb828 (gnu:
> glslang: Update to commit b5b084624), on x86_64-linux.

If you stop nscd again and “strace -f” guix-daemon entirely, can you
check if it ever tries to open libnss_*?

Ludo’.