[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#35623: FW: bug#35623: guix pull failed on RHEL7

From: Karrick McDermott
Subject: bug#35623: FW: bug#35623: guix pull failed on RHEL7
Date: Fri, 10 May 2019 22:47:38 +0000

1. Glad you identified why `HOME` was unset, due to the 
`with-clean-environment` function. I am surprised a few environment variables 
are not conveyed through the code path, as `ssh` does for variables it deems 
safe, including `HOME`, `LOGNAME`, `TZ`, and `USER`.

2. My RHEL7 machine is _not_ running `nscd` as you surmised.  This machine was 
configured to use LDAP for user account management.  

3. Thanks for the link to the documentation for post-installation steps on 
non-Guix systems.  I had that page open in a tab, and never got to it because 
`guix pull` was failing before I got that far in the instructions.  I'm reading 
through those now. 

-----Original Message-----
From: Ludovic Courtès <address@hidden>
Date: Friday, May 10, 2019 at 6:23 PM
To: Karrick McDermott <address@hidden>
Cc: "address@hidden" <address@hidden>
Subject: Re: bug#35623: FW: bug#35623: guix pull failed on RHEL7

    Karrick McDermott <address@hidden> skribis:
    > In ./guix/utils.scm:
    >    661:47  1 (xdg-directory _ "/.config" #:ensure? _)
    > In unknown file:
    >            0 (getpw 10452)
    > ERROR: In procedure getpw:
    > In procedure getpw: entry not found
    > ?-guix pull: [1;31merror: [0mYou found a bug: the program 
    This happens because ‘with-clean-environment’ in
    ‘build-aux/build-self.scm’ clears the environment while executing
    “compute-guix-derivation”.  Thus ‘HOME’ is unset.
    Additionally, could it be that you’re not running nscd?  See:
    That said, we could also let ‘HOME’ through in the execution environment
    of “compute-guix-derivation”, it can’t hurt.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]