Date: Wed, 21 Mar 2007 12:28:52 -0400 From: Bill Moran <wmoran@potentialtech.com> To: Greg Barniskis <nalists@scls.lib.wi.us> Cc: Jonathan Horne <freebsd@dfwlp.com>, freebsd-questions@freebsd.org Subject: Re: started playing with jails Message-ID: <20070321122852.8eaa2663.wmoran@potentialtech.com> In-Reply-To: <46015BFD.4060806@scls.lib.wi.us> References: <42991.167.246.36.14.1174490156.squirrel@webmail.dfwlp.org> <4601501C.3060605@gmail.com> <10072.167.246.36.14.1174492472.squirrel@webmail.dfwlp.org> <20070321121031.d95cadf6.wmoran@potentialtech.com> <46015BFD.4060806@scls.lib.wi.us>
next in thread | previous in thread | raw e-mail | index | archive | help
In response to Greg Barniskis <nalists@scls.lib.wi.us>: > Bill Moran wrote: > > > I've had trouble getting programs that use shared memory (such as Postgres) > > to run inside a jail, but it's been a while since I've tried. > > Postgres needs this in the host rc.conf: > > jail_sysvipc_allow="YES" My experiments with Postgres in jail predate the existence of that setting. When I was working with it, you had to frob a sysctl via /etc/sysctl.conf But even then, I couldn't seem to get it to work -- the Postgres in the jail would corrupt the shared memory of the postgres outside the jail. It was ugly. Imagine big, wet tears rolling down my cheeks. I haven't had the need to try it in a while, so it might work OK now, I just don't know. -- Bill Moran http://www.potentialtech.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070321122852.8eaa2663.wmoran>