GNU bug report logs - #52862
Clarify note about sudo in 3.7 After System Installation

Previous Next

Package: guix;

Reported by: Akira Kyle <akira <at> akirakyle.com>

Date: Wed, 29 Dec 2021 00:51:02 UTC

Severity: normal

To reply to this bug, email your comments to 52862 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#52862; Package guix. (Wed, 29 Dec 2021 00:51:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Akira Kyle <akira <at> akirakyle.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 29 Dec 2021 00:51:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Akira Kyle <akira <at> akirakyle.com>
To: bug-guix <at> gnu.org
Subject: Clarify note about sudo in 3.7 After System Installation
Date: Tue, 28 Dec 2021 14:56:13 -0700
Hi,

I'm trying to get going with guixsd for the first time and I just
spent awhile trying to figure out what was going wrong trying to run
'guix pull' and 'guix system reconfigure /etc/config.scm'.

The issue was that I was running both in shell obtained via 'sudo su'
from my user shell. I had read the note about this in section "3.7
After System Installation" and thought since, following the note, I
was running both in a root shell, this would be fine. Coming from nix,
this is fine, however I see now that the environment and path are
incorrect in a 'sudo su' shell as the guix that was being used was the
system guix from /run/current-system/profile and not
/root/.config/guix/current which led to the effective system downgrade
that running guix system reconfigure kept warning about.

I would suggest updating the documentation to explicitly say 'sudo su'
should not be used since I expect there are many others like me who
are ignorant to the differences between 'sudo su' and 'sudo -i'

Thanks,
Akira




This bug report was last modified 2 years and 334 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.