* bug#36379: Running `guix pull` as "root" user
@ 2019-06-25 16:09 Raghav Gururajan
2019-06-25 16:15 ` Raghav Gururajan
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Raghav Gururajan @ 2019-06-25 16:09 UTC (permalink / raw)
To: 36379
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#36379: Running `guix pull` as "root" user
2019-06-25 16:09 bug#36379: Running `guix pull` as "root" user Raghav Gururajan
@ 2019-06-25 16:15 ` Raghav Gururajan
[not found] ` <87woh84zj6.fsf@roquette.mug.biscuolo.net>
2019-07-25 9:57 ` bug#36379: ATTENTION REQUIRED Raghav Gururajan
2 siblings, 0 replies; 8+ messages in thread
From: Raghav Gururajan @ 2019-06-25 16:15 UTC (permalink / raw)
To: 36379
> 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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#36379: Running `guix pull` as "root" user
[not found] ` <8cf7958fabeec0543ecde230c61453a1a2eb00b3.camel@disroot.org>
@ 2019-06-26 13:49 ` Giovanni Biscuolo
2019-06-26 16:37 ` Raghav Gururajan
0 siblings, 1 reply; 8+ messages in thread
From: Giovanni Biscuolo @ 2019-06-26 13:49 UTC (permalink / raw)
To: Raghav Gururajan; +Cc: 36379
[-- Attachment #1: Type: text/plain, Size: 420 bytes --]
Hello Raghav,
sorry I missed to send my reply to 36379@debbugs.gnu.org also
Raghav Gururajan <rvgn@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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#36379: Running `guix pull` as "root" user
2019-06-26 13:49 ` Giovanni Biscuolo
@ 2019-06-26 16:37 ` Raghav Gururajan
2019-07-02 0:52 ` Raghav Gururajan
0 siblings, 1 reply; 8+ messages in thread
From: Raghav Gururajan @ 2019-06-26 16:37 UTC (permalink / raw)
To: Giovanni Biscuolo; +Cc: 36379
>
> OK thanks, I'll try to reproduce this ASAP
>
That would be great. Thank you very much.
Regards,
RG.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#36379: Running `guix pull` as "root" user
2019-06-26 16:37 ` Raghav Gururajan
@ 2019-07-02 0:52 ` Raghav Gururajan
2019-07-05 7:31 ` Giovanni Biscuolo
0 siblings, 1 reply; 8+ messages in thread
From: Raghav Gururajan @ 2019-07-02 0:52 UTC (permalink / raw)
To: Giovanni Biscuolo; +Cc: 36379
Hi Giovanni!
Any update please?
Regards,
RG.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#36379: Running `guix pull` as "root" user
2019-07-02 0:52 ` Raghav Gururajan
@ 2019-07-05 7:31 ` Giovanni Biscuolo
2019-07-05 18:20 ` Raghav Gururajan
0 siblings, 1 reply; 8+ messages in thread
From: Giovanni Biscuolo @ 2019-07-05 7:31 UTC (permalink / raw)
To: Raghav Gururajan; +Cc: 36379
[-- Attachment #1: Type: text/plain, Size: 300 bytes --]
Raghav Gururajan <rvgn@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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#36379: Running `guix pull` as "root" user
2019-07-05 7:31 ` Giovanni Biscuolo
@ 2019-07-05 18:20 ` Raghav Gururajan
0 siblings, 0 replies; 8+ messages in thread
From: Raghav Gururajan @ 2019-07-05 18:20 UTC (permalink / raw)
To: Giovanni Biscuolo; +Cc: 36379
> 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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#36379: ATTENTION REQUIRED
2019-06-25 16:09 bug#36379: Running `guix pull` as "root" user Raghav Gururajan
2019-06-25 16:15 ` Raghav Gururajan
[not found] ` <87woh84zj6.fsf@roquette.mug.biscuolo.net>
@ 2019-07-25 9:57 ` Raghav Gururajan
2 siblings, 0 replies; 8+ messages in thread
From: Raghav Gururajan @ 2019-07-25 9:57 UTC (permalink / raw)
To: 36379
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2019-07-25 9:59 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-25 16:09 bug#36379: Running `guix pull` as "root" user Raghav Gururajan
2019-06-25 16:15 ` Raghav Gururajan
[not found] ` <87woh84zj6.fsf@roquette.mug.biscuolo.net>
[not found] ` <8cf7958fabeec0543ecde230c61453a1a2eb00b3.camel@disroot.org>
2019-06-26 13:49 ` Giovanni Biscuolo
2019-06-26 16:37 ` Raghav Gururajan
2019-07-02 0:52 ` Raghav Gururajan
2019-07-05 7:31 ` Giovanni Biscuolo
2019-07-05 18:20 ` Raghav Gururajan
2019-07-25 9:57 ` bug#36379: ATTENTION REQUIRED Raghav Gururajan
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).