[Bug 181794] jexec(8) runs commands in Jails without taking into account of the Jail's FIB

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jun 19 15:17:08 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=181794

Jamie Gritton <jamie at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jamie at FreeBSD.org

--- Comment #6 from Jamie Gritton <jamie at FreeBSD.org> ---
I we store the FIB in the prison struct, then rather than having jexec(8) look
there and set the FIB, it should just be done in the kernel, in jail_attach(2).
 That's been the solution that's been floating around on my back burner (for
too long, I know).

That would still break attempts to enter a jail explicitly under a different
FIB, but I don't see a way around that.  But then, I also don't see a reason to
support that.

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


More information about the freebsd-jail mailing list