unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Tobias Geerinckx-Rice <me@tobias.gr>
To: Roy Lemmon <roy@roylemmon.com>
Cc: Pierre Neidhardt <mail@ambrevar.xyz>, help-guix <help-guix@gnu.org>
Subject: Re: NAS drive
Date: Wed, 09 Dec 2020 22:12:15 +0100	[thread overview]
Message-ID: <87pn3id6q8.fsf@nckx> (raw)
In-Reply-To: <CAH5rZC7CdOD2-S0qWQUgtD+by2g+QnkUvFErCu71eQeNtWYC0A@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 448 bytes --]

Roy,

Roy Lemmon 写道:
> 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 
myself.

I wonder if it's because we configure util-linux with:

  "--enable-fs-paths-default=/run/current-system/profile/sbin"

If so the attached patch might help, but it's merely a total 
guess.

Kind regards,

T G-R


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-util-linux-Support-setuid-mount-helpers-on-Guix-.patch --]
[-- Type: text/x-patch, Size: 1365 bytes --]

From 7d481e79076d8feb9e69fe0ca3a9eb1b3bb26573 Mon Sep 17 00:00:00 2001
From: Tobias Geerinckx-Rice <me@tobias.gr>
Date: Wed, 9 Dec 2020 22:03:47 +0100
Subject: [PATCH] gnu: util-linux: Support setuid mount helpers on Guix System.

* gnu/packages/linux.scm (util-linux)[argument]: Add /run/setuid-programs
to --enable-fs-paths-default.
---
 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
--- 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"
-                               "--enable-fs-paths-default=/run/current-system/profile/sbin"
+                               (string-append "--enable-fs-paths-default="
+                                              "/run/setuid-programs:"
+                                              "/run/current-system/profile/sbin")
                                ;; Don't try to chown root:root mount and umount
                                "--disable-makeinstall-chown"
                                "--localstatedir=/var"
-- 
2.29.2


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

  reply	other threads:[~2020-12-09 21:14 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-07 17:05 NAS drive Roy Lemmon
2020-12-08 10:06 ` Pierre Neidhardt
2020-12-08 12:03   ` Roy Lemmon
2020-12-08 12:28     ` Pierre Neidhardt
2020-12-08 15:01     ` Tobias Geerinckx-Rice
2020-12-08 15:19       ` Roy Lemmon
2020-12-08 15:30         ` Tobias Geerinckx-Rice
2020-12-08 17:42           ` Roy Lemmon
2020-12-08 18:46             ` Tobias Geerinckx-Rice
2020-12-08 18:58               ` Roy Lemmon
2020-12-09 12:44               ` Roy Lemmon
2020-12-09 21:12                 ` Tobias Geerinckx-Rice [this message]
2020-12-10  8:50                   ` Roy Lemmon
2020-12-10 16:16                     ` Tobias Geerinckx-Rice via
2020-12-10 16:56                       ` Roy Lemmon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pn3id6q8.fsf@nckx \
    --to=me@tobias.gr \
    --cc=help-guix@gnu.org \
    --cc=mail@ambrevar.xyz \
    --cc=roy@roylemmon.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).