From: Pjotr Prins <pjotr.public12@thebird.nl>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 32183@debbugs.gnu.org
Subject: bug#32183: New ‘guix pull’ /root/.config/current/bin/guix: Permission denied
Date: Sun, 2 Sep 2018 16:28:55 +0200 [thread overview]
Message-ID: <20180902142855.llzongao3kraunys@thebird.nl> (raw)
In-Reply-To: <871sacats5.fsf@gnu.org>
On Sun, Sep 02, 2018 at 03:55:06PM +0200, Ludovic Courtès wrote:
> Hi Pjotr,
>
> What was the outcome of this bug?
>
> https://bugs.gnu.org/32183
>
> If it wasn’t resolved, could you answer the questions below?
I still face this problem on one or two machines. I am running a
standard setup. Not sure what it is.
But since no one else is reporting I think it must be because I am
running some earlier tree checkout too for deployment. Something got
messed up.
You can close this issue for now. I'll simply reinstall Guix on these
machines and start building a recent tree.
> Thanks in advance!
>
> Ludo’.
>
> ludo@gnu.org (Ludovic Courtès) skribis:
>
> > Hi Pjotr,
> >
> > Pjotr Prins <pjotr.public12@thebird.nl> skribis:
> >
> >> Not completely sorted. Not sure what is going wrong but now starting
> >> with guix 0.14 daemon and client and running guix pull a few times
> >> successfully, running guix-daemon from $HOME/.config/guix/current/bin
> >> and guix from a fresh git checkout using ./pre-inst-env guix I get
> >>
> >> substitute: /gnu/store/x02v3j0h5q1d9bl3lwxavp8m9rpm3b7m-guix-daemon-0.15.0-2.8bbb79c/libexec/guix/substitute: line 8: /root/.config/guix/current/bin/guix: No such file or directory
> >>
> >> which is funny for two reasons - 1st this is a guix-daemon that
> >> appears to be older (it is the same) referring to a directory that
> >> does not exist - guix pull is in my $HOME/.config.
> >
> > Since ‘guix-daemon’ runs as root, the ‘guix-daemon’ package¹ assumes
> > that ~root/.config/guix/current/bin/guix exists. In fact, the only way
> > you can install the ‘guix-daemon’ package is by running ‘guix pull’, and
> > if you run ‘guix-daemon’ you run it as root, so ~root/.config/guix
> > necessarily exists.
> >
> > Or could it be that you’re running ‘guix-daemon’ from
> > ~/.config/guix/current as non-root? That would indeed fail.
> >
> > In fact it may be enough to do:
> >
> > exec ~/.config/guix/current/bin/guix …
> >
> > instead of:
> >
> > exec ~root/.config/guix/current/bin/guix …
> >
> > in that ‘install’ phase of ‘guix-daemon’.
> >
> > Thanks,
> > Ludo’.
> >
> > ¹ https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/package-management.scm#n301
>
next prev parent reply other threads:[~2018-09-02 14:41 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20180717085541.g6nuycopf5kxoin7@thebird.nl>
[not found] ` <20180717191554.GA23234@jasmine.lan>
2018-07-17 22:28 ` bug#32183: New ‘guix pull’ /root/.config/current/bin/guix: Permission denied Ludovic Courtès
2018-07-23 22:28 ` Pjotr Prins
2018-07-26 13:50 ` Ludovic Courtès
2018-09-02 13:55 ` Ludovic Courtès
2018-09-02 14:28 ` Pjotr Prins [this message]
2018-09-02 20:04 ` Ludovic Courtès
2018-09-06 21:10 ` Pjotr Prins
2018-09-09 7:20 ` Pjotr Prins
2018-09-09 14:02 ` Pjotr Prins
2018-09-09 14:44 ` Ludovic Courtès
2018-09-11 9:34 ` Konrad Hinsen
2018-09-11 10:12 ` Ludovic Courtès
2018-09-11 13:23 ` Pjotr Prins
2018-09-11 13:58 ` Pjotr Prins
2018-09-11 14:27 ` Ludovic Courtès
2018-10-11 16:32 ` Ludovic Courtès
2018-10-12 6:59 ` Konrad Hinsen
2018-10-12 12:57 ` Ludovic Courtès
2018-10-15 11:59 ` Konrad Hinsen
2018-10-15 19:33 ` Ludovic Courtès
2018-10-16 10:41 ` Konrad Hinsen
2018-10-17 8:44 ` Ludovic Courtès
2018-10-17 9:17 ` Konrad Hinsen
2018-10-17 23:06 ` Ludovic Courtès
2018-11-02 14:38 ` swedebugia
2018-11-03 14:13 ` Ludovic Courtès
2018-10-14 18:12 ` Pjotr Prins
2018-09-11 14:26 ` Ludovic Courtès
2018-09-05 15:27 ` bug#32183: Me too! Konrad Hinsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180902142855.llzongao3kraunys@thebird.nl \
--to=pjotr.public12@thebird.nl \
--cc=32183@debbugs.gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).