Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Apr 2017 16:52:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 218917] [ezjail patch] for depreciated legacy rc.conf method support being dropped.
Message-ID:  <bug-218917-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 218917
           Summary: [ezjail patch] for depreciated legacy rc.conf method
                    support being dropped.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: qjail1@a1poweruser.com
                CC: erdgeist@erdgeist.org

Created attachment 182130
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D182130&action=
=3Dedit
patch to ezjail source

The legacy rc.conf method is depreciated and support for it will be removed=
 in
an coming release of Freebsd. The /etc/rc.d/jail script contains the on-the=
-fly
conversion from the legacy rc.conf method used by ezjail to the jail.conf
method. This conversion code is what is planed to be removed.=20

To negate the need of rewriting the ezjail-admin script to internally use t=
he
jail.conf method this simple hack is being used instead.=20

The /etc/rc.d/jail script is copied to the ezjail port source, renamed
ezjail.jail and the following line of code changed in the ezjail.sh script =
to
use it instead of the OS one, so when the legacy rc.conf method is removed =
from
the OS /etc/rc.d/jail script it will not effect ezjail operation.


#[ "${ezjail_pass}" ] && sh /etc/rc.d/jail one${action%crypto} ${ezjail_pas=
s}
[ "${ezjail_pass}" ] && sh /usr/local/bin/ezjail.jail one${action%crypto}
${ezjail_pass}

--=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-218917-13>