Subject: Re: bug#35623: FW: bug#35623: guix pull failed on RHEL7
From: Ludovic Courtès <[email-masked]>
To: Karrick McDermott <[email-masked]>
Cc: "[email-masked]" <[email-masked]>
Date: Sat, 11 May 2019 20:12:08 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Karrick McDermott <[email-masked]> skribis:

> 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`.

In this case this is done on purpose, to make sure that the execution
environment of this program is well under control.

Commit 48d498c2c3984784336b27ba5e261319f3ac6a3a lets HOME pass through,
which should sidestep the problem you encountered.

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

Yes, as the manual explains, you’ll really need to run nscd for proper
operation.

Thank you,
Ludo’.