From owner-freebsd-jail@FreeBSD.ORG Tue Jun 11 14:07:33 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 9F8C2E39 for ; Tue, 11 Jun 2013 14:07:33 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from smtp-int-m.obspm.fr (smtp-int-m.obspm.fr [145.238.187.15]) by mx1.freebsd.org (Postfix) with ESMTP id 3DAB51688 for ; Tue, 11 Jun 2013 14:07:33 +0000 (UTC) Received: from pcjas.obspm.fr (pcjas.obspm.fr [145.238.184.233]) by smtp-int-m.obspm.fr (8.14.3/8.14.3/SIO Observatoire de Paris - 07/2009) with ESMTP id r5BE7VYS024171 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 11 Jun 2013 16:07:32 +0200 Date: Tue, 11 Jun 2013 16:07:31 +0200 From: Albert Shih To: freebsd-jail@FreeBSD.org Subject: Re: Big problem about ipc on 8.4 Message-ID: <20130611140731.GD27920@pcjas.obspm.fr> References: <20130611132300.GA27920@pcjas.obspm.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20130611132300.GA27920@pcjas.obspm.fr> User-Agent: Mutt/1.5.21 (2010-09-15) X-Miltered: at smtp-int-m.obspm.fr with ID 51B72F23.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 51B72F23.000/145.238.184.233/pcjas.obspm.fr/pcjas.obspm.fr/ 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: Tue, 11 Jun 2013 14:07:33 -0000 Le 11/06/2013 ? 15:23:00+0200, Albert Shih a écrit > Hi everybody > > After I upgrade my server from 8.2 to 8.4 I've got a big problem about > ipcs. > > In one of my jail I'm running > > uwsgi > > this software need a security.jail.sysvipc_allowed to be true, so since 8.2 I using > > jail_sysvipc_allow="YES" > > inside /etc/rc.conf (on the host). And everything work fine. > > After upgrading to 8.4 uwsgi stop working I got this message in the log of > uwsgi > (inside the jail) : > > emget(): Function not implemented [core/lock.c line 507] > semctl(): Function not implemented [core/lock.c line 602] > > generally meaning some problem with systemvipc. > > I've check on the host : > > security.jail.sysvipc_allowed: 1 > > Anyone have a idea ? OK I find the solution. Just in case some have the same problem. In FreeBSD 8.4 some changes make you need to add jail_NAME_OF_JAIL_parameters="allow.sysvipc" in the rc.conf of the host. Regards. -- Albert SHIH DIO bâtiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex France Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71 xmpp: jas@obspm.fr Heure local/Local time: mar 11 jui 2013 16:06:21 CEST