From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MAK8EY2cuWTXbgAASxT56A (envelope-from ) for ; Thu, 20 Jul 2023 22:43:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oGzDEY2cuWSplQAAauVa8A (envelope-from ) for ; Thu, 20 Jul 2023 22:43:57 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 150473353E for ; Thu, 20 Jul 2023 22:43:57 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=Cod5h3ar; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689885837; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=MeCDTHfC0daZ85fKkZ2GxjWavigkWvv+J33ULNyVxTo=; b=tZM0vFDjoudHiUoEBvkIfNiYiuFoBGeiCadbvjX03j1a88Ff81cuBEDLcDZfF/igIACVG3 UBMfsAi57YFsK2gQTciaEGuol7ieJSl5+n3hyudIypCghZ0Pse080WeBRzftpysB5fREfY sllu35je9TB8eJKnA6lcSaIBM8Lyb0h07C0URf5RwMR1oKK+UH02/LUbA/0YjcRHZsaaoa w3hV5o38GK9a2/vmvZ2x3DWOUKeLhLwGZlCaocICAqK4AdkAE0u40APQ65iU0uFhYhmajB 8uQ+XKvm29z3hTx40N/Ou5DF328IjaaL9e6jY35WsXbV88/a/wKj8hVDkeW2PA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689885837; a=rsa-sha256; cv=none; b=o+lL2l3zZuRxWWUjC1vJdD6uGk54IiDdVozg0bPKVhn2EJci8Ra0T8K31yJcjtO6a6G4pT 3JhgW1/2rghPXXIjo2GqcpGhbAzMileCoRE6c10fcZ2YLfTcY34BDTDi8S/P4YoSH13xrF y8oB5BZLiibOjsj5+nx/Wda9SXmWUp/iRTTLZ7jnidcoM5XmmlpqpX8YsPDwVNGjsQqlqF 7G/9axXqEYq+lpN4mesY4SGEO8al+ejEXmD0jiqVR88ZLlVdl4hPNZ/5hC5gyebK2vNKAD doFC4gyVdkIQZYUBj0BlC5AwaTmB3CeGOEsQxk2iOh5W9QWRytpuNt4z/epH7g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=Cod5h3ar; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMaUK-0007Od-1z; Thu, 20 Jul 2023 16:43:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMaUI-0007O1-RK for guix-patches@gnu.org; Thu, 20 Jul 2023 16:43:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qMaUI-0007Cs-J4 for guix-patches@gnu.org; Thu, 20 Jul 2023 16:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMaUI-0000YZ-Ee for guix-patches@gnu.org; Thu, 20 Jul 2023 16:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#61462] [PATCH v2 03/10] system: Use /run/privileged/bin in search paths. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Jul 2023 20:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61462 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61462@debbugs.gnu.org Received: via spool by 61462-submit@debbugs.gnu.org id=B61462.16898857332002 (code B ref 61462); Thu, 20 Jul 2023 20:43:02 +0000 Received: (at 61462) by debbugs.gnu.org; 20 Jul 2023 20:42:13 +0000 Received: from localhost ([127.0.0.1]:60044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMaTU-0000WC-FU for submit@debbugs.gnu.org; Thu, 20 Jul 2023 16:42:13 -0400 Received: from tobias.gr ([80.241.217.52]:36824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMaTO-0000V4-C2 for 61462@debbugs.gnu.org; Thu, 20 Jul 2023 16:42:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=MeCDTHfC0daZ8 5fKkZ2GxjWavigkWvv+J33ULNyVxTo=; h=references:in-reply-to:date: subject:to:from; d=tobias.gr; b=Cod5h3arcBD9Z7vMrp2ds7W/eypdb+A6yUC31O 3NEzNoiV32kPrmXzYTs/9KLT85UmalZKPJCRYn2VYcWG95teIg2RjJaDE3o957CDbCIm77 49pWFq4S/ZF1Zs6K6GmBJxKWbk0daauP1LOHGhJAQ7bU811CryVTLIHul3MMartFAqoPmN 8HD4wCie7ZvKYHgSjgpHN4wdgOjqg+ywj/svIGH/hsGjJPewla6Xliz+uBXjNKy/nUWK6r Q5dJmObPz6CXRWxsz+boQRnAAZuAJOoFrmXEWZtyq8ZmvCmKVhUO+Z+ddeeAnXjpvjVrkT kmkDusPKZ2V0VY5rcqiAKzrQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 3549850a (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <61462@debbugs.gnu.org>; Thu, 20 Jul 2023 20:41:48 +0000 (UTC) Date: Sun, 16 Jul 2023 01:59:53 +0200 Message-ID: <0600bad063dc787892f74e148755532d25e61257.1689465600.git.me@tobias.gr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <129e8d298556f6a159fcb704ed3df4bf0709ddd3.1689465600.git.me@tobias.gr> References: <129e8d298556f6a159fcb704ed3df4bf0709ddd3.1689465600.git.me@tobias.gr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Tobias Geerinckx-Rice X-ACL-Warn: , Tobias Geerinckx-Rice via Guix-patches From: Tobias Geerinckx-Rice via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -5.14 X-Spam-Score: -5.14 X-Migadu-Queue-Id: 150473353E X-TUID: 6XzyyrJZxhEO * 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 e32879b240..b68c4d272b 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -985,10 +985,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" @@ -1051,8 +1051,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\" -- 2.41.0