[Bug 286367] Linux Jail - Operation not permitted (/src/build/release/libzmq/src/libzmq_external/src/thread.cpp:345)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 23 May 2025 17:36:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286367

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj@FreeBSD.org
             Status|New                         |Open

--- Comment #1 from Mark Johnston <markj@FreeBSD.org> ---
It's hard to see what the error is, but presumably it's related to the jail
imposing some policy on the program.  The strace output doesn't make it clear
(to me at least) which syscall is failing--presumably there are some compat
issues in the ptrace interface that strace is using.

Can you try running ktrace on the binary directly?  e.g., something like

# ktrace -i jexec testjail beldex ...

That would make it clearer what's going on.

-- 
You are receiving this mail because:
You are the assignee for the bug.