From owner-freebsd-jail@FreeBSD.ORG Sun May 31 18:05:50 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 625E610656C4 for ; Sun, 31 May 2009 18:05:50 +0000 (UTC) (envelope-from bz@zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [195.88.108.3]) by mx1.freebsd.org (Postfix) with ESMTP id 1DD688FC1B for ; Sun, 31 May 2009 18:05:49 +0000 (UTC) (envelope-from bz@zabbadoz.net) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 03E5B41C72F; Sun, 31 May 2009 19:50:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([195.88.108.3]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id PAhuLVkL5IwI; Sun, 31 May 2009 19:50:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 7E2FE41C732; Sun, 31 May 2009 19:50:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 197154448E6; Sun, 31 May 2009 17:49:23 +0000 (UTC) Date: Sun, 31 May 2009 17:49:23 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Boris Samorodov In-Reply-To: <11979393@h30.sp.ipt.ru> Message-ID: <20090531174837.R3234@maildrop.int.zabbadoz.net> References: <11979393@h30.sp.ipt.ru> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-jail@FreeBSD.org Subject: Re: sysvipc in jails + CURRENT X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 May 2009 18:05:50 -0000 On Sun, 31 May 2009, Boris Samorodov wrote: Hi, > has something changed at CURRENT with sysvipc jail handling? > This jail has been working fine for almost a year. > > I've upgrade CURRENT to yesterday's sources and can't start > postgresql in a jail anymore: > ----- the jail ----- > % tail -2 /var/log/messages > May 31 18:22:47 pg postgres[55425]: [1-1] FATAL: could not create shared memory segment: Function not implemented > May 31 18:22:47 pg postgres[55425]: [1-2] DETAIL: Failed system call was shmget(key=5432001, size=30384128, 03600). > % sysctl security.jail.sysvipc_allowed > security.jail.sysvipc_allowed: 0 > % grep sysvipc /etc/sysctl.conf > security.jail.sysvipc_allowed=1 > ----- the host ----- > % uname -a > FreeBSD tba.bsam.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun May 31 11:28:31 MSD 2009 root@tba.bsam.ru:/usr/obj/usr/src/sys/TBA amd64 > % sysctl security.jail.sysvipc_allowed > security.jail.sysvipc_allowed: 1 > ----- I'll look into that; possibly the default option is not properly taken into account for the new jail framework. /bz -- Bjoern A. Zeeb The greatest risk is not taking one.