I found the error the systemd override snippet the solr-tomcat package provides is placed in a wrongly named directory /etc/systemd/system/tomcat9.d it should be in /etc/systemd/system/tomcat9.service.d for systemd to pick it up
so /etc/systemd/system/tomcat9.d/solr-permissions.conf should be /etc/systemd/system/tomcat9.service.d/solr-permissions.conf I have provided a patch to the source package(hope it is the right way or please tell me) ** Patch added: "patch tomcat-solr.install" https://bugs.launchpad.net/ubuntu/+source/lucene-solr/+bug/1829611/+attachment/5264684/+files/solr-tomcat.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1829611 Title: tomcat cannot create the index directory for solr on startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lucene-solr/+bug/1829611/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs