mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
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>
This commit is contained in:
parent
5cf6f6fe7b
commit
def6e2ae46
1 changed files with 4 additions and 1 deletions
|
@ -1481,7 +1481,10 @@ (define-public util-linux
|
|||
"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"
|
||||
|
|
Loading…
Reference in a new issue