From unknown Fri Jun 20 18:24:19 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#39551 <39551@debbugs.gnu.org> To: bug#39551 <39551@debbugs.gnu.org> Subject: Status: Cannot declare an NFS mount using the record Reply-To: bug#39551 <39551@debbugs.gnu.org> Date: Sat, 21 Jun 2025 01:24:19 +0000 retitle 39551 Cannot declare an NFS mount using the record reassign 39551 guix submitter 39551 Maxim Cournoyer severity 39551 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 10 14:42:09 2020 Received: (at submit) by debbugs.gnu.org; 10 Feb 2020 19:42:09 +0000 Received: from localhost ([127.0.0.1]:55458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1Ewb-0001xy-3D for submit@debbugs.gnu.org; Mon, 10 Feb 2020 14:42:09 -0500 Received: from lists.gnu.org ([209.51.188.17]:48291) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1EwZ-0001xr-LS for submit@debbugs.gnu.org; Mon, 10 Feb 2020 14:42:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45166) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1EwX-0003Q4-HW for bug-guix@gnu.org; Mon, 10 Feb 2020 14:42:07 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1EwW-0003Qs-F7 for bug-guix@gnu.org; Mon, 10 Feb 2020 14:42:05 -0500 Received: from mail-qv1-xf30.google.com ([2607:f8b0:4864:20::f30]:44418) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j1EwV-0003FW-Nh for bug-guix@gnu.org; Mon, 10 Feb 2020 14:42:04 -0500 Received: by mail-qv1-xf30.google.com with SMTP id n8so3747282qvg.11 for ; Mon, 10 Feb 2020 11:41:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=UGh9Ua9JMsmMwyRq+fOBH891sAw+dHK2jFXZyfl+PfI=; b=DACMtQNsL/jEJBkubI0f8NDUzOMsvoRyX3ESYfKC16RlTqBe34SPmYEBHXACFpk/t+ /8Y+n4vzrr7eikjQm6pYtTm1uB3euhT33KUdrmdBtgZyvu+nL2OPpTF30T3UW7hnk5ad OjJaPJbhrG29Nt4AkavcDq2u2dJQUxfL3CoUiyO/m57aVNauYerni9G03/xTUzyDeqI3 PhpQbQAQjY9WMVxOnGqBosZRPJF6RupocoV9iP+TsNA9gDmBZObZB8KUMpNGU95dMzmv wFXHxeFxSiDkSkyMMC47gUxwvkhMVEkfJvof8BstF/xMosLfDsWxXfcwqOLNGytVDXRK Z68g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=UGh9Ua9JMsmMwyRq+fOBH891sAw+dHK2jFXZyfl+PfI=; b=dKxFOmz1Ma0/A9bu9HctGW0mjPtFEDhd23Oem2Yh9+pHdKvCpCNBkPabYd5UDOOakX vh5FgLF18fHCOBzdocHxw2IcD+pb3wkzSk79T7nI3f4YHtiLVGfilm+dpWG+yJCfQRVc ucG4MI6qEFsn2Jh+ZWTAiR0DAFl2oKDxwUzMVH8oj8AmewMUw1jkrHausSYoKZeje0DG vKHGxdc7rWmudMWn1lOF4nhbE7SEYTMQOaP30flN/KcJcedaaNhYUheAE7rj5LwIAcs7 6+QgOc3dG/4oGSl8X2/ZDVII95MGGwZjIiXpjad0ZiVEokEEeX6Cz4DAaqBezg2xCRON Hv6g== X-Gm-Message-State: APjAAAV/+lsepdcm3gPUTxisMk+DFJSB883iTpTpgNYYRX+Il0xJFCmQ YZybrGFQACJF/GXuq2Kkkgj33Ef6 X-Google-Smtp-Source: APXvYqztjMixI7WqiULuM8xkC5NBrezeS53weExNG7ytHTlOT93N73duuTT/JtMavwxOMxhg3j6n2w== X-Received: by 2002:a05:6214:1634:: with SMTP id e20mr11465938qvw.205.1581363712632; Mon, 10 Feb 2020 11:41:52 -0800 (PST) Received: from kwak (mtl.savoirfairelinux.net. [208.88.110.46]) by smtp.gmail.com with ESMTPSA id j22sm627190qkk.45.2020.02.10.11.41.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Feb 2020 11:41:51 -0800 (PST) From: Maxim Cournoyer To: bug-guix Subject: Cannot declare an NFS mount using the record Date: Mon, 10 Feb 2020 14:41:50 -0500 Message-ID: <87pnem2ps1.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::f30 X-Spam-Score: 2.3 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: When I try adding an NFS mount point to my Guix System, like: --88--- [...] (file-system (device "192.168.1.10:/mnt/scratch/") (mount-point "/mnt/scratch/") (type "nfs") (options "rw,async,soft,noexec")) [...] Content analysis details: (2.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [209.51.188.17 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (maxim.cournoyer[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 2.0 SPOOFED_FREEMAIL No description available. X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) When I try adding an NFS mount point to my Guix System, like: --8<---------------cut here---------------start------------->8--- [...] (file-system (device "192.168.1.10:/mnt/scratch/") (mount-point "/mnt/scratch/") (type "nfs") (options "rw,async,soft,noexec")) [...] --8<---------------cut here---------------end--------------->8--- Reconfiguring fails with the message: error: device '192.168.1.10' not found: No such file or directory hint: If '192.168.1.10' is a file system label, write `(file-system-label "192.168.1.10")' in your `device' field. So it doesn't appear to be possible to declare an NFS mount currently, despite commit 0c85db79f7a8abc3bcdbf8931d959fe94306a5a1 that'd suggest it should be possible. Maxim From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 12 03:54:31 2020 Received: (at 39551) by debbugs.gnu.org; 12 Feb 2020 08:54:31 +0000 Received: from localhost ([127.0.0.1]:57808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1nmw-0008Si-NM for submit@debbugs.gnu.org; Wed, 12 Feb 2020 03:54:30 -0500 Received: from mail-qt1-f178.google.com ([209.85.160.178]:44988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1nmv-0008SW-30 for 39551@debbugs.gnu.org; Wed, 12 Feb 2020 03:54:29 -0500 Received: by mail-qt1-f178.google.com with SMTP id k7so993853qth.11 for <39551@debbugs.gnu.org>; Wed, 12 Feb 2020 00:54:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=M3sTvDSktpnUkhxtOpESUjxE36fyteduPCuzDTdp4o0=; b=us4nd4V27zEMyxTwEJTDpRMKC8a9AE/rArUFyjJcwDOaU+E4jEtO0oezlB9L9KDhIc +WMdWm80fluYml7kyvW95/Nt3lZTjQohpguGhhZSGAX4eR02cmOVu2QJGeE+42kuldm7 ORAUV84LyEQNb53CtdFFcJ8ji7wJDd1l9fjDuHUz1IJVXUoQnK3pkE/BCfFq44Riya9n aJbE29b0OB4jl46E7IMMWeQLwS2v4U5ldogJ6aMUZfbpGmIQrjjgZQ/B/cl7YM/mx1HY 5GPv3e9qcNBZFJuDCmQ6gKIHsRK/0/xZdfHIav7msioD1AJYyFvdb4ztJDdBoTuC6tUu f62Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=M3sTvDSktpnUkhxtOpESUjxE36fyteduPCuzDTdp4o0=; b=tkkY/NfFarmitPwxy9SOPgtWsMTtQ7zAMBJFzGeEHCpMFEmYMXPIasfAUTTn1lfzEz gCV/hUjgtS3PZ2b2rMFOPmduiS0DOI5Ic5zassvOMMq733DAMHCZLxwEOjo+gk4fRNkX aRuMRQkl3eThwUw4L6xlGLpha/Q3Hi4+D+uLAz0s0Czarf82er5pqHdzLZ69GYOKLtWZ SqLWH9Fm7Q25+CaAxLVftqINIfbpWDkyZYZQ5yMAlORmlxZXTraD73oie5VeOdOWT2TG N+TzB6kJQMgFOYur/SXGDLYBJDCA0DRlknFBDxosvmGAGMOdOuJFy7xwXj8E63FyGpi4 b+qw== X-Gm-Message-State: APjAAAWZp+4g/83KaWLJjcNyFWeCZQP9J7e6l1dRIElDBf14DkADh2hz MCHk/l5s75xzgCJaw/GOaSWwwIFW X-Google-Smtp-Source: APXvYqw9vP0PJZD49F7rdU3ebBp8xvNXa3e9jqpmJlvACarDQX16I7wErgZZ3URmQMxM6PE9yMy8Kg== X-Received: by 2002:ac8:4c90:: with SMTP id j16mr6122874qtv.298.1581497663366; Wed, 12 Feb 2020 00:54:23 -0800 (PST) Received: from apteryx (dsl-154-45.b2b2c.ca. [66.158.154.45]) by smtp.gmail.com with ESMTPSA id c45sm3840660qtd.43.2020.02.12.00.54.22 for <39551@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Feb 2020 00:54:22 -0800 (PST) From: Maxim Cournoyer To: 39551@debbugs.gnu.org Subject: Re: bug#39551: Cannot declare an NFS mount using the record References: <87pnem2ps1.fsf@gmail.com> Date: Wed, 12 Feb 2020 03:54:21 -0500 In-Reply-To: <87pnem2ps1.fsf@gmail.com> (Maxim Cournoyer's message of "Mon, 10 Feb 2020 14:41:50 -0500") Message-ID: <87d0akfao2.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39551 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Hello, Maxim Cournoyer writes: > When I try adding an NFS mount point to my Guix System, like: > > [...] > (file-system > (device "192.168.1.10:/mnt/scratch/") > (mount-point "/mnt/scratch/") > (type "nfs") > (options "rw,async,soft,noexec")) > [...] > > Reconfiguring fails with the message: > > error: device '192.168.1.10' not found: No such file or directory > hint: If '192.168.1.10' is a file system label, write > `(file-system-label "192.168.1.10")' in your `device' field. > > So it doesn't appear to be possible to declare an NFS mount currently, > despite commit 0c85db79f7a8abc3bcdbf8931d959fe94306a5a1 that'd suggest > it should be possible. > > Maxim The attached patch fixes this issue --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-scripts-system-Disable-checks-for-NFS-shares.patch >From 6aad93c3a2ccef9936cadeeab92edece7afac0dd Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 10 Feb 2020 15:06:50 -0500 Subject: [PATCH] scripts: system: Disable checks for NFS shares. Fixes issue #39551 (https://bugs.nu.org/39551). * guix/scripts/system.scm (check-file-system-availability): Ignore file systems of the NFS type. --- guix/scripts/system.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm index b0386a1392..26a1599a93 100644 --- a/guix/scripts/system.scm +++ b/guix/scripts/system.scm @@ -566,6 +566,8 @@ any, are available. Raise an error if they're not." (and (file-system-mount? fs) (not (member (file-system-type fs) %pseudo-file-system-types)) + ;; Fixes issue #39551 (see: https://bugs.gnu.org/39551). + (not (string-prefix? "nfs" (file-system-type fs))) (not (memq 'bind-mount (file-system-flags fs))))) file-systems)) -- 2.25.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 12 13:31:20 2020 Received: (at 39551) by debbugs.gnu.org; 12 Feb 2020 18:31:20 +0000 Received: from localhost ([127.0.0.1]:59035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1wnA-0007dQ-04 for submit@debbugs.gnu.org; Wed, 12 Feb 2020 13:31:20 -0500 Received: from ns13.heimat.it ([46.4.214.66]:46600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1wn8-0007d6-Jz for 39551@debbugs.gnu.org; Wed, 12 Feb 2020 13:31:19 -0500 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id 05ECA30056B; Wed, 12 Feb 2020 18:31:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id deNZfDeq21Dp; Wed, 12 Feb 2020 18:30:52 +0000 (UTC) Received: from bourrache.mug.xelera.it (unknown [93.56.161.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id 46F2C3000CB; Wed, 12 Feb 2020 18:30:52 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id B9654300A05; Wed, 12 Feb 2020 19:30:51 +0100 (CET) Received: (nullmailer pid 7469 invoked by uid 1000); Wed, 12 Feb 2020 18:30:51 -0000 From: Giovanni Biscuolo To: Maxim Cournoyer , 39551@debbugs.gnu.org Subject: Re: bug#39551: Cannot declare an NFS mount using the record In-Reply-To: <87d0akfao2.fsf@gmail.com> Organization: Xelera.eu References: <87pnem2ps1.fsf@gmail.com> <87d0akfao2.fsf@gmail.com> Date: Wed, 12 Feb 2020 19:30:50 +0100 Message-ID: <878sl7bqud.fsf@roquette.mug.biscuolo.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39551 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello, Maxim Cournoyer writes: > The attached patch fixes this issue [...] > diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm > index b0386a1392..26a1599a93 100644 > --- a/guix/scripts/system.scm > +++ b/guix/scripts/system.scm > @@ -566,6 +566,8 @@ any, are available. Raise an error if they're not." > (and (file-system-mount? fs) > (not (member (file-system-type fs) > %pseudo-file-system-types)) > + ;; Fixes issue #39551 (see: https://bugs.gnu.org/3955= 1). > + (not (string-prefix? "nfs" (file-system-type fs))) > (not (memq 'bind-mount (file-system-flags fs))))) > file-systems)) Please is it possible to also add nfs4 to this fix? Thanks! Gio' =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAl5ERFsACgkQ030Op87M ORK/ug/8Cu5dlInqojWT2Ki79/1WTOMl8BUiGAILx9mx7Of8R8xhU/3235sIH6sG hBkPJV+pLInMeIfKq5yLEvV1gDbvhzLwAnHoTvpxKRK+Q2mNiXD9EKBc+BqHUdUJ nkvmQZuJD7K9pAGKyMHZTUuUBYyD0t5P1SxOlpku0y1Mrire505rRHFoo8tMmshG GA1PHttLni9VRbnqmbnfaWeKf5S0MUVsVXNvK5dQt8nKUELn0Xs0dtcHWG4kTgId Lv+clDFyBqBmkYrijCatrLYf2LrLgwi97wE82jgNwrqcdIAMz+XFxNymMKoz+vJu 8hup2V5PUZ28s//RVPV3ba/FBDzCY3zLG5dS1Zm7daeIcoBYnTzpvl6zWnvWwk++ dtSljJMFRIy+PLZ3IWxoct7Dr0xIrlB2fRkCJsptvVDIfXZNbThzN3jujXrZrJyi F7zwdocHxffL2i0W0A9stSTNzR0cj18qhAbY9ENEXRhZwsEPuqrPHzWUmjkwTF2t SESKp10m0nMxWxs4ZHmxq6YvQ2fFJu62cy0S4CKuPGFQ8T8//oLBt8tYzhSTNFb0 nNrFkO6aN08r8+j9VB1jGBEazyl+UinaPhOoH3dP5/5Ci36dTdf0/ZH1p1D/NQDI XUPKju19XVpiAM/nQIwpBUFYy2wUwx/b+GPMFFh1QQCgEHbSwFU= =QWss -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 12 14:12:41 2020 Received: (at 39551) by debbugs.gnu.org; 12 Feb 2020 19:12:41 +0000 Received: from localhost ([127.0.0.1]:59063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1xRB-0000Bf-KI for submit@debbugs.gnu.org; Wed, 12 Feb 2020 14:12:41 -0500 Received: from mail-qv1-f44.google.com ([209.85.219.44]:40292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1xRA-0000BV-7e for 39551@debbugs.gnu.org; Wed, 12 Feb 2020 14:12:40 -0500 Received: by mail-qv1-f44.google.com with SMTP id q9so522272qvu.7 for <39551@debbugs.gnu.org>; Wed, 12 Feb 2020 11:12:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=a4PUAyJYK2D6pkDy4w1501zlOy2fD3t8dYLZK9+EqFE=; b=FyzmE7EeoPy+C2iLGiWynipOVg0MVE/uCTSsGQnqMBDts+bO9i2v+rxETuTTY1E5Yw qcX3jaAL+TJ6ysRdyx4H4a4k0ldZBOLJw6LkR696aG6JQOdTQCs6ew72iGhI2W/ISjuv aVMqWTtIE/b8/+pf9k/aMF4mPEA+WhankyTGD1rgVdt+g5M6rwO9ZXwEhH5V77Ed95Uf SLadIat51YgRzlS4W8NIm06KB1DK90NhK4PGjU7Uq12KmtMIN6L4xf9gBvwFv+8JMP+j 3MzKi/fYX+0WW09qRQqFjgb0qO2MsdtmkaDlzwV1S+vl1k+DMTIVkuizUmqS3SGQm0mK 4Hag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=a4PUAyJYK2D6pkDy4w1501zlOy2fD3t8dYLZK9+EqFE=; b=ABj29I6C8O4KR/zH1lA/VE73xgFWfEDt0wEJBD/IZaj7/2fUxyGRnVRk55zaNc3o/3 benl7N1ZBthy/IDcFcKD8bZlbR0QvIADFgue50WrdPjPO6rPs2SEuJiSCE/SJ2U170v4 iaoL6jzUnlOjkTOIxQU73IhCSVHuEmbxbIV4gihqUwO2vga+e57E51G580IDE76FIOFA CfICS9hXIwLypx899ojEx5u4NoY5lYszCEi1U0Z0so8s4bwZsJHogkVqn3poPy57pctl vs+PPrsZ5rgroSLNCsE/0aQA3wywPkNO1Z1gAEzU2phDGkcKWPBJ6b8RQOI8AOgZxzdq mkFw== X-Gm-Message-State: APjAAAVgAuy6HKBbyaphJefG5t2dQGL5VEvaKZ2ly2L3SckfHMKgSvkk A8O2VAnaS2ERdQ+Kt3iQFBbHZZGJ X-Google-Smtp-Source: APXvYqz0ryhQlGwKOeVzUrBgGfaj18tgbGqCpKrgy/2llXtShuyQOU8p6YB0L3dWyCi1yR76QPA5bA== X-Received: by 2002:a0c:cd8e:: with SMTP id v14mr8578148qvm.182.1581534754195; Wed, 12 Feb 2020 11:12:34 -0800 (PST) Received: from kwak ([2607:fad8:4:6:afc9:fe0d:91fc:113b]) by smtp.gmail.com with ESMTPSA id q5sm724657qkf.14.2020.02.12.11.12.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Feb 2020 11:12:33 -0800 (PST) From: Maxim Cournoyer To: Giovanni Biscuolo Subject: Re: bug#39551: Cannot declare an NFS mount using the record References: <87pnem2ps1.fsf@gmail.com> <87d0akfao2.fsf@gmail.com> <878sl7bqud.fsf@roquette.mug.biscuolo.net> Date: Wed, 12 Feb 2020 14:12:32 -0500 In-Reply-To: <878sl7bqud.fsf@roquette.mug.biscuolo.net> (Giovanni Biscuolo's message of "Wed, 12 Feb 2020 19:30:50 +0100") Message-ID: <8736bf39i7.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39551 Cc: 39551@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Giovanni, Giovanni Biscuolo writes: > Hello, > > Maxim Cournoyer writes: > >> The attached patch fixes this issue > > [...] > >> diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm >> index b0386a1392..26a1599a93 100644 >> --- a/guix/scripts/system.scm >> +++ b/guix/scripts/system.scm >> @@ -566,6 +566,8 @@ any, are available. Raise an error if they're not." >> (and (file-system-mount? fs) >> (not (member (file-system-type fs) >> %pseudo-file-system-types)) >> + ;; Fixes issue #39551 (see: https://bugs.gnu.org/39551). >> + (not (string-prefix? "nfs" (file-system-type fs))) >> (not (memq 'bind-mount (file-system-flags fs))))) >> file-systems)) > > Please is it possible to also add nfs4 to this fix? > > Thanks! Gio' It should work already, given that I'm checking for a string *prefix* of "nfs" :-). From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 12 14:13:51 2020 Received: (at 39551) by debbugs.gnu.org; 12 Feb 2020 19:13:51 +0000 Received: from localhost ([127.0.0.1]:59068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1xSI-0000DZ-UL for submit@debbugs.gnu.org; Wed, 12 Feb 2020 14:13:51 -0500 Received: from mail-qk1-f172.google.com ([209.85.222.172]:35735) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1xSH-0000DM-Dj for 39551@debbugs.gnu.org; Wed, 12 Feb 2020 14:13:49 -0500 Received: by mail-qk1-f172.google.com with SMTP id v2so3197177qkj.2 for <39551@debbugs.gnu.org>; Wed, 12 Feb 2020 11:13:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=brxUYrc/lY5aCXJKxajZmypNuFksN/pR4BSvHY9HdEQ=; b=mgmYrZiKJOk9UdXKOKrXL/VXkwo+t0OvANy2GQ3sBW0PsWY5r3KfvmrAqVoaprBtLO Bvx1Yd76tTgXMXMtAwe1WOASs4biT9WlBzUKihcNyiyqM0ZHgmHv0KcXk13MBSW7tOPW PHPRj6abUGNkCr0n82jPspRHQTzQSHOFS/qSLe0Nq2TeDljMG+qbDyAGUEgKi6/uDWtg KKoaD4mN5fmQMJZKDjAgSvq1BfyAexsYFC61mzPEhwc2JUKaNbx/Ricv1LOByyzKht35 WSaO1JfYYAfNt3VvjRrIFiiLwaMg3r7WEE4ymPQtEWDf0XSNJ+/6f7vtl2CCDrfuu7Ry n/dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=brxUYrc/lY5aCXJKxajZmypNuFksN/pR4BSvHY9HdEQ=; b=twTaVAM7g/IcAyUP9aBvjPRANGXHm070onCgDAsH9F5sLDDAC6v5cZvL4oIxZMCvou 5Q3Pq+4uGlDtjCSph0B888dvThcS9qysBbTVM52vWvSv4Gr/eSvdViCCOcUmZ1ctWgL6 WiRdo7mRP4RaeBYaaIVkZc0StyBvC2zwvPXkdwXdM349w3tKMSbuQKP2OZjYpMa5XoXY TgIUdyW+2M8ezqKo+Ru1hXMmahVeiL7hml3KTn0ukiGhk1s3WbNwqJlKiQjHSr+MMjFi khpr3I3OBiAwfE5d6zcBWmGmxuQd0c/HAziwbmwOUwaG2FYn944SGN9k0rTlGpOA+D2A b52A== X-Gm-Message-State: APjAAAX+bViZyEDPe8FmURPwQqnUTsd/CTE5CzR9PHgDvqy2OnyO7anX lcNeVHkzxuKB9c4a69OiShb8b7/2 X-Google-Smtp-Source: APXvYqwFa9g0w2EvbG5xEbAdWx7mWHS0JidO9DNJMBpALx0AYPgyS4cjzQBfjNZjprgcN7xAdhPBCQ== X-Received: by 2002:a37:9dc8:: with SMTP id g191mr12280908qke.171.1581534823671; Wed, 12 Feb 2020 11:13:43 -0800 (PST) Received: from kwak ([2607:fad8:4:6:afc9:fe0d:91fc:113b]) by smtp.gmail.com with ESMTPSA id s6sm18768qth.16.2020.02.12.11.13.43 for <39551@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Feb 2020 11:13:43 -0800 (PST) From: Maxim Cournoyer To: 39551@debbugs.gnu.org Subject: bug#39551: [PATCH v2] Cannot declare an NFS mount using the record References: <87pnem2ps1.fsf@gmail.com> <87d0akfao2.fsf@gmail.com> Date: Wed, 12 Feb 2020 14:13:42 -0500 In-Reply-To: <87d0akfao2.fsf@gmail.com> (Maxim Cournoyer's message of "Wed, 12 Feb 2020 03:54:21 -0500") Message-ID: <87wo8r1uvt.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39551 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Attached is v2 of the patch, fixing the comment in the code as reported by Tobias. Thank you! --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-scripts-system-Do-not-validate-network-file-systems.patch >From 666ce396f2a53bec4d88ee90c1612166421f3ed8 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 10 Feb 2020 15:06:50 -0500 Subject: [PATCH] scripts: system: Do not validate network file systems. Fixes issue #39551 (https://bugs.gnu.org/39551). * guix/scripts/system.scm (check-file-system-availability): Ignore file systems of the NFS type. --- guix/scripts/system.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm index b0386a1392..ac2475c551 100644 --- a/guix/scripts/system.scm +++ b/guix/scripts/system.scm @@ -566,6 +566,8 @@ any, are available. Raise an error if they're not." (and (file-system-mount? fs) (not (member (file-system-type fs) %pseudo-file-system-types)) + ;; Don't try to validate network file systems. + (not (string-prefix? "nfs" (file-system-type fs))) (not (memq 'bind-mount (file-system-flags fs))))) file-systems)) -- 2.23.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 13 10:46:03 2020 Received: (at 39551) by debbugs.gnu.org; 13 Feb 2020 15:46:03 +0000 Received: from localhost ([127.0.0.1]:60366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2Ggk-00008n-Np for submit@debbugs.gnu.org; Thu, 13 Feb 2020 10:46:03 -0500 Received: from mail-qt1-f175.google.com ([209.85.160.175]:42229) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2Ggj-00008J-Qo for 39551@debbugs.gnu.org; Thu, 13 Feb 2020 10:46:02 -0500 Received: by mail-qt1-f175.google.com with SMTP id r5so4672153qtt.9 for <39551@debbugs.gnu.org>; Thu, 13 Feb 2020 07:46:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=nMoI51UBnOUXdYQVnPFdpFLmezFP7Btxv2prMVkYaJM=; b=FqLUr8faMJv3SWKtj6D679xJbn7WkeUXZ0EHNfeYLn1IMNO56quVjoy6ixiqk2xxlO TaKL3CT7XlyO7rkgrKkeeojG/dRQUXy2Ws3Yeieaa0z2agmYa9ZDJ6Ob3B0Szcw9l2DM KGVunpyciUCbArBV64E9vU24IRvbzxCo2VoUdeIgMlu8CvKIqpjemdNDDjT6eEko4+s9 dhPxvqDCW0/hYVAQQZZadHMRyQduXiSj+zxuLuXzy5llrarZoEpTIx2FT4voncNPre/0 0/GaCzNYCDwmcMg3lcGvfPgzbBRXz2CPH6qMyxeBIfpgq8XR1Xi6zNfXanNi/FKN6qN/ Ke/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=nMoI51UBnOUXdYQVnPFdpFLmezFP7Btxv2prMVkYaJM=; b=mFsO0907MPItz4GPkxBRMwSEewAtmBs6X8nC4tFWZrzuVr6zHvk0wYeV8fykQcN4V2 i37D4GOhDpFZIzvrRKvoRs05HuABqTALKLRc57vz0TLDG9uIX3vDq8bI93iHEAHPmZ6b afuU16qy/YGuMhk9gj0CKmSdCy+V5bamquzpjx1tQjvdLTXLMecJdC8+W21htHh6ovBp fJ4BLlekohBYremTB2p1NPHbSqZAS23tkgj7sWPDQlcKGBegMj6RkIeMr35I5x4wDiW1 ApVQLRzl7yGGeY+xGhCiD1eEuUDxsc7TxAxpYwT5g8rDe8ypJeKJZMOaU8GoJK8HAJrj t2Ug== X-Gm-Message-State: APjAAAURhEI0OtdjqGxwYhJz8ecFvGEC9Ihq8SON7/g8jl77xwqGGztm +SrjPROHG8I2HSXLEyqyLUMLVys7 X-Google-Smtp-Source: APXvYqw/oEUvnmqNIlAwjKHU/UwSYAXIjHOqG36twDr2sT5+u9Bk8eI2aZ10h0mv4JfyNrl15Ym/2g== X-Received: by 2002:ac8:734c:: with SMTP id q12mr11593732qtp.325.1581608755861; Thu, 13 Feb 2020 07:45:55 -0800 (PST) Received: from kwak ([2607:fad8:4:6:afc9:fe0d:91fc:113b]) by smtp.gmail.com with ESMTPSA id c25sm1500757qkc.12.2020.02.13.07.45.55 for <39551@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Feb 2020 07:45:55 -0800 (PST) From: Maxim Cournoyer To: 39551@debbugs.gnu.org Subject: Re: bug#39551: [PATCH v2] Cannot declare an NFS mount using the record References: <87pnem2ps1.fsf@gmail.com> <87d0akfao2.fsf@gmail.com> <87wo8r1uvt.fsf_-_@gmail.com> Date: Thu, 13 Feb 2020 10:45:54 -0500 In-Reply-To: <87wo8r1uvt.fsf_-_@gmail.com> (Maxim Cournoyer's message of "Wed, 12 Feb 2020 14:13:42 -0500") Message-ID: <87r1yybidp.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39551 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Still more work needs to be done to have working NFS mounts though, Maxim Cournoyer writes: > Attached is v2 of the patch, fixing the comment in the code as reported > by Tobias. > > Thank you! Naively inputting what you'd use in /etc/fstab into your record is not going to work because (gnu build file-systems)'s mount-file-systems uses the *system call* mount rather than the user command (mount(2) vs mount(8)), which don't accept the same arguments. E.g.: --8<---------------cut here---------------start------------->8--- scheme@(guix-user)> ,import (gnu system file-systems) scheme@(guix-user)> ,import (gnu build file-systems) scheme@(guix-user)> (define fs (file-system (device "192.168.51.34:/mnt/scratch/yocto-sstate") (mount-point "/mnt/scratch/yocto-sstate") (type "nfs") (options "rw,async,soft,noexec"))) scheme@(guix-user)> (mount-file-system fs) No file system check procedure for 192.168.51.34:/mnt/scratch/yocto-sstate; skipping guix/build/syscalls.scm:486:8: In procedure mount: mount "192.168.51.34:/mnt/scratch/yocto-sstate" on "/root//mnt/scratch/yocto-sstate": Invalid argument --8<---------------cut here---------------end--------------->8--- Although: --8<---------------cut here---------------start------------->8--- cat /etc/fstab # This file was generated from your Guix configuration. Any changes # will be lost upon reboot or reconfiguration. LABEL=btrfs-pool / btrfs subvol=rootfs,compress=lzo LABEL=btrfs-pool /home btrfs subvol=home,compress=lzo 192.168.51.34:/mnt/scratch/yocto-sstate /mnt/scratch/yocto-sstate nfs rw,async,soft,noexec --8<---------------cut here---------------end--------------->8--- # mount /mnt/scratch/yocto-sstate # echo $? 0 From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 13 16:37:29 2020 Received: (at 39551) by debbugs.gnu.org; 13 Feb 2020 21:37:29 +0000 Received: from localhost ([127.0.0.1]:60546 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2MAr-00049M-Gy for submit@debbugs.gnu.org; Thu, 13 Feb 2020 16:37:29 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2MAp-000499-NE for 39551@debbugs.gnu.org; Thu, 13 Feb 2020 16:37:28 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j2MAk-00063v-IG; Thu, 13 Feb 2020 16:37:22 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42576 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j2MAj-00014M-M7; Thu, 13 Feb 2020 16:37:21 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Maxim Cournoyer Subject: Re: bug#39551: [PATCH v2] Cannot declare an NFS mount using the record References: <87pnem2ps1.fsf@gmail.com> <87d0akfao2.fsf@gmail.com> <87wo8r1uvt.fsf_-_@gmail.com> Date: Thu, 13 Feb 2020 22:37:18 +0100 In-Reply-To: <87wo8r1uvt.fsf_-_@gmail.com> (Maxim Cournoyer's message of "Wed, 12 Feb 2020 14:13:42 -0500") Message-ID: <87a75m2mpd.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39551 Cc: 39551@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Howdy! Maxim Cournoyer skribis: >>>From 666ce396f2a53bec4d88ee90c1612166421f3ed8 Mon Sep 17 00:00:00 2001 > From: Maxim Cournoyer > Date: Mon, 10 Feb 2020 15:06:50 -0500 > Subject: [PATCH] scripts: system: Do not validate network file systems. > > Fixes issue #39551 (https://bugs.gnu.org/39551). Nitpick: for consistency, you can make it: Fixes . That=E2=80=99ll make grepping easier. > * guix/scripts/system.scm (check-file-system-availability): Ignore file > systems of the NFS type. LGTM. Thanks for finding the root cause and coming up with a fix! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 18 12:28:42 2020 Received: (at 39551-done) by debbugs.gnu.org; 18 Feb 2020 17:28:42 +0000 Received: from localhost ([127.0.0.1]:41231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j46fq-0007XX-46 for submit@debbugs.gnu.org; Tue, 18 Feb 2020 12:28:42 -0500 Received: from mail-qk1-f196.google.com ([209.85.222.196]:33365) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j46fn-0007XK-R7 for 39551-done@debbugs.gnu.org; Tue, 18 Feb 2020 12:28:40 -0500 Received: by mail-qk1-f196.google.com with SMTP id h4so20313130qkm.0 for <39551-done@debbugs.gnu.org>; Tue, 18 Feb 2020 09:28:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=cTJ8z1K1agJQW2mF5fgw6k9GvNrRSonuHAFTL45yybQ=; b=TBTJvsYi6q58EWvB9FVC0wQxQ6eh+AfRx/LsKJut8lVhLzKAcnh8Hxcetd6sWx1lgs NWo4/eZnsZeg5Ibk7hKE5uYIODZV1ct6141hdlo7+1LaRarIEZpGAuyXJfnSGKxxM7e6 lY19PXI3KmXq/K3jf6ENJf1ViXpo58Ea/BCGXOq5CkSVvNu4b7qmtMFKPLnWxphmdE/E myZMq9Smf+wexfQ+dL1N2m2GFpqE4uT0VMRob9JkIIVK1lsBHX1Ex7D+mSKKDFSMXmyu bf6uDbX/1dlv7weK8G6uNJWi00xFDtMd4yMEtBXRYxPwZ0fyXtMIzC/9MletDXhUftUl 1FtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=cTJ8z1K1agJQW2mF5fgw6k9GvNrRSonuHAFTL45yybQ=; b=RWGVKNU3VUgtNElCYdlbgoo63Y9pEL0X2jbJ0iUhRV/EMINGu0xWSdHRBzhCx59+fe EIwZCy7sMpA4CVi+FEMc1DBew0Bs6itPil43XxcikvToSAnGzJntSk1+VLreAJwqDexw 05TTMW9dZoQHVKKPuWc8gQqD7ovvixk03zqTLLupXHAwCoJqSj3KUwVW/6ChAbf7J74e Rzz6v6HQJk1ZFxufLJ6ei6Ca7xzHnTS8WAb5wzijisaTgdRx5rmTu1Mdx+ojU3CWSaj6 4ah1CzqWJgDVlXruTLrcipujCx50l1uocGsh00i9m20iOTUumB3J5VW5jKaDvHtvWirC xIuQ== X-Gm-Message-State: APjAAAUdBqzQw3o8+uG5CVeHISYK6Yn/GtfZSr6w1XC2l36quJL7mD/o 4zpxRYJfn4VybUPHEESxQ5pFocZZ X-Google-Smtp-Source: APXvYqyXeS46Nj10F396+xE5Bn+KmtgzKhRytMlkiymmT9fuUnNaq5rg3psxX4TkZlJsMUH3UY9dxg== X-Received: by 2002:a37:9acc:: with SMTP id c195mr20460509qke.368.1582046914215; Tue, 18 Feb 2020 09:28:34 -0800 (PST) Received: from raisin ([2607:fad8:4:6:235e:8579:8464:aacc]) by smtp.gmail.com with ESMTPSA id y28sm2202331qkj.44.2020.02.18.09.28.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Feb 2020 09:28:33 -0800 (PST) From: Maxim Cournoyer To: Giovanni Biscuolo Subject: Re: bug#39551: Cannot declare an NFS mount using the record References: <87pnem2ps1.fsf@gmail.com> <87d0akfao2.fsf@gmail.com> <878sl7bqud.fsf@roquette.mug.biscuolo.net> Date: Tue, 18 Feb 2020 12:28:33 -0500 In-Reply-To: <878sl7bqud.fsf@roquette.mug.biscuolo.net> (Giovanni Biscuolo's message of "Wed, 12 Feb 2020 19:30:50 +0100") Message-ID: <87v9o3yfcu.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39551-done Cc: 39551-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Giovanni Biscuolo writes: > Hello, > > Maxim Cournoyer writes: > >> The attached patch fixes this issue > > [...] > >> diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm >> index b0386a1392..26a1599a93 100644 >> --- a/guix/scripts/system.scm >> +++ b/guix/scripts/system.scm >> @@ -566,6 +566,8 @@ any, are available. Raise an error if they're not." >> (and (file-system-mount? fs) >> (not (member (file-system-type fs) >> %pseudo-file-system-types)) >> + ;; Fixes issue #39551 (see: https://bugs.gnu.org/39551). >> + (not (string-prefix? "nfs" (file-system-type fs))) >> (not (memq 'bind-mount (file-system-flags fs))))) >> file-systems)) > > Please is it possible to also add nfs4 to this fix? > > Thanks! Gio' Done with commit adbdf188c28c503a9c875b793bc88548d3cd702f. Please not that booting with NFS still seems to be problematic, at least in my experience. I had to use set mount? to #f and check? to #f as well in the record. I'll try to address these issues separately. Maxim From unknown Fri Jun 20 18:24:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 18 Mar 2020 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator