From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?G=C3=A1bor?= Boskovits Subject: bug#30728: Modification for guix installation script. Date: Tue, 27 Mar 2018 13:53:32 +0200 Message-ID: References: <87d0zr9r76.fsf@lassieur.org> <87fu4ngq0a.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113eb35c36a2560568638a6d" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0nB0-0007Gi-8l for bug-guix@gnu.org; Tue, 27 Mar 2018 07:54:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0nAw-0002Sb-4c for bug-guix@gnu.org; Tue, 27 Mar 2018 07:54:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:47358) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0nAw-0002SU-19 for bug-guix@gnu.org; Tue, 27 Mar 2018 07:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f0nAv-000480-Lm for bug-guix@gnu.org; Tue, 27 Mar 2018 07:54:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87fu4ngq0a.fsf@elephly.net> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ricardo Wurmus Cc: Guix-devel , 30728@debbugs.gnu.org, =?UTF-8?Q?Cl=C3=A9ment?= Lassieur , Tatiana Sholokhova --001a113eb35c36a2560568638a6d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 2018-03-26 11:11 GMT+02:00 Ricardo Wurmus : > > Hi Cl=C3=A9ment, > > > As I said to Chris (Cc'ed), I don't think it's a good idea to install > > Guix in root's home directory. Instead, we should probably honor the > > USER and HOME environment variables, so that the command can be run as = a > > non-root user (with sudo) in a consistent way. What do you think? > > The script should be run as root as it follows the manual=E2=80=99s > instructions, which tell people to install Guix for the root user and > then make it available system-wide. > > This is why I think that it would be correct to install it to the root=E2= =80=99s > home directory and not to the sudoing user=E2=80=99s HOME. > > Or am I missing something? > > I think Ricardo is right on this one. I would also recommend installing in root's home directory. Ibelieve, that installing in a user home would make sense only with a big amount of additional instrumentation and documentation changes, along with arrangements to allow guix in userspace. This is a straightforward way to make the script do what it's purpose is. > -- > Ricardo > > GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC > https://elephly.net > > > > --001a113eb35c36a2560568638a6d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
2018= -03-26 11:11 GMT+02:00 Ricardo Wurmus <rekado@elephly.net>:=

Hi Cl=C3=A9ment,

> As I said to Chris (Cc'ed), I don't think it's a good idea= to install
> Guix in root's home directory.=C2=A0 Instead, we should probably h= onor the
> USER and HOME environment variables, so that the command can be run as= a
> non-root user (with sudo) in a consistent way.=C2=A0 What do you think= ?

The script should be run as root as it follows the manual=E2=80=99s<= br> instructions, which tell people to install Guix for the root user and
then make it available system-wide.

This is why I think that it would be correct to install it to the root=E2= =80=99s
home directory and not to the sudoing user=E2=80=99s HOME.

Or am I missing something?

<= br>
I think Ricardo is right on this one. I would also recommend = installing in
root's home directory. Ibelieve, that installin= g in a user home would make
sense only with a big amount of addit= ional instrumentation and
documentation changes, along with arran= gements to allow guix in
userspace. This is a straightforward way= to make the script do what it's
purpose is.
=C2=A0=
--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6=C2=A0 2150 197A 5888 235F ACAC
https:= //elephly.net




--001a113eb35c36a2560568638a6d--