mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
system: Use /run/privileged/bin in search paths.
* gnu/system.scm (operating-system-etc-service): Substitute /run/privileged/bin for deprecated /run/setuid-programs.
This commit is contained in:
parent
d6c9754c56
commit
e364d1a494
1 changed files with 4 additions and 4 deletions
|
@ -1022,10 +1022,10 @@ the /etc directory."
|
||||||
(plain-file "login.defs"
|
(plain-file "login.defs"
|
||||||
(string-append
|
(string-append
|
||||||
"# Default paths for non-login shells started by su(1).\n"
|
"# Default paths for non-login shells started by su(1).\n"
|
||||||
"ENV_PATH /run/setuid-programs:"
|
"ENV_PATH /run/privileged/bin:"
|
||||||
"/run/current-system/profile/bin:"
|
"/run/current-system/profile/bin:"
|
||||||
"/run/current-system/profile/sbin\n"
|
"/run/current-system/profile/sbin\n"
|
||||||
"ENV_SUPATH /run/setuid-programs:"
|
"ENV_SUPATH /run/privileged/bin:"
|
||||||
"/run/current-system/profile/bin:"
|
"/run/current-system/profile/bin:"
|
||||||
"/run/current-system/profile/sbin\n"
|
"/run/current-system/profile/sbin\n"
|
||||||
|
|
||||||
|
@ -1088,8 +1088,8 @@ do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# Prepend setuid programs.
|
# Prepend privileged programs.
|
||||||
export PATH=/run/setuid-programs:$PATH
|
export PATH=/run/privileged/bin:$PATH
|
||||||
|
|
||||||
# Arrange so that ~/.config/guix/current/share/info comes first.
|
# Arrange so that ~/.config/guix/current/share/info comes first.
|
||||||
export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\"
|
export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue