[Bug 280809] jail_attach(2) fails to document reason for EPERM
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 280809] jail_attach(2) fails to document reason for EPERM"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 13 Aug 2024 20:51:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280809
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 context...
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).
--
You are receiving this mail because:
You are on the CC list for the bug.