[PC-BSD Testing] Unable to start PostgresSQL in Jail
francis.ridder at gmail.com
Tue Oct 9 16:20:23 PDT 2012
To further clarify I have tried this both in a traditional jail and a
It looks like sysvipc_allowed is not being set by the host on the
jail. As I stated before, it is set to one on the host. If I manually
jail -m jid=1 allow.sysvipc=1
The value is now correctly set on the jail and initdb works and
postgres starts. Also, it does look like there are a few other flags
that are not passed in:
> Message: 4
> Date: Tue, 09 Oct 2012 14:56:38 -0400
> From: Kris Moore <kris at pcbsd.org>
> To: testing at lists.pcbsd.org
> Subject: Re: [PC-BSD Testing] Unable to start PostgresSQL in Jail
> Message-ID: <50747366.8090208 at pcbsd.org>
> Content-Type: text/plain; charset="iso-8859-1"
> On 10/09/2012 14:37, Francis Ridder wrote:
>> So I have setup a jail, via warden and the metapackages, for Postgres
>> and I can't get initdb to run:
>> I did verify that on the host:
>> security.jail.sysvipc_allowed: 1
>> However in the jail:
>> security.jail.sysvipc_allowed: 0
>> Also, I have set (and restarted a few times after)
>> in /etc/rc.conf: jail_sysvipc_allow="YES"
>> and in /etc/sysctl.conf: security.jail.sysvipc_allowed=1
>> Any ideas on how to fix?
>> Testing mailing list
>> Testing at lists.pcbsd.org
> Looks like you may need to do some special kernel options to run
> postgres in a jail..
> Kris Moore
> PC-BSD Software
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.pcbsd.org/pipermail/testing/attachments/20121009/7e6b571b/attachment-0001.html>
> Testing mailing list
> Testing at lists.pcbsd.org
> End of Testing Digest, Vol 69, Issue 12
More information about the Testing