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

Markus Koschany apo at debian.org
Fri Mar 1 17:29:26 GMT 2019


Am 01.03.19 um 18:24 schrieb Emmanuel Bourg:
> Le 01/03/2019 à 18:19, Markus Koschany a écrit :
> 
>> I think just creating /var/lib/solr with tomcat9.dirs is sufficient. I
>> tested both cases, installing tomcat9 first and then solr-tomcat and
>> vice versa, and the server always started correctly. SystemD just
>> requires an existing directory. Do you agree with this change?
>>
>> https://salsa.debian.org/java-team/tomcat9/commit/fc31e79f1c5f94cfcef0c75c3133654edf00a28e
> 
> It looks a bit odd to put solr specific stuff in tomcat9. I'd rather
> investigate a solution involving a /etc/systemd/system/tomcat9.d/ file
> installed by solr-tomcat and extending the write permissions.
> 
> Emmanuel Bourg

I find adding an additional empty and root owned directory to be the
lesser of two evils. I have never extended security permissions of
another systemd service. How is this supposed to work?

-------------- 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/20190301/ae0dbe5b/attachment.sig>


More information about the pkg-java-maintainers mailing list