From owner-freebsd-jail@FreeBSD.ORG Tue Jan 27 22:05:46 2015 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 04B51BE0 for ; Tue, 27 Jan 2015 22:05:46 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id B7A1419A for ; Tue, 27 Jan 2015 22:05:45 +0000 (UTC) Received: from [192.168.1.2] (Seawolf.HML3.ScaleEngine.net [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 842429023D for ; Tue, 27 Jan 2015 22:05:39 +0000 (UTC) Message-ID: <54C80BBB.50806@freebsd.org> Date: Tue, 27 Jan 2015 17:05:47 -0500 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-jail@freebsd.org Subject: Re: Future of jail(8) [WAS: preferred jail management tool] References: <20150127012347.GA4940@lonesome.com> <20150127141239.V77290@sola.nimnet.asn.au> <54C7958B.40007@gmail.com> <54C7C828.4070703@erdgeist.org> <1422379391.4042797.219588169.1818EA41@webmail.messagingengine.com> In-Reply-To: <1422379391.4042797.219588169.1818EA41@webmail.messagingengine.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XpQjUldiSsDVR6pF8TubuRWSKbhV4QRoe" X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2015 22:05:46 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --XpQjUldiSsDVR6pF8TubuRWSKbhV4QRoe Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015-01-27 12:23, Mark Felder wrote: >=20 >=20 > On Tue, Jan 27, 2015, at 11:17, Dirk Engling wrote: >> On 27.01.15 14:41, Ernie Luzar wrote: >> >>> I hope the ezjail author takes this thread as incentive to keep his >>> utility up to date and not let it die due to changing software in Fre= ebsd >>> base code. All I am doing is pointing out the facts here. >> >> I am reading the thread. And I have been following the discussion for = a >> long time. >> >> I have been served the jail.conf file format and offered my help >> improving the jail(8) tool to allow for manipulation of the jail.conf,= >> because ezjail as a shell tool can not parse the format and keeping a >> shadow config with potentially conflicting information is not a stable= >> way to maintain ones config >> >> A short summary is here: >> >> https://elektropost.org/ezjail/msg00149.html >> >> I also heard rumors that the jail.conf format is an intermediate forma= t >> only, and/or there's gonna be a library to parse and manipulate all ki= nd >> of structured config in FreeBSD. >> >> So I'd be very interested in keeping up with the base system's >> development, but regarding jail configs it looks like I'm stuck with t= he >> "use your vi to configure your jails" approach for 3 years now. >> >> Is there anyone feeling responsible for the jail(8) tool at the moment= >> willing to accept patches and discuss development? >> >=20 > This makes sense to be broken out into its own thread. And I agree -- > patches to jail(8) or a tool like sysrc(8) for editing jail.conf would > be a great way to allow third party tools to manage jail.conf cleanly > and effectively. > _______________________________________________ > freebsd-jail@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org"= >=20 I am working on such a tool, and hope to make it available via the ports tree after a few more tweaks. https://github.com/allanjude/uclcmd I have presented a little about the UCL config format at MeetBSD: http://www.slideshare.net/iXsystems/ucl-all-of-the-things-meetbsd-califor= nia-2014-lightning-talk And I am planning to present about my tool, and the ucl config format in general, at AsiaBSDCon and probably BSDCan (I submitted 2 topics). I have a prototype of newsyslog converted to a UCL based config file as well. The jail.conf file may need a little tweaking (UCL uses the dot delimiter differently, so the name or structure of some of the variables may need to change slightly) As with my change to newsyslog, the new config format will use a 'version sentinel' at the top of the file, if that is not present, the config file will be parsed with the legacy code. --=20 Allan Jude --XpQjUldiSsDVR6pF8TubuRWSKbhV4QRoe Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJUyAu7AAoJEJrBFpNRJZKfkYMQAKQlkvQKz12QDpMeF3/SKai8 q5G4pTnGeKEp4s6F0aNzN+EhkTnXrNwZvEF9OjtfMpGyGmQmzT/PJFReP4YY/Ukt ZLHBiK/AlSxZiOdv6kbwJF6tNGCV+Ctm2S3lbDhtuY9KHq9F0azyz3nvG2LTZcd/ YEpi7slMdtzMNNHjCbncTELaklN7oW8mO0qOCAfYfXQFTrQqzUT3ng7Jo2+89QJa gWWqSktF//npOvnUVKlQlCaZY2BAo4pQbqgheILG/apNfyE/06ue618xdDzJx6/F blPb86SuXFjxHpLvR/q7FXrafS+C66S8TA/X2VKJr3qw2YYd8sY7usdlEKfSV776 +DX7JhPAtRuDnZf9lSwZsbWxY9OKpdIhrKtZQ+J64gry9y50cQjJ/5ogTqr9vTzv nSc43TIl9GUFV3LZYkBY5t9l7i85dePlszuSZzJy7rJXzLb9EryUd39aVLmTB2Pp sHgj2XAyZmYi/RaVH0dHzI2uJnmRrGK8OkJ1SQglJYoSmKvMVgQTy+fHatyu4oxJ LSMOLcqhagUR+NYBDkgDMGEwCYf02R6FUVJI8DQxpMwyFwO/ck+i5xD053EvfnHN TXuZkkbD39VIrCcw6/WwKp1UCrK7XAgwyOFbKuRPaZUQt55e9f6r1VTeMW5/e8AL 9iA19UEP3rDe+0dWoj/v =kN+q -----END PGP SIGNATURE----- --XpQjUldiSsDVR6pF8TubuRWSKbhV4QRoe--