From owner-freebsd-questions@FreeBSD.ORG Thu Apr 24 15:24:53 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 47D31A75; Thu, 24 Apr 2014 15:24:53 +0000 (UTC) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx1.fisglobal.com", Issuer "VeriSign Class 3 Secure Server CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0F9B01854; Thu, 24 Apr 2014 15:24:52 +0000 (UTC) Received: from smarthost.fisglobal.com ([10.132.206.191]) by ltcfislmsgpa06.fnfis.com (8.14.5/8.14.5) with ESMTP id s3OFOn3F031364 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 24 Apr 2014 10:24:49 -0500 Received: from THEMADHATTER (10.242.181.54) by smarthost.fisglobal.com (10.132.206.191) with Microsoft SMTP Server id 14.3.174.1; Thu, 24 Apr 2014 10:24:47 -0500 From: Sender: Devin Teske To: , "'Peter Boosten'" , References: <20140424090234.5636f9d19dbc478c9593e55b@yahoo.es> <5358B90C.6020703@boosten.org> <023d01cf5fce$e20035c0$a600a140$@FreeBSD.org> In-Reply-To: <023d01cf5fce$e20035c0$a600a140$@FreeBSD.org> Subject: RE: FBSD jail versus VMWare? What services do YOU run in a jail? Date: Thu, 24 Apr 2014 08:24:42 -0700 Message-ID: <024a01cf5fd1$52895810$f79c0830$@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQIXiAK5LElJjZU5xoeWFEi/XQ9vZQLa0zR/AZEFuDIBiqxEo5pg3g6w Content-Language: en-us X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.96, 1.0.14, 0.0.0000 definitions=2014-04-24_04:2014-04-24,2014-04-24,1970-01-01 signatures=0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2014 15:24:53 -0000 > -----Original Message----- > From: dteske@FreeBSD.org [mailto:dteske@FreeBSD.org] > Sent: Thursday, April 24, 2014 8:07 AM > To: 'Peter Boosten'; freebsd-questions@freebsd.org > Subject: RE: FBSD jail versus VMWare? What services do YOU run in a jail? > > > > > -----Original Message----- > > From: Peter Boosten [mailto:peter@boosten.org] > > Sent: Thursday, April 24, 2014 12:11 AM > > To: freebsd-questions@freebsd.org > > Subject: Re: FBSD jail versus VMWare? What services do YOU run in a jail? > > > > On 24-4-2014 9:02, Eduardo Morras wrote: > > > On Tue, 22 Apr 2014 14:47:45 -0700 > > > "edflecko ." wrote: > > >> > > >> What type of services CAN be run from within a jail? > > > > > > I tried to run PostgreSQL8.4 (IIRC) in a jail under FreeBSD8.2. > > > There > were a > > lot of problems with SysV signals and semaphores (IIRC) and had to > > install > it > > in host. Don't know if it's actually relevant. > > > > > > > PostgreSQL (now 9.1) runs fine in a jail. > > > > Under FreeBSD-8, I'm battling this very problem. > http://stackoverflow.com/questions/11909993/freebsd-jail-can-not-set- > securit > y-jail-sysvipc-allowed > > The article linked-to by the above stackoverflow question: > http://www.freebsddiary.org/jail-multiple.php > > Of course, my situation is slightly different in that I'm using a vnet jail, (aka a > vimage) not just a normal jail. > > I'm finding that the sysvipc_allowed option is not being inherited by vnet > jails. My first inclination (since this is for > $work) is to just go in and change the default (did something similar for > enforce_statfs -- changing default to 1). > > Not sure why a vnet jail isn't inheriting the option where the parent whereas > a normal jail does. That may not pertain to your situation (haven't read the > whole thread yet), but that seems to be the case for us (and it's not the boot > script either, because I can see that the knob is twiddled to 1 before creating > the vnet jails yet the knob remains zero inside the jail afterward). > > Again, this is on 8.x. Found the solution to my problem here: https://forums.freebsd.org/viewtopic.php?&t=42041 Affects some 9.x users too. -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.