all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pjotr Prins <pjotr.public12@thebird.nl>
To: Pjotr Prins <pjotr.public12@thebird.nl>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: New ‘guix pull’ /root/.config/current/bin/guix: Permission denied
Date: Fri, 13 Jul 2018 11:08:44 +0200	[thread overview]
Message-ID: <20180713090844.5lkhw4v4ujd3kil7@thebird.nl> (raw)
In-Reply-To: <20180713083902.vwd32bltq35pwe5o@thebird.nl>

On Fri, Jul 13, 2018 at 10:39:02AM +0200, Pjotr Prins wrote:
> This is a blocker since I can't build from source either. /root/.config/current/bin/guix exists and gives
> 
>      guix (GNU Guix) ecba50bb79a49b317c4b1e718f4732b36438227f
> 
> Apparently the user client need to access /root. What to do? 

Another thing we may want to change is /root/.config/current to
/root/.config/guix/current like in the $HOME/.config/guix/current.

So, I am trying all options, even when running guix-daemon from
/home/pjotr/.config/guix/current i get the same error. E.g.,

  /home/pjotr/.config/guix/current/bin/guix-daemon --build-users-group=guixbuild

The environment for the daemon is

root@penguin2:~/.config# set
  BASH=/bin/bash
  PATH=/home/pjotr/.config/guix/current/bin
  UID=0
  USER=root
  USERNAME=root

Running the client with

  env GUIX_PACKAGE_PATH=../guix-bioinformatics/ /home/pjotr/.config/guix/current/bin/guix package -i gemma-dev-env --substitute-urls="https://berlin.guixsd.org https://mirror.hydra.gnu.org" -p ~/opt/gemma-dev-env 

(just so I have to build something)

It appears the daemon in /home/pjotr/.config/guix/current/bin/guix-daemon wants to pick up 
 
  /gnu/store/8ahlc84zaj0iw9jpsdpa9wx4ms0s9cma-guix-daemon-0.15.0-1.4876bc8/libexec/guix/download: line 8: /root/.config/current/bin/guix: Permission denied
  /gnu/store/8ahlc84zaj0iw9jpsdpa9wx4ms0s9cma-guix-daemon-0.15.0-1.4876bc8/libexec/guix/download: line 8: exec: /root/.config/current/bin/guix: cannot execute: Permission denied

Not sure what is happening here. Why is it looking in /root? And why is it
using a different non-pull version of guix
/gnu/store/8ahlc84zaj0iw9jpsdpa9wx4ms0s9cma-guix-daemon-0.15.0-1.4876bc8 which
is different from the one I am running? How does it look for this tool and find
it in the wrong path?

Even when symlinking /root/.config/current -> /home/pjotr/.config/guix/current I get the same error.

Pj.

  reply	other threads:[~2018-07-13  9:08 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-09 10:16 New ‘guix pull’ Ludovic Courtès
2018-06-09 14:25 ` New ‘guix pull’ dosen’t update the guix manual in GuixSD 宋文武
2018-06-10 19:33   ` bug#31770: " Ludovic Courtès
2018-06-10 19:33   ` Ludovic Courtès
2018-06-11 11:27     ` 宋文武
2018-06-12 13:54       ` bug#31770: " Ludovic Courtès
2018-06-12 13:54       ` Ludovic Courtès
2018-06-11 11:27     ` bug#31770: " 宋文武
2018-07-08 17:31 ` New ‘guix pull’ Pjotr Prins
2018-07-12  9:35 ` Chris Marusich
2018-07-12 11:04   ` Pjotr Prins
2018-07-12 11:12     ` Pjotr Prins
2018-07-12 12:35       ` New ‘guix pull’ - guile-sqlite3 problem Pjotr Prins
2018-07-12 12:43         ` Pjotr Prins
2018-07-18  5:32         ` Chris Marusich
2018-07-19  7:22           ` Pjotr Prins
2018-07-19  8:12             ` Chris Marusich
2018-07-12 14:17     ` New ‘guix pull’ Ricardo Wurmus
2018-07-12 14:20       ` Pjotr Prins
2018-07-12 14:29         ` Ricardo Wurmus
2018-07-12 16:44           ` Pjotr Prins
2018-07-13  8:39             ` New ‘guix pull’ /root/.config/current/bin/guix: Permission denied Pjotr Prins
2018-07-13  9:08               ` Pjotr Prins [this message]
2018-07-13  9:48                 ` Pjotr Prins
2018-07-13  9:54                   ` Pjotr Prins
2018-07-13 12:04               ` Ludovic Courtès
2018-07-13 15:24                 ` Pjotr Prins
2018-07-13  8:41             ` New ‘guix pull’ Pjotr Prins
2018-10-14 18:17           ` Pjotr Prins
2018-10-15 10:14             ` Ludovic Courtès
2018-07-12 16:01   ` Ludovic Courtès
2018-07-12 20:52     ` Brett Gilio

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180713090844.5lkhw4v4ujd3kil7@thebird.nl \
    --to=pjotr.public12@thebird.nl \
    --cc=guix-devel@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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.