[Git][java-team/lucene-solr][master] 3 commits: Add solr-permissions.conf and override tomcat9 permissions to allow solr-tomcat

Markus Koschany gitlab at salsa.debian.org
Sun Mar 3 15:54:24 GMT 2019


Markus Koschany pushed to branch master at Debian Java Maintainers / lucene-solr


Commits:
ae53f09f by Markus Koschany at 2019-03-02T21:58:24Z
Add solr-permissions.conf and override tomcat9 permissions to allow solr-tomcat

read-write access to /var/lib/solr.

Closes: #919638

- - - - -
4ebef1c8 by Markus Koschany at 2019-03-02T22:03:03Z
Update changelog

- - - - -
edddddb1 by Markus Koschany at 2019-03-03T15:50:04Z
Execute systemctl daemon-reload in solr-tomcat.postinst to load

the new configuration option of solr-permissions.conf.

- - - - -


4 changed files:

- debian/changelog
- + debian/solr-permissions.conf
- debian/solr-tomcat.install
- debian/solr-tomcat.postinst


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+lucene-solr (3.6.2+dfsg-18) unstable; urgency=medium
+
+  * Team upload.
+  * Add solr-permissions.conf and override tomcat9 permissions to allow
+    solr-tomcat read-write access to /var/lib/solr. (Closes: #919638)
+
+ -- Markus Koschany <apo at debian.org>  Sat, 02 Mar 2019 23:02:16 +0100
+
 lucene-solr (3.6.2+dfsg-17) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/solr-permissions.conf
=====================================
@@ -0,0 +1,2 @@
+[Service]
+ReadWritePaths=/var/lib/solr/


=====================================
debian/solr-tomcat.install
=====================================
@@ -1,2 +1,3 @@
 debian/solr-tomcat.xml /etc/solr/
 debian/tomcat.policy /etc/solr/
+debian/solr-permissions.conf /etc/systemd/system/tomcat9.d/


=====================================
debian/solr-tomcat.postinst
=====================================
@@ -15,6 +15,8 @@ case "$1" in
         chmod -R 770 /var/lib/solr/data
 
         ln -sf /etc/solr/tomcat.policy /etc/tomcat9/policy.d/05solr.policy
+
+        systemctl daemon-reload
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)



View it on GitLab: https://salsa.debian.org/java-team/lucene-solr/compare/f142790fa47e4045ac7563748d84e451e2495980...edddddb1585c65a496b26c28478b33286965e991

-- 
View it on GitLab: https://salsa.debian.org/java-team/lucene-solr/compare/f142790fa47e4045ac7563748d84e451e2495980...edddddb1585c65a496b26c28478b33286965e991
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20190303/ac29bab1/attachment.html>


More information about the pkg-java-commits mailing list