From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id EN0FCNBaPmenMwEAe85BDQ:P1 (envelope-from ) for ; Wed, 20 Nov 2024 21:55:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id EN0FCNBaPmenMwEAe85BDQ (envelope-from ) for ; Wed, 20 Nov 2024 22:55:28 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=vtdGMAF9; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=GfQVl0uF; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732139727; a=rsa-sha256; cv=none; b=oNh/n0i97NRoa2p4crbqMZEML2DlLhmXmVIHcj8m6S7vcEGRScGsFRLe4MYMe9IfabY6oq Yht66/5BH6usfhH8VkHDHBhMMZYMBqascjyusE8HiJNhE2FBj4cFBhXZxRCk4FVKlyzPiJ 25B/Pl0OfAAu7aduGEjK7LYjBdsbrFN9OEE7x8YGE91Gs3j7mfqUxgm0HEjgPajJvkc01e 4Qjvj5S5+2iGPtgjCf1t+hNWx5C1tbgbbMjU4VZvxmThaJnFpMZOzR0c6yTGyq8vFQPQZ6 Eb9duIfobxYut+04+dp6piVw5mNlpcCi4aEqL8ooYnTFsnkWYGArosRiczu9Sg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=vtdGMAF9; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=GfQVl0uF; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732139727; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=KF5PoGo+7NuVPBwI30N7FO52ABqYdGe8jSIBywdmTJ8=; b=dX6vr7RmOWs6bilVG1pC6E1BqorFKNHvAV8WGEpTxaIS4cdRw4cIoJQy72vw3XUR+Voqy2 ORmewnW5+4/84iyHE3Jy7kY1mwfciB6bsIo/fCa90yggpsMbhkAjnh59UcLjOimIPcVPWX IFHvStpMYspZvbv7IjMD78VgAUIY/ubE+q/csfbitz4V9Bdk2hA0DmTJGH2KQsrLmntp6F 1qWmSF+YJqKhg5j2n6KsQAfbfw/yg/lN1BAAhC/zYUPb6QzmTVwCy52fm2HJEU0cFGOwYp dxSPSO1bWRuzvDwj66LFjFadIEnxSzUf6iQ3W0DI2lWpvqkemNds4jFBrOITbw== 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 ADDB1865E1 for ; Wed, 20 Nov 2024 22:55:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDsfF-0007oT-EC; Wed, 20 Nov 2024 16:55:09 -0500 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 1tDsf9-0007nx-N8 for bug-guix@gnu.org; Wed, 20 Nov 2024 16:55:04 -0500 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 1tDsf8-0005wA-4D for bug-guix@gnu.org; Wed, 20 Nov 2024 16:55:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=KF5PoGo+7NuVPBwI30N7FO52ABqYdGe8jSIBywdmTJ8=; b=vtdGMAF9n+evAJCP4RAzuk3AAR8GJVkum+Y0wWC5nmR1LYdcfOmv2csSkEdtqoYofy4DRZXrijZDsBhHQjI7C2sMWKwm0/LzTujMnzOAs+RTHs5OoG1CC7Nu1NOyTJcwQisu7Ypq+1SMX63P6myTyeIbeS/8Hn+oSDAAOeij806kC3CWjMGMsEyYvp6eO/OpRORQx5u4BNCkI8G0edEZ0VuPKwXwf8K3hhWgAdSu8zrJzNNgwhnVx3KuuS5fQ+yepll53CeRyftwcBrOjsNd7iODIq+iaZCn7GVefkFBk784ut2R+q0aoxMSCfYuz+SQmAZAMv5fiT3eLZm7UgbBig==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDsf7-0002AV-OC for bug-guix@gnu.org; Wed, 20 Nov 2024 16:55:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#74179: %default-bash-profile still references /run/setuid-programs Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 20 Nov 2024 21:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74179 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Edouard Klein Cc: Tobias Geerinckx-Rice , 74179@debbugs.gnu.org Received: via spool by 74179-submit@debbugs.gnu.org id=B74179.17321396948311 (code B ref 74179); Wed, 20 Nov 2024 21:55:01 +0000 Received: (at 74179) by debbugs.gnu.org; 20 Nov 2024 21:54:54 +0000 Received: from localhost ([127.0.0.1]:48043 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDsez-00029z-IE for submit@debbugs.gnu.org; Wed, 20 Nov 2024 16:54:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDseu-00029h-KU for 74179@debbugs.gnu.org; Wed, 20 Nov 2024 16:54:52 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tDseo-0005uD-J4; Wed, 20 Nov 2024 16:54:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=KF5PoGo+7NuVPBwI30N7FO52ABqYdGe8jSIBywdmTJ8=; b=GfQVl0uFHAUwFlmfeYzM PpM4+zNnhBfPPiuichgh0/UxCiAGbVtLozkyKZ3G0FO4zejCjm7+Zo8nJv8HVzfaLs229SQ8Q9QlD /JEGj0JyzohJIwiZ9rlVrCLuK/Sf5UgvqgbzsOZ4HTevDgUpWQgsZOJXB7PSQbaaZDJxb8kDusllu fEhPKdan6VaJC1ST/QKQXLLy6bbp5/bF1SMCv0VG9OnuZUtEhobDbM4QsBJCKHfjpPJSi6mWx89y0 HKdDM2W6PYffkxER+pTMsKlGKtzYKfdqMVZwAScuwESLwvkSHfVwK+MSURK7Q4DzQBgjNVA+s29zu JFo+/fBqhH2ZQQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87a5ehmowp.fsf@gmail.com> (Edouard Klein's message of "Sat, 02 Nov 2024 20:04:22 +0100") References: <87a5ehmowp.fsf@gmail.com> Date: Wed, 20 Nov 2024 22:54:40 +0100 Message-ID: <87serlvae7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: ADDB1865E1 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -4.55 X-Spam-Score: -4.55 X-TUID: gyo5vKRM3+Tx Hi Edouard, (Cc: Tobias, who authors the privileged program mechanism.) Edouard Klein skribis: > Some of the users on the-dam.org don't have the new location in their > PATH. I've tracked it down to %default-bash-profile still referencing > the old location (in /gnu/system/shadow.scm): > > # Prepend setuid programs. > export PATH=3D/run/setuid-programs:$PATH > > This file ends up in /etc/skel, and from there is copied on the user's > HOME when the user is created. > > I've grep /run/setuid-programs in the source and found that it is still > hardcoded in a few places. > > Two questions: > If I submitted a patch series addressing these issues, would somebody > review it and apply it within a few weeks ? As you know there cannot be guarantees on the timeliness of volunteer response, but surely this would be pretty high priority (and easy) to review/apply. > And the more interesting one: > How do I correct the issue for my existing users, given that even if I > correct the code and reconfigure, the .bash_profile file in their HOME > is gonna stay the same ? > Maybe I should force everybody to use guix home ? Maybe =E2=80=98.bash_profile=E2=80=99 should never have contained that line= in the first place. But anyway, you could either run =E2=80=98sed=E2=80=99 on all the =E2=80=98= .bash_profile=E2=80=99 files of users (not great), or let them know, or just let go since AFAIK it doesn=E2=80=99t hurt to have /run/setuid-programs in $PATH. Thoughts? Ludo=E2=80=99.