From: "Ludovic Courtès" <ludo@gnu.org>
To: Marc Coquand <marc@coquand.email>
Cc: help-guix@gnu.org
Subject: Re: least-authority-wrapper - clone: permission not permitted
Date: Sat, 28 Dec 2024 18:57:17 +0100 [thread overview]
Message-ID: <87o70vu1vm.fsf@gnu.org> (raw)
In-Reply-To: <874j37kicn.fsf@coquand.email> (Marc Coquand's message of "Fri, 13 Dec 2024 12:06:16 +0200")
Hi Marc,
Marc Coquand <marc@coquand.email> skribis:
> After some debugging, I found that it was the namespace 'mnt that was
> causing issues, the script works when I remove it.
>
> The error I'm getting is
>
> Backtrace:
> 5 (primitive-load "/var/lib/laminar/cfg/after")
> In ice-9/eval.scm:
> 191:35 4 (_ #f)
> In gnu/build/linux-container.scm:
> 300:8 3 (call-with-temporary-directory #<procedure 7f7e58d71a50?>)
> 397:16 2 (_ "/tmp/guix-directory.nIT1Mt")
> 239:7 1 (run-container "/tmp/guix-directory.nIT1Mt" (#<<fil?> ?) ?)
> In guix/build/syscalls.scm:
> 1143:12 0 (_ 131089)
>
> guix/build/syscalls.scm:1143:12: In procedure clone: 131089: Operation not permitted
>
> When I try to invoke the script.
>
> Any clue why I'm getting the operation not permitted error?
Are unprivileged user namespaces enabled on this system?
If they are, could it be that you’re trying to run this from a namespace
that lacks this capability? (I always forget why exactly you cannot
always create processes in separate namespaces, but there are
restrictions that show up typically when nesting things.)
HTH,
Ludo’.
prev parent reply other threads:[~2024-12-28 17:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-13 10:06 least-authority-wrapper - clone: permission not permitted Marc Coquand
2024-12-28 17:57 ` Ludovic Courtès [this message]
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=87o70vu1vm.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=help-guix@gnu.org \
--cc=marc@coquand.email \
/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.