Re: initdb dies during IpcSemaphoreCreate under BSD jail - Mailing list pgsql-hackers

From Joel Burton
Subject Re: initdb dies during IpcSemaphoreCreate under BSD jail
Date
Msg-id JGEPJNMCKODMDHGOBKDNOEAHCHAA.joel@joelburton.com
Whole thread Raw
In response to Re: initdb dies during IpcSemaphoreCreate under BSD jail  ("Alastair D'Silva" <deece@newmillennium.net.au>)
Responses Re: initdb dies during IpcSemaphoreCreate under BSD jail  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> You need to get your provider to set the sysctl jail.sysvipc_allowed to
> 1 in the host environment. If they're not willing to do this for you, we
> provide this feature on our servers, and also have a shared Postgres
> database you can use.

My ISP responds to this point:

"""
>In the thread on the pgsql-hackers list, someone wrote to me to say that
>"You need to get your provider to set the sysctl jail.sysvipc_allowed to
>1 in the host environment." Apparently, according to this person, this will
>allow the use of PG in the jailed environments. Is this something that
imeme
>can configure? If this isn't clear, I'd be happy to find out more
>information for you about this configuration change and what other
>ramifications it might have for your servers.

This will allow you to run a single postgres in a single jail only one
user would have access to it.  If you try to run more then one it will
try to use the same shared memory and crash.
"""


Is this, in fact, the case?

Thanks!



pgsql-hackers by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: RI triggers and schemas
Next
From: Tom Lane
Date:
Subject: Re: RI triggers and schemas