From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iNeLFDJM2GCFdAAAgWs5BA (envelope-from ) for ; Sun, 27 Jun 2021 12:00:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OIlREDJM2GAVdwAAB5/wlQ (envelope-from ) for ; Sun, 27 Jun 2021 10:00:18 +0000 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 B3F4919235 for ; Sun, 27 Jun 2021 12:00:17 +0200 (CEST) Received: from localhost ([::1]:43448 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lxRaJ-0003XU-Ko for larch@yhetil.org; Sun, 27 Jun 2021 06:00:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47256) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxRa6-0003X6-Jj for bug-guix@gnu.org; Sun, 27 Jun 2021 06:00:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37402) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lxRa6-0000VS-Al for bug-guix@gnu.org; Sun, 27 Jun 2021 06:00:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lxRa6-0007G5-8I for bug-guix@gnu.org; Sun, 27 Jun 2021 06:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#20255: 'search-paths' should respect both user and system profile. Resent-From: Alex Kost Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 27 Jun 2021 10:00: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: Maxim Cournoyer Received: via spool by 20255-submit@debbugs.gnu.org id=B20255.162478796327827 (code B ref 20255); Sun, 27 Jun 2021 10:00:02 +0000 Received: (at 20255) by debbugs.gnu.org; 27 Jun 2021 09:59:23 +0000 Received: from localhost ([127.0.0.1]:48948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lxRZT-0007El-1V for submit@debbugs.gnu.org; Sun, 27 Jun 2021 05:59:23 -0400 Received: from mail-lj1-f179.google.com ([209.85.208.179]:45757) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lxRZP-0007EW-7X for 20255@debbugs.gnu.org; Sun, 27 Jun 2021 05:59:21 -0400 Received: by mail-lj1-f179.google.com with SMTP id d13so20110309ljg.12 for <20255@debbugs.gnu.org>; Sun, 27 Jun 2021 02:59:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=HJzUHcWwSHnOcLnOoeWhXGRRGxMgoDvd7zYD43sFO0A=; b=J222r4VXdriJQ78wZ0sylgCsFf/JDgzlGim24AQkJn77Yxk6ueM5phb2lTm84BH0AO 79V4ZcWwPf6yEOGEECMH68+E19QbyE98KTtPETPEH2EzQUDihE8yIQj0BxWvxEnV0w9+ Y1mE5CarM97XbTpVJk+Y54nAGEjtLyjoDIilyO4DtQLC3GVE/y5HFCLqWAoAcMyGIvke y/E80goWJ0f+Or/5y8BMAJEAVOegHNz+zSHm+grvPJNKBjMPPh5CdClSm9I4/af/uAGF 5IESwoA4SERHeGqR3AE8zpM53vFYeHYGBx4mJHYzv0Nlqj4sAz1TrB2vagKuXxpsohwT s0wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=HJzUHcWwSHnOcLnOoeWhXGRRGxMgoDvd7zYD43sFO0A=; b=hgqICJsvFA0ug4bX5GVHjArqYVg2L1Up6hhc7CX3L/rv8VHTx68807VUS8cdeWJhbX WklZt2NR31r0XOF20aeFClxUWmlIqA6sbdbFRr4gmuE0d3rIXgbZtIuNLZJ/zPCiEnDS Z1mUuX3taT464+1iuMJaHeN6mytS7igRJIYiBs2iWBnPQoDIKJ+exrWF5jbGQRsCky24 OkA2UncYckU0CYJzj/Kt26Rzqk8enkm+vgme5xT0rmAcx+DN/Hn2DbwD+utw43h3vGMM vodnm2g89ta76/scptPWOBezktR07O4aG6914ax0Y7zG0jTey+kJ3xdjAEVQzl/jiR5N bS6w== X-Gm-Message-State: AOAM533epvPWS0nLS9A5llCFatzD/Rtu9nc5E0A16FwMI/6R19CfKLxS pqAKtGNUpLeCQx6dWW8sATE= X-Google-Smtp-Source: ABdhPJyhqDq//IJpQypyhqS0Tz8qgqmF0ZIbub+UVBL3WJaSjpSaxqj9ORdesst/1pd6TQinkKCDIA== X-Received: by 2002:a2e:9cd8:: with SMTP id g24mr5426831ljj.359.1624787953117; Sun, 27 Jun 2021 02:59:13 -0700 (PDT) Received: from leviafan ([217.107.194.21]) by smtp.gmail.com with ESMTPSA id d4sm998112lfa.12.2021.06.27.02.59.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Jun 2021 02:59:12 -0700 (PDT) From: Alex Kost References: <87eeun97ur.fsf@gmail.com> <874kdlxsfl.fsf_-_@gmail.com> Date: Sun, 27 Jun 2021 12:59:28 +0300 In-Reply-To: <874kdlxsfl.fsf_-_@gmail.com> (Maxim Cournoyer's message of "Fri, 25 Jun 2021 22:37:02 -0400") Message-ID: <8735t3d3wf.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (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: , Cc: iyzsong@gmail.com, 20255@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624788018; 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: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=HJzUHcWwSHnOcLnOoeWhXGRRGxMgoDvd7zYD43sFO0A=; b=i1+cOhfsA/eDzXlFR+7wACkPbm2VI/WUI9RjsUaCLKW9H38dfHGzsDCcHm5RkiwL4hGUSi W4FYS6nJ1GvYTFTFzW89qSkoqBoMLO5nbE1MZ9VepaTiwjxlZnxEvscr0Gjw7HuCeeoo9l g/UicJBAEdLipc7+a1S5BWv5fGnnJMQFnPbY/6VsABwoyaPVLRUIvJVB7oeAYx2XUqNFqw +JAtBTWFJrlw5NCLpsnW4a3StVRHneHYHAkp/rUc/hWYMU/CkNtIUAbkIgMaAWpz/ktLeE JKlFl+zEN5mx/7gcAc1H8JKpmDtTbBEvoZS8R5v6QXiK0KLtqcQbNIAuPpOt8A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624788018; a=rsa-sha256; cv=none; b=Oxpv3yvisUlKMMZHgeFxgjG7pf3vxJANDOECu3xHkWtZ02KeboIm0sBgsyBz++DPLj1p8q gShCmVSOUDBAvnwmtM6xp9UkU5Saxr3AmB8ifPYpO7KkOqSLy52aJFazcPH/OwRothlpgP tWzNn4eQBPXO1zdFYBflyRdge4nGdwZ+zEajqeSDhF+kNbWuTpJW0mYf9Bh3hphAU+14g0 9s2BVyZqvrenebEvAlicQG8JRoYFCdPw8a7NNk6YQTsAhoX3qSkax9yCbsKwLAJ67RFMoh qr+Wy3v/VuY5xmDJegOZIWjxMcXGrqKhvf8Hs8pCOLCxslFF8ybmSpIPOuVOwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=J222r4VX; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=J222r4VX; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: B3F4919235 X-Spam-Score: -1.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: V7gwcF0FD9Zs Maxim Cournoyer (2021-06-25 22:37 -0400) wrote: [...] > Do you still have a vetted interest in the issue at hand? This is a > serious usability problem that's been in limbo for 6 years, apparently > for reasons of purity (not wanting to run a command in /etc/profile). > While I share the sentiment that /etc/profile would better be 'inert' or > static, it seems we haven't been able to come up with a better solution > than calling 'guix package --search-paths'. Like Ludovic, I also don't > find the idea of allowing users to override /etc/profile very appealing; > even if undocumented, its mere presence in the operating-system field > would be an invitation for problems. An environment variable to disable > such basic functionality also seems backward to me. > > I would personally be in favor of committing the fix as-is. If < 1 s of > wasted time on boot is an issue, I suggest to look into GNU Shepherd to > offset it; optimization opportunities should abound :-). I can modify /etc/profile with any "normal" linux distribution but I cannot do it with the Guix System. And I find it awful that you think it should stay like that. I am for providing as much freedom for a user (to configure their system) as possible. The current /etc/profile is bearable for me, but if you add a "guix ..." call there without providing a way to modify that file, I will probably stop using the Guix System. Or maybe there is a hacky way to change /etc/profile ? If so, please share a code how this can be done. (Then I will not complain anymore) -- Alex