unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: mlell@posteo.de
To: jimmy@thrasibule.mx
Cc: Help-Guix <help-guix-bounces+mlell=posteo.de@gnu.org>, help-guix@gnu.org
Subject: Re: guix pull: error: getting status of /var/guix/gcroots
Date: Thu, 06 Feb 2020 11:29:03 +0100	[thread overview]
Message-ID: <6462c512764a5ceeb587773821347e55@posteo.de> (raw)
In-Reply-To: <CAMqSRmC2ksHPjsLgSwNDXKN=QzoB4dq3+QnT_ji1EHom2z9nUw@mail.gmail.com>

Hi Jimmy!


> I guess they are reducing the capabilities allowed to their build 
> platform
> but I can really tell what operation is guix pull attempting in this
> particular case.
> 

Do you have any possibility to run guix pull with strace? strace is a 
program that logs all the system calls [1] of another program,
so you might see what operation is failing.

But for this, you must modify the startup file of guix-daemon! Because 
`guix pull` only forwards requests to `guix-daemon`, which
does all the work! I don't know how to do it in docker, but, for my Arch 
Linux system, there is a `guix-daemon` service file at
  /etc/systemd/system/guix-daemon.service.

There, you can find a line starting with "ExecStart=". This is the 
command to run the daemon. Prepend `strace -o 
/tmp/guix-daemon.strace.log` to the command to log all the system calls 
to the file /tmp/guix-daemon.stace.log

Hope that helps,
Moritz

[1]: 
https://en.wikipedia.org/wiki/System_call#Categories_of_system_calls

  reply	other threads:[~2020-02-06 10:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-30 13:10 guix pull: error: getting status of /var/guix/gcroots Jimmy Thrasibule
2020-02-06 10:29 ` mlell [this message]
2020-02-06 14:02 ` zimoun
2020-02-06 21:19   ` Jimmy Thrasibule
2020-02-07 12:16     ` zimoun

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=6462c512764a5ceeb587773821347e55@posteo.de \
    --to=mlell@posteo.de \
    --cc=help-guix-bounces+mlell=posteo.de@gnu.org \
    --cc=help-guix@gnu.org \
    --cc=jimmy@thrasibule.mx \
    /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.
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).