pljava rpm package missing pljava.policy file? - Mailing list pgsql-pkg-yum

From Chapman Flack
Subject pljava rpm package missing pljava.policy file?
Date
Msg-id 66243CBE.30509@acm.org
Whole thread Raw
List pgsql-pkg-yum
Hi,

I was recently responding to a puzzling blog post by Luca Ferrari
about installing PL/Java on Rocky Linux, where he'd made a strange comment
about needing to add a grant of AllPermission in Java's own systemwide
default policy file before PL/Java would even run!

I responded that if any adjustments to PL/Java's policy were needed,
they should have been made in $(pg_config --sysconfdir)/pljava.policy

However, there seems to be a worse problem that wasn't his fault.
If I am looking in the right pljava.spec file ...

https://git.postgresql.org/gitweb/?p=pgrpms.git;a=blob;f=rpm/redhat/main/non-common/pljava/main/pljava.spec;hb=HEAD

... it seems not to include pljava.policy in the rpm at all. No wonder
Luca struggled to make it work.

I wonder how many have tried to use this rpm package since 1.6.0
and also struggled the same way, or given up.

Can the pljava.policy file be included in the rpm? Thanks!

Regards,
-Chap



pgsql-pkg-yum by date:

Previous
From: Devrim Gündüz
Date:
Subject: RPM status update
Next
From: Devrim Gündüz
Date:
Subject: Re: Package updates failing