From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: New =?utf-8?B?4oCYZ3VpeCBwdWxs?= =?utf-8?B?4oCZ?= /root/.config/current/bin/guix: Permission denied Date: Fri, 13 Jul 2018 11:48:01 +0200 Message-ID: <20180713094801.l56ry5j55oamfblx@thebird.nl> References: <87y3fogt8e.fsf@gnu.org> <87sh4ore3y.fsf@gmail.com> <20180712110438.gr3agufho7h63hel@thebird.nl> <87o9fcr11f.fsf@elephly.net> <20180712142045.uyxksvqgrl7zz3z5@thebird.nl> <87muuwr0i9.fsf@elephly.net> <20180712164456.o3nhmhqobo5idilg@thebird.nl> <20180713083902.vwd32bltq35pwe5o@thebird.nl> <20180713090844.5lkhw4v4ujd3kil7@thebird.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56738) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdugI-0003AC-3h for guix-devel@gnu.org; Fri, 13 Jul 2018 05:48:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdugF-0002WH-1P for guix-devel@gnu.org; Fri, 13 Jul 2018 05:48:06 -0400 Received: from mail.thebird.nl ([94.142.245.5]:60646) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fdugE-0002Va-Pg for guix-devel@gnu.org; Fri, 13 Jul 2018 05:48:02 -0400 Content-Disposition: inline In-Reply-To: <20180713090844.5lkhw4v4ujd3kil7@thebird.nl> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Pjotr Prins Cc: guix-devel grep 8ahlc84zaj0iw9jpsdpa9wx4ms0s9cma -R ~/.config/guix/ Binary file /home/pjotr/.config/guix/current/bin/guix-daemon matches Binary file /home/pjotr/.config/guix/current-2-link/bin/guix-daemon matches Binary file /home/pjotr/.config/guix/current-3-link/bin/guix-daemon matches grep 8ahlc84zaj0iw9jpsdpa9wx4ms0s9cma -R /gnu/store/a5cixasz02ynhppna33zxymxahp3vl13-guix-ecba50bb7 Binary file /gnu/store/a5cixasz02ynhppna33zxymxahp3vl13-guix-ecba50bb7/bin/guix-daemon matches Note ecba50bb7 is the guix installed with guix pull earlier... Weirness. Pj. On Fri, Jul 13, 2018 at 11:08:44AM +0200, Pjotr Prins wrote: > 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. >