Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2016 16:55:27 +0100
From:      Mark Martinec <Mark.Martinec+freebsd@ijs.si>
To:        freebsd-stable@freebsd.org
Cc:        Alan Somers <asomers@freebsd.org>, Christian Schwarz <me@cschwarz.com>
Subject:   Re: Is System V IPC namespace still shared across jails?
Message-ID:  <241a7e18a78fe4d8aac6db3da166be88@ijs.si>
In-Reply-To: <CAOtMX2h0p5TW4jEGFp_MbajpNSZzYjAsyFPLAdzyHd%2BojwYXjw@mail.gmail.com>
References:  <bd0104e960902c42acef95555c0fc37f@ijs.si> <20161212193817.hjax5jo5leb7ryjr@csarch.Speedport_W_724V_01011603_00_008> <9b85246e8cf5dfb34ddbbaaec528a4a7@ijs.si> <CAOtMX2h0p5TW4jEGFp_MbajpNSZzYjAsyFPLAdzyHd%2BojwYXjw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2016-12-13 16:29, Alan Somers wrote:
> I've already added support for sysvmsg, sysvsem, and sysvshm to
> iocage.  They all default to "new", which means you won't have to do
> anything special in your jail config to make postgres work.  You can
> find the patch below.  The only reason it hasn't been merged is
> because it can't (yet) be made to work correctly on the develop branch
> of iocage.  But it works fine on the master branch.
> 
> https://github.com/iocage/iocage/pull/370
> 
> -Alan

Superb, appreciated!

   Mark



> On Tue, Dec 13, 2016 at 8:08 AM, Mark Martinec
> <Mark.Martinec+freebsd@ijs.si> wrote:
>> 2016-12-12 20:38, Christian Schwarz wrote:
>>> 
>>> With the new jail parameters, new namespaces for SysV IPC are 
>>> possible
>>> on FreeBSD 11.
>>> 
>>> For those ezjail users, add something like this to the jail's config
>>> after creating it using 'ezjail-admin create':
>>> 
>>> export jail_postgres_parameters="sysvmsg=new sysvsem=new sysvshm=new"
>>> 
>>> Cheers,
>>>   Christian
>> 
>> 
>> Thank you, this is it!
>> I missed it in the JAIL(8) man page, and is not mentioned in release 
>> notes.
>> 
>> Now if only the iocage would recognized the sysvmsg, sysvsem, and 
>> sysvshm
>> options:
>> 
>> # iocage set sysvmsg='new' xxx
>>   ERROR: Unsupported property: sysvmsg!
>> 
>> I guess I should file a bug report.
>>   Mark



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?241a7e18a78fe4d8aac6db3da166be88>