From owner-freebsd-stable@FreeBSD.ORG Thu Dec 20 21:17:36 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A3898709 for ; Thu, 20 Dec 2012 21:17:36 +0000 (UTC) (envelope-from bra@fsn.hu) Received: from people.fsn.hu (people.fsn.hu [195.228.252.137]) by mx1.freebsd.org (Postfix) with ESMTP id 218988FC0A for ; Thu, 20 Dec 2012 21:17:35 +0000 (UTC) Received: by people.fsn.hu (Postfix, from userid 1001) id 3DA48F33523; Thu, 20 Dec 2012 22:17:27 +0100 (CET) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MF-ACE0E1EA [pR: 20.3535] X-CRM114-CacheID: sfid-20121220_22172_D1E7BDEC X-CRM114-Status: Good ( pR: 20.3535 ) X-DSPAM-Result: Whitelisted X-DSPAM-Processed: Thu Dec 20 22:17:27 2012 X-DSPAM-Confidence: 0.9957 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 50d38067283561651613836 X-DSPAM-Factors: 27, From*Attila Nagy , 0.00010, the+>, 0.00097, to+>, 0.00121, >+Hi, 0.00139, of+>, 0.00154, conf, 0.00168, wrote+>, 0.00225, Hi+>, 0.00231, >+It, 0.00277, bytes, 0.00292, >+>, 0.00359, >+>, 0.00359, (it, 0.00410, References*fsn.hu>, 0.00426, In-Reply-To*fsn.hu>, 0.00461, >+with, 0.00503, parameter, 0.00552, wrote, 0.00592, sysctl, 0.00613, rc, 0.00690, rc, 0.00690, >+I've, 0.00690, it's+not, 0.00719, 07+47, 0.00787, 04+16, 0.00787, the+error, 0.00787, X-Spambayes-Classification: ham; 0.00 Received: from [192.168.3.2] (japan.t-online.co.hu [195.228.243.99]) by people.fsn.hu (Postfix) with ESMTPSA id 6772BF33516 for ; Thu, 20 Dec 2012 22:17:26 +0100 (CET) Message-ID: <50D38064.9050404@fsn.hu> Date: Thu, 20 Dec 2012 22:17:25 +0100 From: Attila Nagy User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.23) Gecko/20090817 Thunderbird/2.0.0.23 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: mod_fcgid doesn't work in 9-stable jails after upgrade from 8.x References: <5096B848.60801@fsn.hu> In-Reply-To: <5096B848.60801@fsn.hu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 21:17:36 -0000 I could finally take the time to look into this, so here's the solution: Setting jail_sysvipc_allow="YES" in rc.conf is no longer enough, it only sets the sysctl, but the new rc.d/jail script won't add the allow.sysvipc=1 parameter. So in order to work, you must change the above to: jail_jailname_parameters="allow.sysvipc=1" ps: it's not related to 9, stable/8 rc.d/jail has the same new style jail invocation and hence the same problem. On 11/04/2012 07:47 PM, Attila Nagy wrote: > Hi, > > I've just tried to upgrade a machine running an older 8-stable to > 9-stable@r242549M without success. > It runs an apache with mod_fcgid in a jail and the latter can't start > with the error message of: > [Sun Nov 04 16:09:12 2012] [emerg] (78)Function not implemented: > mod_fcgid: Can't create shared memory for size 1192488 bytes > > security.jail.sysvipc_allowed is enabled (it was needed on 8.x too), > nothing else has changed. > > There are some reports from this, but from earlier versions, and the > only confirmed solution was sysvipc_allowed, which works for 8.x, but > doesn't with the above version. > > Any ideas?