Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2018 01:42:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 226931] Deprecating jail(2) and related sysctls
Message-ID:  <bug-226931-8@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 226931
           Summary: Deprecating jail(2) and related sysctls
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: jamie@FreeBSD.org
             Flags: exp-run?, mfc-stable10-, mfc-stable11-

Created attachment 191820
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D191820&action=
=3Dedit
Patch for exp-run

jail(2) has been the old way of adding jails for nearly a decade, and it's =
past
due for moving into COMPAT.  Also, the sysctls under security.jail that went
along with it are more confusing than useful for the modern jail_set(2) wor=
ld,
and they should go away as well.

My plan is to put jail(2) under #ifdef COMPAT_FREEBSD11, and the sysctls un=
der
#ifndef BURN_BRIDGES.  But I want to make sure I can find and hopefully fix=
 any
ports still using jail(2).

So the included patch actually removes jail(2) and the sysctls entirely,
regardless of those defines, so an exp-run should catch anything still runn=
ing
under the old system.

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



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