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

2019-03-03 Thread Markus Koschany
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

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

2019-03-01 Thread 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:

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

2019-03-01 Thread Markus Koschany
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

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

2019-03-01 Thread 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

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

2019-03-01 Thread Markus Koschany
Hi, 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?

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

2019-02-26 Thread Markus Koschany
Am 26.02.19 um 09:46 schrieb Emmanuel Bourg: > Control: reopen -1 > Control: notfixed -1 9.0.16-2 > > Le 17/02/2019 à 12:38, Markus Koschany a écrit : > >> Thank you for the confirmation. Then I think reassigning this issue to >> src:tomcat9 and fixing it there is sensible. > > Unfortunately

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

2019-02-26 Thread Emmanuel Bourg
Control: reopen -1 Control: notfixed -1 9.0.16-2 Le 17/02/2019 à 12:38, Markus Koschany a écrit : > Thank you for the confirmation. Then I think reassigning this issue to > src:tomcat9 and fixing it there is sensible. Unfortunately the modification broke tomcat9 installations when solr isn't

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

2019-02-17 Thread Markus Koschany
Control: reassign -1 src:tomcat9 Am 17.02.19 um 06:58 schrieb Michael Welsh Duggan: [...] > Based on your prior tip, I had already done that. (Only the > /var/lib/solr/ entry seemed to be necessary.) This caused things to > work again. Thank you for the confirmation. Then I think reassigning

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

2019-02-16 Thread Michael Welsh Duggan
Markus Koschany writes: > Hello Michael, > > > On Fri, 18 Jan 2019 01:19:36 -0500 Michael Welsh Duggan > wrote: >> Package: solr-tomcat >> Version: 3.6.2+dfsg-16 >> Severity: important >> >> Dear Maintainer, >> >> After updating tomcat to tomcat9 and solr-tomcat to 3.6.2+dfsg-16, it >> seems

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

2019-02-15 Thread Markus Koschany
Hello Michael, On Fri, 18 Jan 2019 01:19:36 -0500 Michael Welsh Duggan wrote: > Package: solr-tomcat > Version: 3.6.2+dfsg-16 > Severity: important > > Dear Maintainer, > > After updating tomcat to tomcat9 and solr-tomcat to 3.6.2+dfsg-16, it > seems to be having problems writing to its index

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

2019-01-18 Thread Michael Welsh Duggan
Emmanuel Bourg writes: > Le 18/01/2019 à 07:19, Michael Welsh Duggan a écrit : > >> I have no idea why it fails to write the lock file. > > It probably happens because tomcat9 is sandboxed to write only into its > own directory. You'll have to tweak the systemd configuration to allow > Tomcat to

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

2019-01-18 Thread Emmanuel Bourg
Hi Michael, Le 18/01/2019 à 07:19, Michael Welsh Duggan a écrit : > I have no idea why it fails to write the lock file. It probably happens because tomcat9 is sandboxed to write only into its own directory. You'll have to tweak the systemd configuration to allow Tomcat to write into the solr

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

2019-01-17 Thread Michael Welsh Duggan
Package: solr-tomcat Version: 3.6.2+dfsg-16 Severity: important Dear Maintainer, After updating tomcat to tomcat9 and solr-tomcat to 3.6.2+dfsg-16, it seems to be having problems writing to its index directory. The problem surfaced when using dovecot to look up messages. Attached is the error