Обсуждение: pljava rpm package missing pljava.policy file?

Поиск
Список
Период
Сортировка

pljava rpm package missing pljava.policy file?

От
Chapman Flack
Дата:
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