Subject: [Pljava-dev] Problems with SELinux and PL/Java
Date: Fri, 18 Feb 2011 15:05:10 -0000
Message-ID: <op.vq3tiwnpuxs6vk@localhost> (raw)
In-Reply-To: <3A59BB6451C972429019B12996F92DAD02C207C9@frodo.zbw-nett.zbw-kiel.de>
References: <3A59BB6451C972429019B12996F92DAD02C207C9@frodo.zbw-nett.zbw-kiel.de>
Hi,
On Fri, 18 Feb 2011 09:07:40 -0000, Riese Wolfgang <W.Riese at zbw.eu> wrote:
> So far the only partly working solution I've found is putting the jars
> in the /var/lib/pgsql/data/ directory, and I mean putting them there,
> symbolic links didn't work for me.
Usually jars are put in the database with the sqlj.install_jar() function,
but I presume you have a reason to have them elsewhere?
> Since I don't want to have the same files in many locations I'd
> appreciate any hints on rules/file rights for SELinux, to solve this
> problem.
The user/role the Postgres server is running as will need read access to
these files. If you can read these files as the postgres user (as it's
traditionally called) and it still doesn't work with SELinux on then you
need to somehow tune the server process rights. Sadly I have no idea how
to configure SELinux itself.
--
Johann Oskarsson http://www.2ndquadrant.com/ |[]
PostgreSQL Development, 24x7 Support, Training and Services --+--
|
Blog: http://my.opera.com/myrkraverk/blog/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pljava-dev@postgresql.org
Subject: Re: [Pljava-dev] Problems with SELinux and PL/Java
In-Reply-To: <op.vq3tiwnpuxs6vk@localhost>
References: <3A59BB6451C972429019B12996F92DAD02C207C9@frodo.zbw-nett.zbw-kiel.de> <op.vq3tiwnpuxs6vk@localhost>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox