agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Problems with SELinux and PL/Java
Date: Mon, 21 Feb 2011 16:29:07 -0000
Message-ID: <op.vq9hetnsuxs6vk@localhost> (raw)
In-Reply-To: <3A59BB6451C972429019B12996F92DAD02C207CA@frodo.zbw-nett.zbw-kiel.de>
References: <3A59BB6451C972429019B12996F92DAD02C207C9@frodo.zbw-nett.zbw-kiel.de>
	<op.vq3tiwnpuxs6vk@localhost>
	<3A59BB6451C972429019B12996F92DAD02C207CA@frodo.zbw-nett.zbw-kiel.de>

On Mon, 21 Feb 2011 08:44:10 -0000, Riese Wolfgang <W.Riese at zbw.eu> wrote:

> Hi,
>
> thank you for your answer.

>> Usually jars are put in the database with the sqlj.install_jar()  
>> function,
>> but I presume you have a reason to have them elsewhere?

> Ok, I was led to believe that the jars would always be loaded from disk,  
> since the table "jar_repository" records the filespace origin of the  
> jars, my mistake.

> But that leaves me with the problem that the GeoIP Api can't access it's  
> data file, while SELinux is turned on.

Can you check that the postgres' server user can read the data file?  That  
is, the Linux user/role the server is run as.  You can check with the head  
or od commands for example.

-- 
   Johann Oskarsson                http://www.2ndquadrant.com/    |[]
   PostgreSQL Development, 24x7 Support, Training and Services  --+--
                                                                  |
   Blog: http://my.opera.com/myrkraverk/blog/




view thread (3+ messages)

Message-ID: <op.vq9hetnsuxs6vk@localhost>
Permalink:  ../op.vq9hetnsuxs6vk@localhost/
Also on:    postgresql.org/message-id/op.vq9hetnsuxs6vk@localhost

reply

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 using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] Problems with SELinux and PL/Java
  In-Reply-To: <op.vq9hetnsuxs6vk@localhost>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox