From owner-freebsd-jail@FreeBSD.ORG Sun May 5 01:00:34 2013 Return-Path: Delivered-To: jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6B962BE0; Sun, 5 May 2013 01:00:34 +0000 (UTC) (envelope-from jase@FreeBSD.org) Received: from svr06-mx.btshosting.co.uk (mx-2.btshosting.co.uk [IPv6:2a01:4f8:121:2403:2::]) by mx1.freebsd.org (Postfix) with ESMTP id 2C5698E5; Sun, 5 May 2013 01:00:31 +0000 (UTC) Received: from [192.168.1.65] (unknown [2.222.62.37]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by svr06-mx.btshosting.co.uk (Postfix) with ESMTPSA id F02E36F649; Sun, 5 May 2013 01:00:21 +0000 (UTC) Message-ID: <5185AF20.5010308@FreeBSD.org> Date: Sun, 05 May 2013 02:00:16 +0100 From: Jase Thew Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Baptiste Daroussin Subject: Re: Marking some FS as jailable References: <20130212194047.GE12760@ithaqua.etoilebsd.net> <511B1F55.3080500@FreeBSD.org> <20130214132715.GG44004@ithaqua.etoilebsd.net> <511CF77A.2080005@FreeBSD.org> <20130214145600.GI44004@ithaqua.etoilebsd.net> <511CFBAC.3000803@FreeBSD.org> <20130214150857.GK44004@ithaqua.etoilebsd.net> In-Reply-To: <20130214150857.GK44004@ithaqua.etoilebsd.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: jail@FreeBSD.org, fs@FreeBSD.org, Jamie Gritton X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 May 2013 01:00:34 -0000 On 14/02/2013 15:08, Baptiste Daroussin wrote: > On Thu, Feb 14, 2013 at 07:58:52AM -0700, Jamie Gritton wrote: >> On 02/14/13 07:56, Baptiste Daroussin wrote: >>> On Thu, Feb 14, 2013 at 07:40:58AM -0700, Jamie Gritton wrote: >>>> On 02/14/13 06:27, Baptiste Daroussin wrote: >>>>> On Tue, Feb 12, 2013 at 10:06:29PM -0700, Jamie Gritton wrote: >>>>>> On 02/12/13 12:40, Baptiste Daroussin wrote: >>>>>>> >>>>>>> I would like to mark some filesystem as jailable, here is the one I need: >>>>>>> linprocfs, tmpfs and fdescfs, I was planning to do it with adding a >>>>>>> allow.mount.${fs} for each one. >>>>>>> >>>>>>> Anyone has an objection? >>>>>> >>>>>> Would it make sense for linprocfs to use the existing allow.mount.procfs >>>>>> flag? >>>>> >>>>> Here is a patch that uses allow.mount.procfs for linsysfs and linprocfs. >>>>> >>>>> It also addd a new allow.mount.tmpfs to allow tmpfs. >>>>> >>>>> It seems to work here, can anyone confirm this is the right way to do it? >>>>> >>>>> I'll commit in 2 parts: first lin*fs, second tmpfs related things >>>>> >>>>> http://people.freebsd.org/~bapt/jail-fs.diff >>>> >>>> There are some problems. The usage on the mount side of things looks >>>> correct, but it needs more on the jail side. I'm including a patch just >>>> of that part, with a correction in jail.h and further changes in kern_jail.c >>> >>> Thank you the patch has been updated with your fixes. >> >> One more bit (literally): PR_ALLOW_ALL in sys/jail.h needs updating. >> >> - Jamie > > Fixed thanks > > Bapt > Hi, Is this functionality likely to make its way into HEAD and if so, do you have any idea as to the timescale? Regards, Jase. -- Jase Thew jase@FreeBSD.org FreeBSD Ports Committer From owner-freebsd-jail@FreeBSD.ORG Sun May 5 08:50:49 2013 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E09DBCF0; Sun, 5 May 2013 08:50:49 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) by mx1.freebsd.org (Postfix) with ESMTP id F069F693; Sun, 5 May 2013 08:50:45 +0000 (UTC) Received: by mail-wi0-f180.google.com with SMTP id h11so1735573wiv.13 for ; Sun, 05 May 2013 01:50:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=GBbOVdO2zwjuuuNgJ0bypOYXr8eZJlQZTt2xT5hmmdQ=; b=Y94BCG2DQyxYsfddsq9QHYQesYG2HiypyzGFB05ECAaaM0Wt0SlHD11AEEZJrsi3UG g0MAGx78t3WeMfH0u0yN2n/iGW6F6Z4r6IqTHu1lAjFH2MifJPT5qjBiMtyusdUp9jMg 1oxEso4XBLgtScM5+xC0NUcEWBbgfwgmQCSP7ud35FqXjbuQ8qk/ZfNrUIND9SY5dcWf er59w11DdsvY3LDGifoBF4n5lVOyfw2jI8dNIgcSNwRzt8rVSMEH3OOIGlgqq7kWBNY7 +FkfSJpQRHwwD2t7WtT5AB/4wNcGP/Ol9XffGlzlMgi8GjcwlZhVjnjd+Kzte0BoWlkS UkVA== X-Received: by 10.180.206.204 with SMTP id lq12mr4212269wic.30.1367743845147; Sun, 05 May 2013 01:50:45 -0700 (PDT) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPSA id fa6sm7617223wic.9.2013.05.05.01.50.43 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 05 May 2013 01:50:44 -0700 (PDT) Sender: Baptiste Daroussin Date: Sun, 5 May 2013 10:50:42 +0200 From: Baptiste Daroussin To: Jase Thew Subject: Re: Marking some FS as jailable Message-ID: <20130505085042.GA12114@ithaqua.etoilebsd.net> References: <20130212194047.GE12760@ithaqua.etoilebsd.net> <511B1F55.3080500@FreeBSD.org> <20130214132715.GG44004@ithaqua.etoilebsd.net> <511CF77A.2080005@FreeBSD.org> <20130214145600.GI44004@ithaqua.etoilebsd.net> <511CFBAC.3000803@FreeBSD.org> <20130214150857.GK44004@ithaqua.etoilebsd.net> <5185AF20.5010308@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M9u+pkcMrQJw6us1" Content-Disposition: inline In-Reply-To: <5185AF20.5010308@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: jail@FreeBSD.org, fs@FreeBSD.org, Jamie Gritton X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 May 2013 08:50:50 -0000 --M9u+pkcMrQJw6us1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 05, 2013 at 02:00:16AM +0100, Jase Thew wrote: > On 14/02/2013 15:08, Baptiste Daroussin wrote: > > On Thu, Feb 14, 2013 at 07:58:52AM -0700, Jamie Gritton wrote: > >> On 02/14/13 07:56, Baptiste Daroussin wrote: > >>> On Thu, Feb 14, 2013 at 07:40:58AM -0700, Jamie Gritton wrote: > >>>> On 02/14/13 06:27, Baptiste Daroussin wrote: > >>>>> On Tue, Feb 12, 2013 at 10:06:29PM -0700, Jamie Gritton wrote: > >>>>>> On 02/12/13 12:40, Baptiste Daroussin wrote: > >>>>>>> > >>>>>>> I would like to mark some filesystem as jailable, here is the one= I need: > >>>>>>> linprocfs, tmpfs and fdescfs, I was planning to do it with adding= a > >>>>>>> allow.mount.${fs} for each one. > >>>>>>> > >>>>>>> Anyone has an objection? > >>>>>> > >>>>>> Would it make sense for linprocfs to use the existing allow.mount.= procfs > >>>>>> flag? > >>>>> > >>>>> Here is a patch that uses allow.mount.procfs for linsysfs and linpr= ocfs. > >>>>> > >>>>> It also addd a new allow.mount.tmpfs to allow tmpfs. > >>>>> > >>>>> It seems to work here, can anyone confirm this is the right way to = do it? > >>>>> > >>>>> I'll commit in 2 parts: first lin*fs, second tmpfs related things > >>>>> > >>>>> http://people.freebsd.org/~bapt/jail-fs.diff > >>>> > >>>> There are some problems. The usage on the mount side of things looks > >>>> correct, but it needs more on the jail side. I'm including a patch j= ust > >>>> of that part, with a correction in jail.h and further changes in ker= n_jail.c > >>> > >>> Thank you the patch has been updated with your fixes. > >> > >> One more bit (literally): PR_ALLOW_ALL in sys/jail.h needs updating. > >> > >> - Jamie > > > > Fixed thanks > > > > Bapt > > >=20 > Hi, >=20 > Is this functionality likely to make its way into HEAD and if so, do you= =20 > have any idea as to the timescale? >=20 > Regards, >=20 I would love to but I m still waiting for a security review noone has done = yet ;( --M9u+pkcMrQJw6us1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlGGHWIACgkQ8kTtMUmk6Ez1ZACeJ5Uwa0vIA4iVc2u9SOWWzDN0 d4sAnA82Ma/SF2OK+OXJQZO6XzxdL7tZ =0ajI -----END PGP SIGNATURE----- --M9u+pkcMrQJw6us1-- From owner-freebsd-jail@FreeBSD.ORG Mon May 6 11:06:47 2013 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E20619ED for ; Mon, 6 May 2013 11:06:47 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id D3926A04 for ; Mon, 6 May 2013 11:06:47 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r46B6ll7023831 for ; Mon, 6 May 2013 11:06:47 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r46B6l01023829 for freebsd-jail@FreeBSD.org; Mon, 6 May 2013 11:06:47 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 6 May 2013 11:06:47 GMT Message-Id: <201305061106.r46B6l01023829@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-jail@FreeBSD.org Subject: Current problem reports assigned to freebsd-jail@FreeBSD.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 May 2013 11:06:47 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/178302 jail jail(8): unknown parameter: ip6.addr when kernel compi o kern/176112 jail [jail] [panic] kernel panic when starting jails o kern/176092 jail [jail] [panic] Starting a jail on my releng/9.1 kernel o kern/174902 jail [jail] jail should provide validator for jail names o kern/174436 jail [jail] Jails with numbers as names don't work o bin/173469 jail [jail] regression: security.jail.sysvipc_allowed=1 no o kern/169751 jail [jail] reading routing information does not work in ja o bin/167911 jail new jail(8) problem with removal, ifconfg -alias and k o kern/159918 jail [jail] inter-jail communication failure o kern/156111 jail [jail] procstat -b not supported in jail o misc/155765 jail [patch] `buildworld' does not honors WITHOUT_JAIL o conf/154246 jail [jail] [patch] Bad symlink created if devfs mount poin o conf/149050 jail [jail] rcorder ``nojail'' too coarse for Jail+VNET s conf/142972 jail [jail] [patch] Support JAILv2 and vnet in rc.d/jail o conf/141317 jail [patch] uncorrect jail stop in /etc/rc.d/jail o kern/133265 jail [jail] is there a solution how to run nfs client in ja o kern/119842 jail [smbfs] [jail] "Bad address" with smbfs inside a jail o bin/99566 jail [jail] [patch] fstat(1) according to specified jid 18 problems total. From owner-freebsd-jail@FreeBSD.ORG Wed May 8 18:05:36 2013 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id F2453DE for ; Wed, 8 May 2013 18:05:36 +0000 (UTC) (envelope-from "") Received: from msa.smtpout.orange.fr (msa01.smtpout.orange.fr [193.252.23.210]) by mx1.freebsd.org (Postfix) with ESMTP id 80AA7280 for ; Wed, 8 May 2013 18:05:36 +0000 (UTC) Received: from SRV-AAA.aaa.local ([90.61.136.205]) by mwinf5d56 with ME id ZVxw1l0034S49Qi03Vxwcn; Wed, 08 May 2013 19:57:58 +0200 Received: from srv-aaa.aaa.local ([fe80::1849:8833:4473:7ce5]) by SRV-AAA.aaa.local ([fe80::1849:8833:4473:7ce5%10]) with mapi; Wed, 8 May 2013 20:00:28 +0200 From: Patricia Casal To: "freebsd-jail@freebsd.org" Date: Wed, 8 May 2013 20:00:26 +0200 Subject: =?utf-8?B?QWJzZW5jZSBkdSBidXJlYXXCoDogUmV0dXJuZWQgbWFpbDogRGF0YSBmb3Jt?= =?utf-8?B?YXQgZXJyb3I=?= Thread-Topic: Returned mail: Data format error Thread-Index: Ac5MFetO/v1lx8ChRgK2XNmP01B6yQAAAArE Message-ID: Accept-Language: fr-FR Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: fr-FR MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 May 2013 18:05:37 -0000 VGhhbmsgeW91IGZvciB5b3VyIG1lc3NhZ2UuIEkgYW0gY3VycmVudGx5IG91dCBvZiB0aGUgb2Zm aWNlLg0KSSB3aWxsIGFuc3dlciB0byB5b3VyIHJlcXVlc3QgYXMgc29vbiBhcyBJJ2xsIGJlIGJh Y2sgb24gTW9uZGF5IHRoZSAxM3RoIG9mIE1heSAyMDEzLg0KRm9yIGFueSB1cmdlbnQgbWF0dGVy LCBwbGVhc2UgY29udGFjdCBaZWxkYSBMZWhtYW5uIHplbGRhLmxlaG1hbm5AYWNpZm9yZXgub3Jn DQoNCg0KDQo= From owner-freebsd-jail@FreeBSD.ORG Thu May 9 09:17:46 2013 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B042A8D6; Thu, 9 May 2013 09:17:46 +0000 (UTC) (envelope-from jlh@FreeBSD.org) Received: from caravan.chchile.org (caravan.chchile.org [178.32.125.136]) by mx1.freebsd.org (Postfix) with ESMTP id 78FA6AD1; Thu, 9 May 2013 09:17:46 +0000 (UTC) Received: by caravan.chchile.org (Postfix, from userid 1000) id D094FC4B72; Thu, 9 May 2013 09:17:38 +0000 (UTC) Date: Thu, 9 May 2013 11:17:38 +0200 From: Jeremie Le Hen To: Jamie Gritton Subject: Re: new jail(8) ignoring devfs_ruleset? Message-ID: <20130509091738.GC4437@caravan.chchile.org> Mail-Followup-To: Jamie Gritton , Miroslav Lachman <000.fbsd@quip.cz>, Harald Schmalzbauer , freebsd-jail@FreeBSD.org, freebsd-stable@FreeBSD.org References: <511E61F5.1000805@omnilan.de> <511EC759.4060704@FreeBSD.org> <5121EC52.5040502@omnilan.de> <20130219212430.GA92116@felucia.tataz.chchile.org> <514B9EF6.3000607@quip.cz> <514BA14F.3090609@FreeBSD.org> <514BA3D9.5010901@quip.cz> <514BAA01.20402@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <514BAA01.20402@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Harald Schmalzbauer , freebsd-jail@FreeBSD.org, freebsd-stable@FreeBSD.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 May 2013 09:17:46 -0000 On Thu, Mar 21, 2013 at 06:46:57PM -0600, Jamie Gritton wrote: > > It's not fixed anywhere yet - it sometimes works in current, and > sometimes doesn't. I've been meaning to patch it up, but it the problem > is what I think it is, the patching up is a pretty big operation. > > It doesn't mean you can't use jails with devfs in 9.1, just that you > can't use them with jail.conf. The old jail rc file that's all > shell-based is still the official jail startup method, and that one > still works. So existing systems will still work as expected, hence no > errata. Shouldn't we warn the user about that in the manpage though? -- Jeremie Le Hen Scientists say the world is made up of Protons, Neutrons and Electrons. They forgot to mention Morons. From owner-freebsd-jail@FreeBSD.ORG Thu May 9 13:27:27 2013 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D06523B0; Thu, 9 May 2013 13:27:27 +0000 (UTC) (envelope-from jamie@FreeBSD.org) Received: from m2.gritton.org (gritton.org [199.192.164.235]) by mx1.freebsd.org (Postfix) with ESMTP id B2EAF818; Thu, 9 May 2013 13:27:27 +0000 (UTC) Received: from guppy.corp.verio.net (fw.oremut02.us.wh.verio.net [198.65.168.24]) (authenticated bits=0) by m2.gritton.org (8.14.5/8.14.5) with ESMTP id r49DRJeg012252; Thu, 9 May 2013 07:27:20 -0600 (MDT) (envelope-from jamie@FreeBSD.org) Message-ID: <518BA433.6050605@FreeBSD.org> Date: Thu, 09 May 2013 07:27:15 -0600 From: Jamie Gritton User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120126 Thunderbird/9.0 MIME-Version: 1.0 To: Miroslav Lachman <000.fbsd@quip.cz>, Harald Schmalzbauer , freebsd-jail@FreeBSD.org, freebsd-stable@FreeBSD.org Subject: Re: new jail(8) ignoring devfs_ruleset? References: <511E61F5.1000805@omnilan.de> <511EC759.4060704@FreeBSD.org> <5121EC52.5040502@omnilan.de> <20130219212430.GA92116@felucia.tataz.chchile.org> <514B9EF6.3000607@quip.cz> <514BA14F.3090609@FreeBSD.org> <514BA3D9.5010901@quip.cz> <514BAA01.20402@FreeBSD.org> <20130509091738.GC4437@caravan.chchile.org> In-Reply-To: <20130509091738.GC4437@caravan.chchile.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 May 2013 13:27:27 -0000 On 05/09/13 03:17, Jeremie Le Hen wrote: > On Thu, Mar 21, 2013 at 06:46:57PM -0600, Jamie Gritton wrote: >> >> It's not fixed anywhere yet - it sometimes works in current, and >> sometimes doesn't. I've been meaning to patch it up, but it the problem >> is what I think it is, the patching up is a pretty big operation. >> >> It doesn't mean you can't use jails with devfs in 9.1, just that you >> can't use them with jail.conf. The old jail rc file that's all >> shell-based is still the official jail startup method, and that one >> still works. So existing systems will still work as expected, hence no >> errata. > > Shouldn't we warn the user about that in the manpage though? Well really we ought to fix it. I guess the man page could have something in the meantime, about an assumption that when you specify a devfs ruleset, that the ruleset in question must actually exist at the time. - Jamie From owner-freebsd-jail@FreeBSD.ORG Fri May 10 04:44:21 2013 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E9472DD8; Fri, 10 May 2013 04:44:21 +0000 (UTC) (envelope-from dewayne.geraghty@heuristicsystems.com.au) Received: from nschwmtas03p.mx.bigpond.com (nschwmtas03p.mx.bigpond.com [61.9.189.143]) by mx1.freebsd.org (Postfix) with ESMTP id 32A3BC31; Fri, 10 May 2013 04:44:20 +0000 (UTC) Received: from nschwcmgw05p ([61.9.190.165]) by nschwmtas03p.mx.bigpond.com with ESMTP id <20130510044412.ONBI2008.nschwmtas03p.mx.bigpond.com@nschwcmgw05p>; Fri, 10 May 2013 04:44:12 +0000 Received: from hermes.heuristicsystems.com.au ([58.172.113.247]) by nschwcmgw05p with BigPond Outbound id a4k71l00N5LKYmq014kAxi; Fri, 10 May 2013 04:44:12 +0000 X-Authority-Analysis: v=2.0 cv=QJDqt33L c=1 sm=1 a=YibVxx38Z+cwdCKSMcELyg==:17 a=WLYBxzCSKxQA:10 a=k4yzAXmc-yEA:10 a=kj9zAlcOel0A:10 a=GHIR_BbyAAAA:8 a=stnWK5-ICawA:10 a=ZHhcw2d2FhgOiZKjQUsA:9 a=CjuIK1q_8ugA:10 a=YibVxx38Z+cwdCKSMcELyg==:117 Received: from black (black.hs [10.0.5.1]) (authenticated bits=0) by hermes.heuristicsystems.com.au (8.14.5/8.13.6) with ESMTP id r4A4g7HG031424 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Fri, 10 May 2013 14:42:08 +1000 (EST) (envelope-from dewayne.geraghty@heuristicsystems.com.au) From: "Dewayne Geraghty" To: "'Jamie Gritton'" , "'Miroslav Lachman'" <000.fbsd@quip.cz>, "'Harald Schmalzbauer'" , , References: <511E61F5.1000805@omnilan.de> <511EC759.4060704@FreeBSD.org> <5121EC52.5040502@omnilan.de> <20130219212430.GA92116@felucia.tataz.chchile.org> <514B9EF6.3000607@quip.cz> <514BA14F.3090609@FreeBSD.org> <514BA3D9.5010901@quip.cz> <514BAA01.20402@FreeBSD.org> <20130509091738.GC4437@caravan.chchile.org> <518BA433.6050605@FreeBSD.org> Subject: RE: new jail(8) ignoring devfs_ruleset? Date: Fri, 10 May 2013 14:42:07 +1000 Message-ID: <3AF9A67BBCE34917A8C9BC2863F7C0A5@as.lan> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <518BA433.6050605@FreeBSD.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: Ac5MuPzX+jFKBjoUTIqHilUaA3v2bwAfv1SQ X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 May 2013 04:44:22 -0000 An ugly workaround to complete the jail closure, when relying on jail.conf, is to: jail -r $JAILNAME umount /$LOCATION_OF_JAILS/$JAILNAME/dev || true Regards, Dewayne. From owner-freebsd-jail@FreeBSD.ORG Fri May 10 12:45:52 2013 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2FC60D88; Fri, 10 May 2013 12:45:52 +0000 (UTC) (envelope-from jamie@FreeBSD.org) Received: from m2.gritton.org (gritton.org [199.192.164.235]) by mx1.freebsd.org (Postfix) with ESMTP id 0F3BA7C0; Fri, 10 May 2013 12:45:51 +0000 (UTC) Received: from glorfindel.gritton.org (c-24-10-224-248.hsd1.ut.comcast.net [24.10.224.248]) (authenticated bits=0) by m2.gritton.org (8.14.5/8.14.5) with ESMTP id r4ACjnTT001625; Fri, 10 May 2013 06:45:50 -0600 (MDT) (envelope-from jamie@FreeBSD.org) Message-ID: <518CEBFC.1010408@FreeBSD.org> Date: Fri, 10 May 2013 06:45:48 -0600 From: Jamie Gritton User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.24) Gecko/20120129 Thunderbird/3.1.16 MIME-Version: 1.0 To: Dewayne Geraghty Subject: Re: new jail(8) ignoring devfs_ruleset? References: <511E61F5.1000805@omnilan.de> <511EC759.4060704@FreeBSD.org> <5121EC52.5040502@omnilan.de> <20130219212430.GA92116@felucia.tataz.chchile.org> <514B9EF6.3000607@quip.cz> <514BA14F.3090609@FreeBSD.org> <514BA3D9.5010901@quip.cz> <514BAA01.20402@FreeBSD.org> <20130509091738.GC4437@caravan.chchile.org> <518BA433.6050605@FreeBSD.org> <3AF9A67BBCE34917A8C9BC2863F7C0A5@as.lan> In-Reply-To: <3AF9A67BBCE34917A8C9BC2863F7C0A5@as.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: 'Harald Schmalzbauer' , freebsd-jail@FreeBSD.org, freebsd-stable@FreeBSD.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 May 2013 12:45:52 -0000 On 05/09/13 22:42, Dewayne Geraghty wrote: > An ugly workaround to complete the jail closure, when relying on jail.conf, is to: > > jail -r $JAILNAME > umount /$LOCATION_OF_JAILS/$JAILNAME/dev || true The only problem with devfs I'm aware of is it not catching the right ruleset when starting in the rc system. So does this mean you're having problems unmounting /dev? What happens when you add a "-v" to the "jail -r"? It should note that /dev is being umounted. - Jamie