GNU bug report logs

#20255 'search-paths' should respect both user and system profile.

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #100 received at 20255@debbugs.gnu.org (full text, mbox, reply):

Received: (at 20255) by debbugs.gnu.org; 27 Jun 2021 09:59:23 +0000
From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 27 05:59:23 2021
Received: from localhost ([127.0.0.1]:48948 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	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 <alezost@gmail.com>) 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 <alezost@gmail.com>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Subject: Re: bug#20255: 'search-paths' should respect both user and system
 profile.
References: <CAJ3okZ3pg6q=Z29tfuDtdCwRrC6FYbFma_qAtAb2mVw4CTMW3A@mail.gmail.com>
 <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-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 20255
Cc: iyzsong@gmail.com, 20255@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
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




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Sep 7 12:34:05 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.