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

Attachment: signature.asc
Description: OpenPGP digital signature

__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to