diff options
| author | Tobias Geerinckx-Rice <me@tobias.gr> | 2022-05-29 02:00:00 +0200 |
|---|---|---|
| committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2024-08-11 02:00:00 +0200 |
| commit | e364d1a494140c26f95a90176b3216428bbaf944 (patch) | |
| tree | 846dc868fa2bc45dea7f4b7704695efcab06bf22 /gnu/system.scm | |
| parent | d6c9754c568588929c3350da8f7b17ae92d2b801 (diff) | |
system: Use /run/privileged/bin in search paths.
* gnu/system.scm (operating-system-etc-service):
Substitute /run/privileged/bin for deprecated /run/setuid-programs.
Diffstat (limited to 'gnu/system.scm')
| -rw-r--r-- | gnu/system.scm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/system.scm b/gnu/system.scm index 5c18edd620b..64060f167b0 100644 --- a/gnu/system.scm +++ b/gnu/system.scm | |||
| @@ -1022,10 +1022,10 @@ the /etc directory." | |||
| 1022 | (plain-file "login.defs" | 1022 | (plain-file "login.defs" |
| 1023 | (string-append | 1023 | (string-append |
| 1024 | "# Default paths for non-login shells started by su(1).\n" | 1024 | "# Default paths for non-login shells started by su(1).\n" |
| 1025 | "ENV_PATH /run/setuid-programs:" | 1025 | "ENV_PATH /run/privileged/bin:" |
| 1026 | "/run/current-system/profile/bin:" | 1026 | "/run/current-system/profile/bin:" |
| 1027 | "/run/current-system/profile/sbin\n" | 1027 | "/run/current-system/profile/sbin\n" |
| 1028 | "ENV_SUPATH /run/setuid-programs:" | 1028 | "ENV_SUPATH /run/privileged/bin:" |
| 1029 | "/run/current-system/profile/bin:" | 1029 | "/run/current-system/profile/bin:" |
| 1030 | "/run/current-system/profile/sbin\n" | 1030 | "/run/current-system/profile/sbin\n" |
| 1031 | 1031 | ||
| @@ -1088,8 +1088,8 @@ do | |||
| 1088 | fi | 1088 | fi |
| 1089 | done | 1089 | done |
| 1090 | 1090 | ||
| 1091 | # Prepend setuid programs. | 1091 | # Prepend privileged programs. |
| 1092 | export PATH=/run/setuid-programs:$PATH | 1092 | export PATH=/run/privileged/bin:$PATH |
| 1093 | 1093 | ||
| 1094 | # Arrange so that ~/.config/guix/current/share/info comes first. | 1094 | # Arrange so that ~/.config/guix/current/share/info comes first. |
| 1095 | export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\" | 1095 | export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\" |
