guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/11: system: Use /run/privileged/bin in search paths.


From: guix-commits
Subject: 03/11: system: Use /run/privileged/bin in search paths.
Date: Sun, 18 Aug 2024 07:41:07 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit e364d1a494140c26f95a90176b3216428bbaf944
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun May 29 02:00:00 2022 +0200

    system: Use /run/privileged/bin in search paths.
    
    * gnu/system.scm (operating-system-etc-service):
    Substitute /run/privileged/bin for deprecated /run/setuid-programs.
---
 gnu/system.scm | 8 ++++----
 1 file 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\"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]