From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: User shell: state or config? Date: Sat, 27 Apr 2019 12:54:15 +0200 Message-ID: <87h8ajiuqw.fsf@gnu.org> References: <874l6mpduo.fsf@gnu.org> <20190426201818.4vw3ycp6ep4i3zjd@melmoth> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:39913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKKyI-0005Y2-CF for guix-devel@gnu.org; Sat, 27 Apr 2019 06:54:19 -0400 In-Reply-To: <20190426201818.4vw3ycp6ep4i3zjd@melmoth> (Tanguy Le Carrour's message of "Fri, 26 Apr 2019 22:18:18 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Tanguy Le Carrour Cc: Guix-devel Hi, Tanguy Le Carrour skribis: > I don't yet understand the consequences of this choice, so I don't have an > opinion on this. For instance, I don't yet understand why, on my system, = two > shells installed "system wide" with `guix system reconfigure` > (namely bash and fish) don't have the same "type" of path [1]? > I was expecting fish to be in the `/run/current-system/profile/bin/` > folder. And what about the second bash?! > > [1]: from `/etc/shells` > /run/current-system/profile/bin/bash > /gnu/store/qn1ax1fkj16x280m1rv7mcimfmn9l2pf-bash-4.4.23/bin/bash > /gnu/store/9r5z8k0p0ilmg8qfyc82x11ybacawfqa-fish-3.0.2/bin/fish /etc/shells is one of these good ol=E2=80=99 Unix hacks, like /etc/fstab, t= hat don=E2=80=99t make much sense on Guix, but that we provide to please a numb= er of programs that rely on it (in this case: xterm and polkit, notably, and chsh.) You can find in (gnu system shadow) the code that creates this file. The first three lines are added systematically, while the others are derived from user accounts. HTH, Ludo=E2=80=99.