Forum OpenACS Q&A: Response to Postgres and chroot

Collapse
Posted by Jens Strupp on
Hi Don,

...yes! That makes sense to me. I wanted to run postmaster outside
the jail for more security as was discussed in another thread.
Now I'm able to run it. However, I still need the "-z" argument for
AOLserver to run it without a segmentation fault. Strange. The logs
offer no hint so far. I think there are performace issues with "-z"?

I guess I also have to install one new PGDATA directory for every
AOLserver+Postgres instance I want to run, right? Because otherwise
some tools will not work, e.g., psql seems to be "hardcoded" to a
socket in /tmp. It offers no "-k" argument like postmaster.

Example:
For three chroot environments running AOLserver (probably with
different installs of the ACS) I would have to run three postmasters
outside pointing to different socket directories and different
Postgres data directories. So every system is maximum unaware of the
other.