summaryrefslogtreecommitdiff
path: root/gnu/system.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2022-05-29 02:00:00 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2024-08-11 02:00:00 +0200
commite364d1a494140c26f95a90176b3216428bbaf944 (patch)
tree846dc868fa2bc45dea7f4b7704695efcab06bf22 /gnu/system.scm
parentd6c9754c568588929c3350da8f7b17ae92d2b801 (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.scm8
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
1089done 1089done
1090 1090
1091# Prepend setuid programs. 1091# Prepend privileged programs.
1092export PATH=/run/setuid-programs:$PATH 1092export 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.
1095export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\" 1095export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\"