bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#32183: New ‘guix pull’ /root/.config/current/bin/guix: Permission de


From: Ludovic Courtès
Subject: bug#32183: New ‘guix pull’ /root/.config/current/bin/guix: Permission denied
Date: Tue, 11 Sep 2018 16:26:43 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Pjotr Prins <address@hidden> skribis:

> On Tue, Sep 11, 2018 at 12:12:15PM +0200, Ludovic Courtès wrote:
>> The download process is running as a build user, not as root, hence the
>> permission issue (silly me!).
>> 
>> Now we need to find a way to use ‘guix’ from root’s
>> ~/.config/guix/current.  A solution may be to expose that profile under
>> /var/guix/profiles.  Needs more thought…
>
> Great! Any quick hacks to fix this?

A quick workaround is to run ‘guix-daemon’ from the ‘guix’ package.  So,
as root, you’d do:

  guix pull             # if you haven’t done it recently
  guix package -i guix  # to install or upgrade guix

Then make sure your systemd (or whatever) config file returns to
/var/guix/profiles/per-user/root/guix-profile/bin/guix-daemon as it
does when you install Guix from the binary tarball.

HTH!

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]