From owner-freebsd-doc@freebsd.org Mon Apr 25 16:50:40 2016 Return-Path: Delivered-To: freebsd-doc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ECC42B1CEFB for ; Mon, 25 Apr 2016 16:50:40 +0000 (UTC) (envelope-from c.brinkhaus@t-online.de) Received: from mailout09.t-online.de (mailout09.t-online.de [194.25.134.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B2AB516DE for ; Mon, 25 Apr 2016 16:50:40 +0000 (UTC) (envelope-from c.brinkhaus@t-online.de) Received: from fwd01.aul.t-online.de (fwd01.aul.t-online.de [172.20.27.147]) by mailout09.t-online.de (Postfix) with SMTP id B7FE1111B44; Mon, 25 Apr 2016 18:50:30 +0200 (CEST) Received: from esprimo.local (XBSWC8Z6ghIxIvyskxZtfjuZzrzJcOU7CXHfmvMEEoBrfzbbhyASiydFKp0c-gyQ3T@[217.81.155.35]) by fwd01.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1aujiK-1eacHA0; Mon, 25 Apr 2016 18:50:24 +0200 Received: from esprimo.local (localhost [127.0.0.1]) by esprimo.local (Postfix) with ESMTP id 136F845CD8A; Mon, 25 Apr 2016 18:50:23 +0200 (CEST) Received: (from chris@localhost) by esprimo.local (8.15.2/8.15.2/Submit) id u3PGoNlo010799; Mon, 25 Apr 2016 18:50:23 +0200 (CEST) (envelope-from chris) Date: Mon, 25 Apr 2016 18:50:23 +0200 From: Christoph Brinkhaus To: freebsd-doc@freebsd.org Cc: Philipp Erbelding Subject: Re: ezjail allow.raw_socket handbook wrong confing Message-ID: <20160425165023.GA1540@esprimo.local> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0 (2016-04-01) X-ID: XBSWC8Z6ghIxIvyskxZtfjuZzrzJcOU7CXHfmvMEEoBrfzbbhyASiydFKp0c-gyQ3T X-TOI-MSGID: 0f128894-ed9b-4148-b2bd-c89dd2d2dcb4 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2016 16:50:41 -0000 On Mon, Apr 25, 2016 at 05:37:28PM +0200, Philipp Erbelding wrote: Hello Philipp! > Hi, > I think there is a misunderstanding about the issue here. > > > "jailname" in both the paragraph and the configuration line are shown in > > italic because they are strings that the user is supposed to replace > > with the actual jail name. > > > > Would it help to break up that paragraph into shorter sentences? > > > > When raw network sockets are actually needed in a jail, they can be > > enabled. Edit the ezjail configuration file for the individual > > jail, /usr/local/etc/ezjail/jailname. Modify the parameters entry: > > Is the problem with the mentioned section not with the "=1" which is no longer current? > I found this reference in the forums about it only working without the "=1": https://forums.freebsd.org/threads/54365/ > > Kind regards > Philipp export jail_testjail1_parameters="allow.raw_sockets=1" is not mentioned in https://forums.freebsd.org/threads/54365/ But I can confirm that the syntax as export jail_testjail1_parameters="allow.raw_sockets=1" works for me. The last line says: "Edit: My mistake in using the first option, the poster has a jail named shell, but I confused it with the shell of the jail." But it is not clear if that helped to fix the issue or not. Kind regards, Christoph