From owner-freebsd-questions@freebsd.org Fri Feb 2 17:11:09 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E5443EE4822 for ; Fri, 2 Feb 2018 17:11:08 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 955767530B for ; Fri, 2 Feb 2018 17:11:08 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from point.uchicago.edu (point.uchicago.edu [128.135.52.6]) by kicp.uchicago.edu (Postfix) with ESMTP id B322071804B; Fri, 2 Feb 2018 11:11:05 -0600 (CST) Subject: Re: Jails, ping, and now DNS To: Steve Pointer , freebsd-questions@freebsd.org References: <737005a0c3e97d8d1e9306eb52471f89.squirrel@webmail.harte-lyne.ca> <5A74875F.9080901@gmail.com> <1517588082.2117241.1257377040.499E7DC3@webmail.messagingengine.com> From: Valeri Galtsev Message-ID: <47ca7d96-dd74-f041-f3fd-daed4c696dae@kicp.uchicago.edu> Date: Fri, 2 Feb 2018 11:11:05 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <1517588082.2117241.1257377040.499E7DC3@webmail.messagingengine.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2018 17:11:09 -0000 On 02/02/18 10:14, Steve Pointer wrote: > > >> >> Your problem is your using ezjail which uses the deprecated rc.conf >> environment-variable method. Most jail users have stopped using ezjail >> so support for problems like you are having is very limited. >> >> Every time you start a ezjail jail an error message popes out telling >> you to convert your jail system to the jail.conf method. That error >> message has been issued since 9.1. Its about time you do as it says >> before you get caught with a unsupported production jail environment. >> There is a good chance the deprecated rc.conf environment-variable >> method will be removed in 12.0 release. >> >> If you are addicted to the ezjail jail coding method then check out >> qjail which is a fork of ezjail that uses the jail.conf method. >> > > The FreeBSD handbook refers to ezjail: > > https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html > > If this is no longer the best method then maybe this should be changed. I don't think HandBook suggests ezjail is "the best method"? And it is not my book. It can be recommended if keeps up with doing configuration the modern way, and it should be discouraged if it stays with deprecated way. But in my book doing jails "by the book", that is: creation jail environment without using any scripts put out by someone. That was the first thing about how to set up jails I learned from FreeBSD Handbook. The second thing I learned was one can use something like ezjail... but as usually we realize that will deprive your flexibility. I don't think HandBook ever insisted on ezjail to be a "preferred method". Am I missing something? Valeri > If a bug report was posted with edits to the recommended method what do most people use? > > qjail ? Personally I have had success with iocage , which I understood all the cool kids were using now. > > https://github.com/iocage/iocage > > Am I in the minority in using this method? > > Steve > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++