Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Aug 2024 20:51:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 280809] jail_attach(2) fails to document reason for EPERM
Message-ID:  <bug-280809-9-xOXICbv2GG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-280809-9@https.bugs.freebsd.org/bugzilla/>
References:  <bug-280809-9@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280809

Olivier Certner <olce@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |olce@FreeBSD.org

--- Comment #1 from Olivier Certner <olce@FreeBSD.org> ---
Funnily, I stumbled into the exact same problem today in a different contex=
t...

That behavior is very indirectly documented through the paragraph:
> Further jail(), jail_set(), and jail_attach() call chroot(2) internally,
> so they can fail for all the same reasons.  Please consult the chroot(2)
> manual page for details.

I agree that the jail_attach(2) manpage should mention the other "common"
reason for getting EPERM (another reason is for the attach to be rejected by
the MAC framework, and there are still potentially others).

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280809-9-xOXICbv2GG>