From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 2IWkG5tjY2S5AwEASxT56A (envelope-from ) for ; Tue, 16 May 2023 13:06:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YF2uG5tjY2RZbgAA9RJhRA (envelope-from ) for ; Tue, 16 May 2023 13:06:03 +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 09276EAE2 for ; Tue, 16 May 2023 13:06:02 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pysQT-0003ze-1a; Tue, 16 May 2023 07:01:05 -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 1pysQQ-0003qL-W6 for bug-guix@gnu.org; Tue, 16 May 2023 07:01:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pysQQ-0000Ef-7C for bug-guix@gnu.org; Tue, 16 May 2023 07:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pysQQ-0000Vk-2i for bug-guix@gnu.org; Tue, 16 May 2023 07:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#20255: 'search-paths' should respect both user and system profile. Resent-From: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 16 May 2023 11:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20255 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: Josselin Poiret Cc: Maxim Cournoyer , zimoun , mhw@netris.org, Ludovic =?UTF-8?Q?Court=C3=A8s?= , Christopher Baines , iyzsong@gmail.com, 20255-done@debbugs.gnu.org, Alex Kost Received: via spool by 20255-done@debbugs.gnu.org id=D20255.16842348611945 (code D ref 20255); Tue, 16 May 2023 11:01:02 +0000 Received: (at 20255-done) by debbugs.gnu.org; 16 May 2023 11:01:01 +0000 Received: from localhost ([127.0.0.1]:45339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pysQO-0000VJ-O9 for submit@debbugs.gnu.org; Tue, 16 May 2023 07:01:01 -0400 Received: from mail.envs.net ([5.199.136.28]:38136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pysQJ-0000V3-P6 for 20255-done@debbugs.gnu.org; Tue, 16 May 2023 07:00:59 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 8CD9538A1912; Tue, 16 May 2023 11:00:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1684234853; bh=DaXfW1RYKpeRaXcDK2CDDwa73HWptt0779Tsy+QIR7M=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=TMLb2BLfycZyYTsaV3lduHERn0qfmILe7HmvVLcMEVHiwAfbu/zBncq9TF/ROKgkL xTSjQmlkcDaRxYLIPEV3gc721xAYLiQ+qj3wVxcxPuiGKTf5eUsJ/HIlQqeXFZfMYu rHRQVoD4KHTol61vnRa/DFmgTZTjkpsqOZv1ms1nRjY+Bv0oBpnWSOgSqsNwjdhB2r BJlq/DW9hKAAp48sbWmkB0mWouMBNGTZgK5RRjIegBdx5HBfmNwBMWmtvezTiep6OL qrQSPi0dz9pi6pkPNKfX3qvSNzuTgTVlL40QnDdN1qrTjsv3cmQdQbpFEh3TbuoMIx w0OpP1eA7x6laB2feJVgqWf44mLuhUYLuXLDOOxZER0LVMgtkqfIUv5AZy5SXAbD72 Hll4WRfgPDEB6dpSsiYvTgfDzVXdEvQ39HWvCM6DgMoF/0suir/N9wOTD1pIuASfga jM+CNRxBLdlpyTowxhhGB/DkA2RsaV155pMARPXUqbwW72fyibeGE8uH4j2PMRm/hC vRpsrsFvLc5uaJ3IPWDVVggL9DRpMKN8A1O0c8bWk6Vsn9gyt/wPrbgP1o1zGl3QfA KWyjsbQZ2ZjT/HbdOjyfmdjJmz8WfLncQuyqZIeqW21s4t/g2uEJVT/cHH2gKwHEjv lg/k1D2c0SmiSVKLspZYEz9g= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id JB_sPC4U5GmZ; Tue, 16 May 2023 11:00:41 +0000 (UTC) Received: from localhost (unknown [36.170.57.163]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Tue, 16 May 2023 11:00:41 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 5854b6a1; Tue, 16 May 2023 11:00:32 +0000 (UTC) References: <877ftschjt.fsf@gmail.com> <86v9cyuaev.fsf_-_@gmail.com> <87v8gx91ad.fsf_-_@envs.net> <87jzx934bc.fsf@jpoiret.xyz> <87sfbxtrma.fsf@gmail.com> <87fs7whb29.fsf@jpoiret.xyz> Date: Tue, 16 May 2023 19:00:32 +0800 In-Reply-To: <87fs7whb29.fsf@jpoiret.xyz> (Josselin Poiret's message of "Tue, 16 May 2023 11:37:02 +0200") Message-ID: <87r0rgr167.fsf@envs.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: , Reply-to: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= From: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684235163; a=rsa-sha256; cv=none; b=THkUpU5xPTdFnVMzNNso2945g3OR75nlfJFl3uYOyp/+jjeVeOA2BeGWiUXME65BEZW+5S CcoeUQvlu9Gi52ig25v/HvDz1bODGdlTvwbfpJpRSw2icM6Loi4IAD26PUCT29EfQbJEe4 Wrx/5lRuYrkI0Q9qamd/qOS2IzhhD2f/Km2H+61ts3JbNNLAbx/pv2I6o8En+/RQWs2ewr iU/eNCdS7aqJCDPRy6vGwsBPRQm762Zw7l4Y7sJCqtCSbI9rjIOWWC07eFOVWQVgRXOkN1 TU0o/NtwSrXE6hbyh0SNvwQiPYNn+wMQIc4ghyxP6C2AtdWoCHC6vSg8p2d0lg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=envs.net header.s=modoboa header.b=TMLb2BLf; 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=1684235163; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=DaXfW1RYKpeRaXcDK2CDDwa73HWptt0779Tsy+QIR7M=; b=oOWBXql+wvz6Oqe8VgpfFtcChW8NFXmrD1G4koiwwaoljZndqVl+SyHl64gpSqzQunZjXK hk362HO6v2TLO2uuRHmeOZrrNTpfq7O8RgQxeHl17FweEjbmKVPfvafIs3kDekPbwYvYa5 9npdQdj2uVMxz1qVN5HJdErw/6onQJMy+nM+eOsb89dqwA8jkVe58rZ7fjaZq2MwUfXTHz OtnXrv1BZQ5vOW3bydmIZ4OMO24g/Bzmhfy7/3zLvdbd4irvFeVQiSnJnnhIc7jA+14jyB fi7zAOQAnLMoHwyA6i9vDicYYlbqkwDHAB1Dj92STHu1QQShmXYK8ndESoaVUw== X-Migadu-Spam-Score: -1.91 X-Spam-Score: -1.91 X-Migadu-Queue-Id: 09276EAE2 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=envs.net header.s=modoboa header.b=TMLb2BLf; 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" X-TUID: /O/TvQhyGODb Josselin Poiret writes: > Hi Maxim, > > Maxim Cournoyer writes: > >> Just to make sure, remove what exactly? > > Remove the bit in /etc/profile that loads the user's profile, if it is > indeed supposed to be loaded by the user's own ~/.zprofile or > ~/.bash_profile. Remove will break existed systems, so need a NEWS entry as Maxim mentioned, and maybe some explainations and examples in the manual about how to setup the environments as needed. I could make a patch for it this weekend if no one beats me.. > At least, I don't know if there is a general agreement > on what should be done in /etc/profile vs. the user's own config. I think hopefully we can agree that /etc/profile only handle the system profile, and user's own config can decide what it want. Despite mitigation, it still work out of the box with skeletons, and user can arrange priorities among profiles, or disable the system one. Or configure it via home-shell-profile (TODO: need some changes).