help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NAS drive


From: Tobias Geerinckx-Rice
Subject: Re: NAS drive
Date: Wed, 09 Dec 2020 22:12:15 +0100

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

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: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]