mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05: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 @@ (define* (operating-system-etc-service os)
|
|||
(plain-file "login.defs"
|
||||
(string-append
|
||||
"# 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/sbin\n"
|
||||
"ENV_SUPATH /run/setuid-programs:"
|
||||
"ENV_SUPATH /run/privileged/bin:"
|
||||
"/run/current-system/profile/bin:"
|
||||
"/run/current-system/profile/sbin\n"
|
||||
|
||||
|
@ -1088,8 +1088,8 @@ (define* (operating-system-etc-service os)
|
|||
fi
|
||||
done
|
||||
|
||||
# Prepend setuid programs.
|
||||
export PATH=/run/setuid-programs:$PATH
|
||||
# Prepend privileged programs.
|
||||
export PATH=/run/privileged/bin:$PATH
|
||||
|
||||
# Arrange so that ~/.config/guix/current/share/info comes first.
|
||||
export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\"
|
||||
|
|
Loading…
Reference in a new issue