[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch core-updates updated: gnu: util-linux: Search for setuid helper p
From: |
guix-commits |
Subject: |
branch core-updates updated: gnu: util-linux: Search for setuid helper programs as well. |
Date: |
Thu, 24 Sep 2020 15:21:15 -0400 |
This is an automated email from the git hooks/post-receive script.
apteryx pushed a commit to branch core-updates
in repository guix.
The following commit(s) were added to refs/heads/core-updates by this push:
new def6e2a gnu: util-linux: Search for setuid helper programs as well.
def6e2a is described below
commit def6e2ae4619587114383b3f8fd9f3cf8310b4b9
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Sep 24 13:05:33 2020 -0400
gnu: util-linux: Search for setuid helper programs as well.
To allow using mount as an unprivileged user, the helper commands must also
be
setuid. Before this change, the 'mount' command would only look under
/run/current/profile/sbin. Extend the default path to include
/run/setuid-programs as well.
Partially addresses <https://issues.guix.gnu.org/39670>.
* gnu/packages/linux.scm (util-linux)[configure-flags]: Prepend
"/run/setuid-programs:" to the default search path.
Reported-by: Nathan Dehnel <ncdehnel@gmail.com>
---
gnu/packages/linux.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 59ffb33..f635c23 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1481,7 +1481,10 @@ 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"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch core-updates updated: gnu: util-linux: Search for setuid helper programs as well.,
guix-commits <=