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 8O89Nxs+0V8nZQAA0tVLHw (envelope-from ) for ; Wed, 09 Dec 2020 21:14:03 +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 4KIIMxs+0V/sKwAAbx9fmQ (envelope-from ) for ; Wed, 09 Dec 2020 21:14:03 +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 98429940429 for ; Wed, 9 Dec 2020 21:14:02 +0000 (UTC) Received: from localhost ([::1]:37670 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kn6mf-0005rh-C3 for larch@yhetil.org; Wed, 09 Dec 2020 16:14:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kn6l9-0004lo-3J for help-guix@gnu.org; Wed, 09 Dec 2020 16:12:27 -0500 Received: from tobias.gr ([2a02:c205:2020:6054::1]:52622) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kn6l6-0008Ml-1E for help-guix@gnu.org; Wed, 09 Dec 2020 16:12:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=FvIpyiRGJqCH2aYN6NNu0GpzItjAdkwWPqYV8PNWe34=; h=date:in-reply-to: references:subject:cc:to:from; b=mydF+T5s4Ho/y0+wAhdBwLB6eZtOVrcjNSjkg COM+WwtJQqAeoth5oRle1AL4ufvloEPhV4TUyC1jRJtrcTceEgglRMLploU0czpSFtVcxR XEOafAo4I61vmcKIoxall6GCcY8ie+khWN+RZeeSWPHzc3QOHnyjQYRWXs/5LvcK/buNsS BJSzyuZyceAk/p/iffUPD25cSIiT9jQpyl5b5Lo78XeX673Iw5k7Xrz5R3bEKXF94IF7Cm JuDvWmsXCZZyo3W1rUJhjTlpqAbu5xkeFNr+d6T4JE2laRMx4VYpTtHHO5X4HekrFL6jO9 bBRpkXEKGAO8r4bHatLOzrbWQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 508d6e55 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Wed, 9 Dec 2020 21:12:34 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; From: Tobias Geerinckx-Rice To: Roy Lemmon Cc: Pierre Neidhardt , help-guix Subject: Re: NAS drive References: <87blf4wr0f.fsf@ambrevar.xyz> <878sa8jq91.fsf@nckx> <875z5cjowk.fsf@nckx> <87zh2oi1a9.fsf@nckx> In-reply-to: Date: Wed, 09 Dec 2020 22:12:15 +0100 Message-ID: <87pn3id6q8.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr 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, SPF_HELO_PASS=-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.23 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-Spam-Score: -3.10 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=mydF+T5s; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 98429940429 X-Spam-Score: -3.10 X-Migadu-Scanner: scn1.migadu.com X-TUID: lcmrLpgs6VrN --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Roy, Roy Lemmon =E5=86=99=E9=81=93=EF=BC=9A > So I'm afraid it still doesn't work. That's unfortunate :-( > Here is the top section of the .scm file. I'm recompiling my kernel with NFS support to test you command for=20 myself. I wonder if it's because we configure util-linux with: "--enable-fs-paths-default=3D/run/current-system/profile/sbin" If so the attached patch might help, but it's merely a total=20 guess. Kind regards, T G-R --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-util-linux-Support-setuid-mount-helpers-on-Guix-.patch Content-Transfer-Encoding: quoted-printable From=207d481e79076d8feb9e69fe0ca3a9eb1b3bb26573 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 9 Dec 2020 22:03:47 +0100 Subject: [PATCH] gnu: util-linux: Support setuid mount helpers on Guix Syst= em. * gnu/packages/linux.scm (util-linux)[argument]: Add /run/setuid-programs to --enable-fs-paths-default. =2D-- gnu/packages/linux.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 3d36468172..03a1bcbf71 100644 =2D-- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1513,7 +1513,9 @@ providing the system administrator with some help in = common tasks.") "static")) ;2.9 MiB static .a libraries (arguments `(#:configure-flags (list "--disable-use-tty-group" =2D "--enable-fs-paths-default=3D/run/current= -system/profile/sbin" + (string-append "--enable-fs-paths-default= =3D" + "/run/setuid-programs:" + "/run/current-system/profile= /sbin") ;; Don't try to chown root:root mount and u= mount "--disable-makeinstall-chown" "--localstatedir=3D/var" =2D-=20 2.29.2 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCX9E9rw0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15S2cA+wSt3RpHiJXnNBE67ywS6Hfv8ApsjMw4BYojO/kO TGRbAQCzbEf8qRS60nos5puCBwUV+JBhflaStX6Fm3lilKrBAA== =YlBF -----END PGP SIGNATURE----- --==-=-=--