Bug#919638: solr-tomcat: Permission problems after update to tomcat9

Markus Koschany apo at debian.org
Sun Mar 3 15:46:11 GMT 2019


Control: severity -1 serious
Control: reassign -1 solr-tomcat


Am 01.03.19 um 19:58 schrieb Emmanuel Bourg:
> Le 01/03/2019 à 18:29, Markus Koschany a écrit :
> 
>> I have never extended security permissions of
>> another systemd service. How is this supposed to work?
> 
> I'm not used to this either, but I think we just have to install a
> /etc/systemd/system/tomcat9.d/solr-permissions.conf file with theses lines:
> 
>   [Service]
>   ReadWritePaths=/var/lib/solr/
> 
> A call to 'systemctl daemon-reload' is probably needed in the postinst
> script (but maybe there is a trigger taking care of that already).

Thanks. I didn't know about those config files. Usually
/etc/systemd/system is for the local administrator who can completely
override specific service files, so it might be dangerous to install
something in those directories. However I haven't found anything in the
Debian Policy about that, I just install solr-permissions.conf and
execute systemctl daemon-reload in postinst and hope that it resolves
the problem.

Markus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20190303/1f71c3b8/attachment.sig>


More information about the pkg-java-maintainers mailing list