Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jul 2004 14:18:45 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        questions@freebsd.org
Subject:    Postgres running in 5.1 jail corrupts Postgres running in host environment
Message-ID:  <20040727141845.4e7cceb1.wmoran@potentialtech.com>

next in thread | raw e-mail | index | archive | help

I'm running Postgres 7.4 installed from a just cvsupped FreeBSD ports.
I've got a production machine that's going to need a lot of upgrades, and
I want to test them out prior to upgrading the production environment.
So I built a jail on the production machine to install the new software
in and test prior.  Seems logical, right?

Anyway, I set security.jail.sysvipc_allowed=1 so Postgres can run in the
jail, but every time I start Postgres in the jail, the Postgres running
in the host environ goes wacky.  If I try to connect with psql, I get
the following error:

psql: FATAL:  semctl(65542, 0, SETVAL, 0) failed: Invalid argument

This is FreeBSD 5.1-p17 (I can't upgrade to 5.2.1 until the em driver is
fixed ... but if someone knows for sure that this is fixed in 5.2.1, I'll
push harder to get that driver fixed!)

Anyone have any idea what's going wrong here?  Or what I can do to fix
it?

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



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