Bug#833365: libapache2-mpm-itk: installation fails when apache2 is not running

2016-08-05 Thread Steinar H. Gunderson
On Fri, Aug 05, 2016 at 11:20:12AM +0200, Florent Bervas wrote: > Regarding your script (libapache2-mpm-itk.postinst), the returned value > doesn't seem to be handled correctly (line 9), so should the suggested > patch be considered as a (small and modest) improvement? I also forward it > to Apache

Bug#833365: libapache2-mpm-itk: installation fails when apache2 is not running

2016-08-05 Thread Florent Bervas
Hi, Thanks for your feedback and your work on the mpm-itk packaging. You are right, the empty result occurred when I wrote the bug report, but today I can't reproduce it anymore. So the apache2 status is not the condition that triggers the bug. Regarding your script (libapache2-mpm-itk.postinst)

Bug#833365: libapache2-mpm-itk: installation fails when apache2 is not running

2016-08-03 Thread Steinar H. Gunderson
On Wed, Aug 03, 2016 at 04:43:38PM +0200, Florent Bervas wrote: > In both case, a command's result is not handled correctly as a string. When > the command "a2query -M" is executed while the apache2 server is not > running, the command returns an empty string and bash fails the comparison. Hi, Th

Bug#833365: libapache2-mpm-itk: installation fails when apache2 is not running

2016-08-03 Thread Florent Bervas
Package: libapache2-mpm-itk Version: 2.4.7-02-1.1+deb8u1 Severity: normal Tags: patch Hi, I have been faced to an installation issue of the package. During installation process, postinst script failed 2 times: == Error messages == /var/lib/dpkg/info/libapache2-mpm-itk.postinst: 9: [: !=: unexpe