From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0IP9A6HWSF+DawAA0tVLHw (envelope-from ) for ; Fri, 28 Aug 2020 10:04:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uNlGO6DWSF/eCwAAbx9fmQ (envelope-from ) for ; Fri, 28 Aug 2020 10:04:16 +0000 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 1B4EA9408FE for ; Fri, 28 Aug 2020 10:04:16 +0000 (UTC) Received: from localhost ([::1]:37566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBbF0-0003Ce-WA for larch@yhetil.org; Fri, 28 Aug 2020 06:04:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54766) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBbEs-0003CV-Bp for guix-devel@gnu.org; Fri, 28 Aug 2020 06:04:06 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21141) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kBbEq-0000oc-Ey for guix-devel@gnu.org; Fri, 28 Aug 2020 06:04:06 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1598609039; cv=none; d=zohomail.com; s=zohoarc; b=cWrHHztQcIU7uNKHXT6xNd/H3gftApfj/GDiqit0JFpjuW8txVrR8r8giQJViH5tHZaQH1NL2mdxEW6Bhl+OylrroCmgdGMRaDx1ZCclu+VUt/FzUiU/nkEseWp9PYymakIksPgNeLYJ1fuqI+YnCMxa863GwyfFGzyuc1AOyU0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1598609039; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=YNuKiGJ7sjNqVuZ0j+Z/r7KybPbnQlw2E8MdVlXsu90=; b=kGz9X43Fri7jEGwneFg9qgYBfZwD6UDjvmtt+T8/KasUYs538vvmlG/2SnqPtOkaPYgXnE7YTuhozfxBPJyWBWt7P1VouPPZ3AFmAu5LatkkBl4XhomY52UXRXM+b7FFPlKwupJ/UOCSj7a9faYBsrYtZ1wGCWKDkzWrXmNUT4w= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1598609039; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=YNuKiGJ7sjNqVuZ0j+Z/r7KybPbnQlw2E8MdVlXsu90=; b=QcFvGI9vXwd7oAe3NgY+xzzQp2IUmMsbvT5x4UR42Hp8KCt+U5YVXE8hDoNOynJf gpfFmWg3JJ9bQOJyFE9Our1Ff2ZhvnVTi/Etl3DEFgGLn+CQO5fa1LJcbgNOTlmKHnw TZMDHsXeDSTyBhL1mri8z6MwlPOw9cbC0dYr83Mo= Received: from localhost (p54ad4d64.dip0.t-ipconnect.de [84.173.77.100]) by mx.zohomail.com with SMTPS id 1598609036313442.6594533551662; Fri, 28 Aug 2020 03:03:56 -0700 (PDT) References: <87blivrtxy.fsf@inria.fr> User-agent: mu4e 1.4.13; emacs 26.3 From: Ricardo Wurmus To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: Dealing with foreign distros without nscd In-reply-to: <87blivrtxy.fsf@inria.fr> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 28 Aug 2020 12:03:53 +0200 Message-ID: <87wo1jnl2u.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/28 06:04:01 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=QcFvGI9v; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -2.21 X-TUID: nzzNnOvSp5Fq Ludovic Court=C3=A8s writes: > The workaround I found is to add =E2=80=98sssd=E2=80=99 to the pack, like= so: > > guix pack -RR -S /lib=3Dlib -S /bin=3Dbin sssd guile > > That way, on the other machine, you can set LD_LIBRARY_PATH such that > Guix=E2=80=99 libnss_sss.so gets loaded: > > tar xf /path/to/pack.tgz > LD_LIBRARY_PATH=3D$PWD/lib ./bin/guile -c '(pk (getpw (getuid)))' > > It works! However, if people have ideas of less arcane workarounds, I=E2= =80=99m > interested. Interesting! I wonder if this really is a general solution or if it only works under special circumstances (like the cluster node using sssd already). Will, for example, accounts that are managed via Active Directory / LDAP be visible if all we do is preload the Guix sssd libraries? --=20 Ricardo