Subject: bug#34573: Backtrace of guix pull failed

From: Ricardo Wurmus <[email-masked]>
Date: Tue, 19 Feb 2019 17:08:55 +0100

Hi Vincent,

> I wanted to install python, numpy and conda on plafrim as explained here : https://www.plafrim.fr/en/guix/
> And guix pull failed :
[…]
> In ./guix/profiles.scm:
>   1773:23  2 (_)
> In ./guix/utils.scm:
>    661:47  1 (xdg-directory _ "/.config" #:ensure? _)
> In unknown file:
>            0 (getpw 10837)
>
> ERROR: In procedure getpw:
> In procedure getpw: entry not found

This looks like nscd is not running.

The manual says this:

    2.6.2 Name Service Switch
    -------------------------

    When using Guix on a foreign distro, we _strongly recommend_ that the
    system run the GNU C library’s “name service cache daemon”, ‘nscd’,
    which should be listening on the ‘/var/run/nscd/socket’ socket.  Failing
    to do that, applications installed with Guix may fail to look up host
    names or user accounts, or may even crash.

Could you check that NSCD is in fact available and running?

-- 
Ricardo