From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yN2jKfge6GKU3gAAbAwnHQ (envelope-from ) for ; Mon, 01 Aug 2022 20:44:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EEqQKfge6GIP1QAA9RJhRA (envelope-from ) for ; Mon, 01 Aug 2022 20:44:08 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 767FC28E8E for ; Mon, 1 Aug 2022 20:44:08 +0200 (CEST) Received: from localhost ([::1]:35498 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oIaOd-0005vS-Ef for larch@yhetil.org; Mon, 01 Aug 2022 14:44:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIaIl-00039A-2s for help-guix@gnu.org; Mon, 01 Aug 2022 14:38:03 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:51152) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIaIj-0003o2-0A for help-guix@gnu.org; Mon, 01 Aug 2022 14:38:02 -0400 Received: from cpe-107-15-18-231.nc.res.rr.com ([107.15.18.231] helo=leyden.home.eronel.org) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oIaIa-0004rh-SY; Mon, 01 Aug 2022 14:37:52 -0400 Date: Mon, 1 Aug 2022 14:37:52 -0400 (EDT) From: Jack Hill To: Christopher Batten cc: Chris Marusich , Ricardo Wurmus , "help-guix@gnu.org" Subject: Re: "user with UID not found" error In-Reply-To: Message-ID: <1f11431a-cdcd-2527-4b81-ba5a10e9c053@jackhill.us> References: <91970305-9EFC-467D-ADC4-BE7AE10A0948@cornell.edu> <87tu79q78k.fsf@elephly.net> <87h732radc.fsf@elephly.net> <578194AB-E4D5-4A72-B974-5EE63A0CB422@cornell.edu> MIME-Version: 1.0 Received-SPF: pass client-ip=104.248.1.95; envelope-from=jackhill@jackhill.us; helo=minsky.hcoop.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659379448; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=7KOoDdB/FD9nFJt+cY/EQjy0rpZEcdwzj7Ce+fVyJUs=; b=YZOoKusHE88hH++2BcfGJJfpeKY4XDBEqc4fVEQDLYT6pgvAQePt/fFIMv1bS+4B4yCOjR ApWc4lb21qZaputXOOm+EVmmoaGG4jZKlEq79YXEmsnA3Cjejl7j1LqzPDWW6DJixDKz1D BTj7F9urgjhWG6MNGF1yrG9y6BZsBX0AZlWCoQvvN7Ly78tNFi3FQ/m0gXF0iTpkVMBWKf nMjIHO+a0qz8uDeN5kU7FNZXXQD/n1Ncr96MVMV6LbYWzYmqGnUXOJhjPSPdtvg9eyFpEj KaDcSPwBOLAh27/lt5cILjHKuEDElz0wdL1OZ0kRwJC9qz7jeR/JyJv+rriVwg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659379448; a=rsa-sha256; cv=none; b=czcg3mFOoAjXSW1KPgruVyP3CHoP6jOFHFfSGQxftKMgW+D7t4nC/yT+K3oFlCTgpMbLba O5A59mE4viE1icFFzfc69djxDbORW9RqBnYvClatpq0EQlEZsoubrNBt8sSKlGWEey4gbj tquo1Yz0FxfTN7BGy3RheIpGqiuXYp6BUwjzx467tO/Ew4hoagJFKmKtBgAqvfJWyZsAGq 9GzuHJJycct+73s2FZVDX5JT/v8iUy139uNIgzXYcBm6ncEaexT4hW8d0LDzsuKNS0RVvl 0ZLSelEGVWoreDOj6qZxa346zYyEanvCULG4QJ+YicKsQZATu2EdlTWuHOcSTQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.22 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 767FC28E8E X-Spam-Score: -3.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: P7+/4BUIYJ4a On Mon, 1 Aug 2022, Christopher Batten wrote: >>>>> On Jul 27, 2022, at 8:44 AM, Ricardo Wurmus wrote: >>>>> >>>>> Hi Christopher, >>>>> >>>>>> Turns out we are using SSSD not NCSD on our Linux systems. It seems to be working fine: >>>>> >>>>> You will need to run NSCD if you want Guix software to be able to talk >>>>> to the system’s SSSD. The reason is that SSSD works by having >>>>> applications load a library whereas NSCD implements a network protocol. >>>>> Software built with Guix cannot load the system libary due to ABI >>>>> conflict, but it *can* talk to NSCD over the network. >>>>> >>>>> The system NSCD talks to the system SSSD, so there’s no problem there. >>>>> >>>>> -- >>>>> Ricardo >>> >>> On Wed, Jul 27, 2022 at 12:51 PM Christopher Batten wrote: >>> >>> Hmmm ... this made me think that running both was not a great idea? >>> >>> https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system-level_authentication_guide/usingnscd-sssd >>> >>> But I am not an expert on any of this :) I guess the key is to just make sure you only enable caching for hosts in /etc/nscd.conf? >>> >>> Best, >>> Chris >> >> On Jul 28, 2022, at 9:14 PM, Chris Marusich wrote: >> >> FYI: https://lists.gnu.org/archive/html/guix-devel/2022-02/msg00263.html > > Thanks for everyone's help! I think I understand now: the key is if we want to use guix, then we really do want to run NSCD and SSSD on these RHEL/CentOS systems if at all possible. > > So I think we just now need to follow the instructions here? > > https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system-level_authentication_guide/usingnscd-sssd > > Or do you recommend a different way to run NSCD and SSSD at the same time on RHEL/CentOS systems? > > Once we figure this out maybe we should add a note about this in the Guix docs here: > > https://guix.gnu.org/manual/en/html_node/Application-Setup.html > > Especially if Fedora is intending to remove NSCD? > > Thanks! > Chris I think I've run into a similar issue trying to run packs as well (in my case on AlmaLinux 9). I produced a pack with `guix pack -f tarball -RR -S /bin=bin screen sssd glibc` and running screen from the pack reports: "getpwuid() can't identify your account!" screen might be a special-case of program, but it seems the problem exists in some way even when not trying to install Guix. Best, Jack