[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#30728: guix-install.sh doesn't work if run with "sudo"
From: |
Ricardo Wurmus |
Subject: |
bug#30728: guix-install.sh doesn't work if run with "sudo" |
Date: |
Thu, 29 Mar 2018 12:07:50 +0200 |
User-agent: |
mu4e 1.0; emacs 25.3.1 |
Hi Clément,
> I am surprised that you didn't comment on
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30728#32 (where I explain
> to you why I disagree with Guix being installed in ~root) before saying
> LGTM.
Don’t be surprised: there are too many emails and I’m bound to forget
about some. My apologies for not repyling to your email earlier.
I read your mail but I disagree with the conclusions. It is not the job
of the installer script to install Guix for a particular user. It is
for a site-wide installation, including the set up of the daemon and a
service script. These things must happen as root. The idea is that
Guix is installed for the whole site and made available to all users.
Individual users can then choose to use “guix pull” to control their own
version of Guix.
I consider it inelegant and dangerous to make the Guix installation of
an unprivileged user the variant of Guix that is used by all users on
the system. Having it managed by the root user avoids surprises, even
on single-user systems, because the implication is that changes to the
root user’s Guix installation have system-wide effects.
The proposed patch is small and fixes the bug with regard to the
intention behind the script, so I’m happy to accept it.
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
- bug#30728: guix-install.sh doesn't work if run with "sudo", (continued)
- bug#30728: guix-install.sh doesn't work if run with "sudo", Chris Marusich, 2018/03/25
- bug#30728: guix-install.sh doesn't work if run with "sudo", Clément Lassieur, 2018/03/26
- bug#30728: guix-install.sh doesn't work if run with "sudo", Marius Bakke, 2018/03/26
- bug#30728: guix-install.sh doesn't work if run with "sudo", Ricardo Wurmus, 2018/03/27
- bug#30728: guix-install.sh doesn't work if run with "sudo", Clément Lassieur, 2018/03/27
- bug#30728: guix-install.sh doesn't work if run with "sudo", Chris Marusich, 2018/03/27
- bug#30728: guix-install.sh doesn't work if run with "sudo", Ricardo Wurmus, 2018/03/28
- bug#30728: guix-install.sh doesn't work if run with "sudo", Chris Marusich, 2018/03/29
- bug#30728: guix-install.sh doesn't work if run with "sudo", Clément Lassieur, 2018/03/29
- bug#30728: guix-install.sh doesn't work if run with "sudo", Clément Lassieur, 2018/03/29
- bug#30728: guix-install.sh doesn't work if run with "sudo",
Ricardo Wurmus <=
- bug#30728: guix-install.sh doesn't work if run with "sudo", Clément Lassieur, 2018/03/30
- bug#30728: guix-install.sh doesn't work if run with "sudo", Clément Lassieur, 2018/03/29