Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Feb 2018 11:11:05 -0600
From:      Valeri Galtsev <galtsev@kicp.uchicago.edu>
To:        Steve Pointer <spointer@humdai.net>, freebsd-questions@freebsd.org
Subject:   Re: Jails, ping, and now DNS
Message-ID:  <47ca7d96-dd74-f041-f3fd-daed4c696dae@kicp.uchicago.edu>
In-Reply-To: <1517588082.2117241.1257377040.499E7DC3@webmail.messagingengine.com>
References:  <737005a0c3e97d8d1e9306eb52471f89.squirrel@webmail.harte-lyne.ca> <5A74875F.9080901@gmail.com> <1517588082.2117241.1257377040.499E7DC3@webmail.messagingengine.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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
++++++++++++++++++++++++++++++++++++++++



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47ca7d96-dd74-f041-f3fd-daed4c696dae>