aboutsummaryrefslogtreecommitdiff
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
parentd6c9754c568588929c3350da8f7b17ae92d2b801 (diff)
downloadguix-e364d1a494140c26f95a90176b3216428bbaf944.tar.gz
guix-e364d1a494140c26f95a90176b3216428bbaf944.zip
system: Use /run/privileged/bin in search paths.
* gnu/system.scm (operating-system-etc-service): Substitute /run/privileged/bin for deprecated /run/setuid-programs.
-rw-r--r--gnu/system.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index 5c18edd620..64060f167b 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -1022,10 +1022,10 @@ the /etc directory."
(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 @@ do
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\"