GNU bug report logs - #36379
Running `guix pull` as "root" user

Previous Next

Package: guix;

Reported by: Raghav Gururajan <rvgn <at> disroot.org>

Date: Tue, 25 Jun 2019 16:10:02 UTC

Severity: normal

To reply to this bug, email your comments to 36379 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#36379; Package guix. (Tue, 25 Jun 2019 16:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Raghav Gururajan <rvgn <at> disroot.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 25 Jun 2019 16:10:02 GMT) Full text and rfc822 format available.

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

From: Raghav Gururajan <rvgn <at> disroot.org>
To: bug-guix <at> gnu.org
Subject: Running `guix pull` as "root" user
Date: Tue, 25 Jun 2019 12:09:37 -0400
Hello Guix!

On a newly installed Guix System, before running first `guix pull`, the
output for `which guix` and `hash guix` for both "root" and "regular"
user are `/run/current-system/profile/bin/guix`. This is okay.

After running first `guix pull` as "regular" user, the output for
`which guix` and `hash guix` for that "regular" user are always
`/home/rg/.config/guix/current/bin/guix`. This is okay.

But after running first `guix pull` as "root" user, the output for
`which guix` and `hash guix` for that "regular" user are always
`/run/current-system/profile/bin/guix` instead of being
`/root/.config/guix/current/bin/guix`. This is a bug?

Thank you!

Regards,
RG.




Information forwarded to bug-guix <at> gnu.org:
bug#36379; Package guix. (Tue, 25 Jun 2019 16:16:02 GMT) Full text and rfc822 format available.

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

From: Raghav Gururajan <rvgn <at> disroot.org>
To: 36379 <at> debbugs.gnu.org
Subject: Re: Running `guix pull` as "root" user
Date: Tue, 25 Jun 2019 12:15:15 -0400
> But after running first `guix pull` as "root" user, the output for
> `which guix` and `hash guix` for that "regular" user are always
> `/run/current-system/profile/bin/guix` instead of being
> `/root/.config/guix/current/bin/guix`. This is a bug?

Sorry there is a typo. On second line, it is "for the 'root' user", NOT
"for that 'regular' user".

Regards,
RG.




Information forwarded to bug-guix <at> gnu.org:
bug#36379; Package guix. (Wed, 26 Jun 2019 13:51:02 GMT) Full text and rfc822 format available.

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

From: Giovanni Biscuolo <g <at> xelera.eu>
To: Raghav Gururajan <rvgn <at> disroot.org>
Cc: 36379 <at> debbugs.gnu.org
Subject: Re: bug#36379: Running `guix pull` as "root" user
Date: Wed, 26 Jun 2019 15:49:58 +0200
[Message part 1 (text/plain, inline)]
Hello Raghav,

sorry I missed to send my reply to 36379 <at> debbugs.gnu.org also

Raghav Gururajan <rvgn <at> disroot.org> writes:

>> Can you please specify how you ran `guix pull` as root?
>> 
>> Did you `su && guix pull`, `sudo guix pull` or `sudo -E guix pull?`
>
> I did by logging in as "root" in gdm.

OK thanks, I'll try to reproduce this ASAP

Gio'.

-- 
Giovanni Biscuolo

Xelera IT Infrastructures
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#36379; Package guix. (Wed, 26 Jun 2019 16:38:01 GMT) Full text and rfc822 format available.

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

From: Raghav Gururajan <rvgn <at> disroot.org>
To: Giovanni Biscuolo <g <at> xelera.eu>
Cc: 36379 <at> debbugs.gnu.org
Subject: Re: bug#36379: Running `guix pull` as "root" user
Date: Wed, 26 Jun 2019 12:37:12 -0400
> 
> OK thanks, I'll try to reproduce this ASAP
> 

That would be great. Thank you very much.

Regards,
RG.





Information forwarded to bug-guix <at> gnu.org:
bug#36379; Package guix. (Tue, 02 Jul 2019 00:54:02 GMT) Full text and rfc822 format available.

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

From: Raghav Gururajan <rvgn <at> disroot.org>
To: Giovanni Biscuolo <g <at> xelera.eu>
Cc: 36379 <at> debbugs.gnu.org
Subject: Re: bug#36379: Running `guix pull` as "root" user
Date: Mon, 01 Jul 2019 20:52:58 -0400
Hi Giovanni!

Any update please?

Regards,
RG.




Severity set to 'important' from 'normal' Request was from Raghav Gururajan <rvgn <at> disroot.org> to control <at> debbugs.gnu.org. (Tue, 02 Jul 2019 19:04:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#36379; Package guix. (Fri, 05 Jul 2019 07:33:01 GMT) Full text and rfc822 format available.

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

From: Giovanni Biscuolo <g <at> xelera.eu>
To: Raghav Gururajan <rvgn <at> disroot.org>
Cc: 36379 <at> debbugs.gnu.org
Subject: Re: bug#36379: Running `guix pull` as "root" user
Date: Fri, 05 Jul 2019 09:31:51 +0200
[Message part 1 (text/plain, inline)]
Raghav Gururajan <rvgn <at> disroot.org> writes:

> Hi Giovanni!
>
> Any update please?

Just that I was too busy with my work and I had to delay this.

Maybe next week I'll be able to reproduce, but don't hold your breath

Regards, Gio'.

-- 
Giovanni Biscuolo

Xelera IT Infrastructures
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#36379; Package guix. (Fri, 05 Jul 2019 18:21:01 GMT) Full text and rfc822 format available.

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

From: Raghav Gururajan <rvgn <at> disroot.org>
To: Giovanni Biscuolo <g <at> xelera.eu>
Cc: 36379 <at> debbugs.gnu.org
Subject: Re: bug#36379: Running `guix pull` as "root" user
Date: Fri, 05 Jul 2019 14:20:03 -0400
> Just that I was too busy with my work and I had to delay this.
> 
> Maybe next week I'll be able to reproduce, but don't hold your breath

That's okay.

Regards,
RG.




Information forwarded to bug-guix <at> gnu.org:
bug#36379; Package guix. (Thu, 25 Jul 2019 09:59:02 GMT) Full text and rfc822 format available.

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

From: Raghav Gururajan <raghavgururajan <at> disroot.org>
To: 36379 <at> debbugs.gnu.org
Subject: ATTENTION REQUIRED
Date: Thu, 25 Jul 2019 05:57:53 -0400
Hello Guix!

I am not sure whether someone patched this bug. There has been changes.

REPORTED ISSUE: After running first `guix pull` as "root" user, the
output for `which guix` and `hash guix` for that "root" user are always
`/run/current-system/profile/bin/guix` instead of being
`/root/.config/guix/current/bin/guix`.

PREVIOUSLY: The issue happens *both* when running guix pull by logging
in as root user from gdm and when doing `su && guix pull` as regular
user.

NOW: It happens only when doing `su` and `guix pull` in terminal as
regular user.

Regards,
RG.




Severity set to 'normal' from 'important' Request was from Ricardo Wurmus <rekado <at> elephly.net> to control <at> debbugs.gnu.org. (Thu, 14 May 2020 15:01:01 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 28 days ago.

Previous Next


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