From owner-svn-src-all@freebsd.org Sat Nov 10 12:33:32 2018 Return-Path: Delivered-To: svn-src-all@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 921F11132E2A; Sat, 10 Nov 2018 12:33:32 +0000 (UTC) (envelope-from eugen@freebsd.org) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:d12:604::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DB1186A0C8; Sat, 10 Nov 2018 12:33:30 +0000 (UTC) (envelope-from eugen@freebsd.org) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13:0:0:0:5]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id wAACXMKa066132 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 10 Nov 2018 13:33:23 +0100 (CET) (envelope-from eugen@freebsd.org) X-Envelope-From: eugen@freebsd.org X-Envelope-To: bzeeb-lists@lists.zabbadoz.net Received: from [10.58.0.4] (dadv@[10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id wAACXKpF084806 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 10 Nov 2018 19:33:21 +0700 (+07) (envelope-from eugen@freebsd.org) Subject: Re: svn commit: r340319 - head/usr.sbin/jail To: "Bjoern A. Zeeb" , James Gritton References: <201811101203.wAAC3vov082259@repo.freebsd.org> <871CB649-7A64-490B-A81E-F68A575A8BA4@lists.zabbadoz.net> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org From: Eugene Grosbein Message-ID: <882c5796-6e36-8acc-95ba-af90b9ee3bf8@freebsd.org> Date: Sat, 10 Nov 2018 19:33:19 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <871CB649-7A64-490B-A81E-F68A575A8BA4@lists.zabbadoz.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.2 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hz.grosbein.net X-Rspamd-Queue-Id: DB1186A0C8 X-Spamd-Result: default: False [-104.30 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; ALLOW_DOMAIN_WHITELIST(-100.00)[freebsd.org]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx66.freebsd.org]; NEURAL_HAM_SHORT(-1.00)[-0.999,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; IP_SCORE(-1.19)[ipnet: 2a01:4f8::/29(-2.92), asn: 24940(-3.02), country: DE(-0.02)]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Nov 2018 12:33:32 -0000 10.11.2018 19:12, Bjoern A. Zeeb wrote: >> Author: eugen >> Date: Sat Nov 10 12:03:57 2018 >> New Revision: 340319 >> URL: https://svnweb.freebsd.org/changeset/base/340319 >> >> Log: >> jail(8): introduce new command option -e to exhibit >> a list of configured non-wildcard jails with their parameters, >> no matter running or not. >> >> The option -e takes separator argument that is used >> to separate printed parameters. It will be used with following >> additions to system periodic scripts to differentiate parts >> of directory tree belonging jails as opposed to host's. > > From reading this and the man page changes I have a hard time to understand what this does. > > What is a “wildcard jail” or a “non-wildcard jail”? Modern jail configuration style assumes usage of jail.conf file and jail.conf(5) manual page documents it: A jail definition with a name of "*" is used to define wildcard parameters. Feel free to fix wording of my changes to the manual as English is not my native language, I will appreciate any help. > Usually also jls is the command which will give information (compared to actions) on jails, would that not fit there? The jls utility lists all active jails (from its manual). jail -e exhibits all configured jails, no matter active (running) or not.