From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CMkBAMwyJ2L/lgAAgWs5BA (envelope-from ) for ; Tue, 08 Mar 2022 11:41:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WBwMOcsyJ2I86gAA9RJhRA (envelope-from ) for ; Tue, 08 Mar 2022 11:41:15 +0100 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 4A6CB3777C for ; Tue, 8 Mar 2022 11:41:15 +0100 (CET) Received: from localhost ([::1]:57598 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRXHG-00008u-2U for larch@yhetil.org; Tue, 08 Mar 2022 05:41:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRXH1-00008j-Fw for help-guix@gnu.org; Tue, 08 Mar 2022 05:40:59 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:39702) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRXGx-00054Y-03 for help-guix@gnu.org; Tue, 08 Mar 2022 05:40:58 -0500 X-IronPort-AV: E=Sophos;i="5.90,164,1643670000"; d="scan'208";a="24988042" Received: from unknown (HELO ribbon) ([193.50.110.159]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Mar 2022 11:40:51 +0100 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Jean-Christophe HAESSIG Subject: Re: Nss libraries not found when using guix pack References: <8e232d15-fdf1-35c3-f6b9-d075936a4830@igbmc.fr> <19845aa3-1f42-64ed-c67f-d25a2ee994ff@igbmc.fr> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 18 =?utf-8?Q?Vent=C3=B4se?= an 230 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 08 Mar 2022 11:40:50 +0100 In-Reply-To: <19845aa3-1f42-64ed-c67f-d25a2ee994ff@igbmc.fr> (Jean-Christophe HAESSIG's message of "Wed, 2 Mar 2022 12:20:40 +0000") Message-ID: <874k487mml.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=192.134.164.83; envelope-from=ludovic.courtes@inria.fr; helo=mail2-relais-roc.national.inria.fr X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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 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: , Cc: "help-guix@gnu.org" Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1646736075; 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=V1PFxg3E1CTQEIwfnrjb+ooBmD3vwmddNuxSMqHbA1c=; b=tSp6FHEwOsYe24WUE4lkFRJqCPvUZCtNBD6aLvnvijGVDiwjzPYXZ+rACm8mxef6P8wRYu vMqSLQ19wF0U/jonkyaFI6yO2fI5z4UnTARexRkzJkYWawNFz96rAlPlnzOzOpunD5xhZF dnLCMAbYh+4Hfx4WjQ1IBV3GLCfesjpoD8tcdicVkunuuqgY8WPb7Ag8cNSLqxJdcX5yo9 vFszGPNiDSyiVik1BbO+nrm4lHeeTcO8QvMVfPd8Ru+Oj6P1mva25a0MS50Bgotn7Cs62s jKTl6Ww7q5njUW0tulmtz8GzpbqEfP05Yn2wHNAhC3WwefE6RilnbZJpO1vh2g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646736075; a=rsa-sha256; cv=none; b=uaUiY4X8Q0ymJnFqp4XgMYwVla26DcvpjhQIhLGgx2x98HznwS6lhWtV97XDl28wkwjk+F Pxv3HDAi4MyJ+bRGBRgheruHIf/wfGJc3l00SgByknYLAzonif2aWuumTAIr8zEtBun9XI 4jSlJgK3m2Ul455LEoEYCMeWjTSqcKFgADcNn3TFflnEfJiulbZi5k37J9kVCWy6x4ixXp /n9jO/KUlhQu0g2KmVaNYEhsJ7+KgbCJ4iSjIQknGKfqFkAELb9oCsfvlBKtVFsZOSp9Nr 0mI48scVSxeRfWTU2UPAUsL4QMkbUe3WrIW/4oLMTntj+Ve5O+o0HKyM2P4DMA== 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: 4A6CB3777C X-Spam-Score: -3.22 X-Migadu-Scanner: scn1.migadu.com X-TUID: NLWc5nqjkvQQ Salut Jean-Christophe, :-) Jean-Christophe HAESSIG skribis: > On 02/03/2022 10:46, Jean-Christophe HAESSIG wrote: > >> I tried to deploy Slurm using guix pack : >> guix pack -R -S /sbin=3Dsbin -S /bin=3Dbin slurm@19.05.8 nss-pam-ldapd s= ssd >>=20 >> User and authentication data comes from ldap (sssd). The libraries are >> present but the Slurm binary does not find them, and fails with an >> invalid user error. > > I jumped that hurdle with LD_PRELOAD, but this is not an acceptable fix=20 > of course. Yeah, I did something similar in the past: https://lists.gnu.org/archive/html/guix-devel/2020-08/msg00168.html Maybe we could have a package transformation option, say =E2=80=98--with-nss-plugins=3D=E2=80=A6=E2=80=99, that would wrap binaries = to have LD_LIBRARY_PATH pointing to the chosen NSS plugins. Not pretty, but I=E2=80=99m afraid this is hardly avoidable. Thoughts? > However, I did that only to realize that Slurm in guix is compiled > without mysql support, so I'll need to change the package, which I > have never done. This would be a welcome change, though it would have a noticeable impact on the closure size: --8<---------------cut here---------------start------------->8--- $ guix size slurm |tail -1 total: 134.7 MiB $ guix size slurm mariadb |tail -1 total: 421.4 MiB --8<---------------cut here---------------end--------------->8--- > I wanted to use Slurm from Guix because Debian does not provide every=20 > possible Slurm version. This can be a problem when a Slurm cluster must=20 > be upgraded without shutting it down completely. I hoped to gain some=20 > independence from my host distribution but it appears that won't be so=20 > simple... Interesting. From our earlier discussion, this sounds like quite an endeavor, but I=E2=80=99d be curious to know what the stumbling blocks are = and how we can overcome them! Thanks, Ludo=E2=80=99.