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 +GKtLma8iWNlBwEAbAwnHQ (envelope-from ) for ; Fri, 02 Dec 2022 09:50:46 +0100 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 IHCHLma8iWO3aQEA9RJhRA (envelope-from ) for ; Fri, 02 Dec 2022 09:50:46 +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 8E5A2F359 for ; Fri, 2 Dec 2022 09:50:46 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p11kU-0003QF-9u; Fri, 02 Dec 2022 03:50:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p11kS-0003Q1-HX for help-guix@gnu.org; Fri, 02 Dec 2022 03:50:20 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p11kP-0005G1-UN for help-guix@gnu.org; Fri, 02 Dec 2022 03:50:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:references:date:in-reply-to: message-id:mime-version:content-transfer-encoding; bh=7W5ZE46iQGP2TiGTOnWEXFtv214MsI5f/25L0z4YcK4=; b=Nkm/n5mm46b+QdwyK47KLenkml1h7vQ9eTviPbnSoBfgLcPxtNy5PfZe NokSJqkZEZEjaYZBifTUfaoWRclkCvHm2ddv1+7JSCwcj7fWxKqFaADd4 vnIhUz+A8spCIVu9Gl+W9ETTSVEE9AdGF6wjFbn7LlurDBq8MxwDWUKuU 8=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="5.96,210,1665439200"; d="scan'208";a="41517678" Received: from unknown (HELO ribbon) ([193.50.110.137]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2022 09:50:13 +0100 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Reza Housseini Cc: help-guix@gnu.org Subject: Re: Installing guix on a cluster References: <5812d5dc-5f53-6b92-6845-9a2b627594f1@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Duodi 12 Frimaire an 231 de la =?utf-8?Q?R=C3=A9volu?= =?utf-8?Q?tion=2C?= jour du Raifort 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: Fri, 02 Dec 2022 09:50:13 +0100 In-Reply-To: <5812d5dc-5f53-6b92-6845-9a2b627594f1@gmail.com> (Reza Housseini's message of "Tue, 29 Nov 2022 14:53:04 +0100") Message-ID: <87edtiw5oa.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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.104; envelope-from=ludovic.courtes@inria.fr; helo=mail3-relais-sop.national.inria.fr X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-TUID: lniGbKJg5zH5 Hi Reza, Reza Housseini skribis: > I installing guix on our institutes cluster and followed the > instructions in this blog post [1]. But there are a couple of problems > I stumbled upon: > > - There is no mention how to mount the nfs shares on the nodes. I > added them to the /etc/fstab file but I'm unsure about the mount > options Just mount /gnu/store and /var/guix as NFS. The store should be mounted read-only; /var/guix must be writable. But that=E2=80=99s about it, no spe= cial options are needed. > - Thers is no guix binary on the nodes. I added a symlink to > /var/guix/profiles/per-user/root/current-guix/bin/guix in > /usr/local/bin Yes, that=E2=80=99s what needs to be done. > but when I try to install a package from a node I get an open-file > permission denied for > /var/guix/profiles/per-user/root/guix-profile.lock It looks like you=E2=80=99re running =E2=80=98guix=E2=80=99 on the node as = root. Try running it as non-root instead. (If you really want to be able to run =E2=80=98guix=E2=80=99 as root on the= nodes, then you need to pass the =E2=80=98norootsquash=E2=80=99 (not sure about the spe= lling) option for the /var/guix NFS mount. That=E2=80=99s not a great idea though.) > - In this email [2] it was mentioned I don't have to pass listen to > the guix-daemon, as the socket gets shared over nfs, but when I > remove the listen argument and try to install a package from a node > I get a failed to connect to /var/guix/daemon-socket/socket: > connection refused Unix-domain sockets cannot be shared over NFS. You have to use the =E2=80=98--listen=E2=80=99 option and set =E2=80=98GUIX_DAEMON_SOCKET=E2=80= =99 as explained in . HTH! Ludo=E2=80=99.