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), 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 maintainers for the apache2-maintscript-helper.

Best,

On Wed, Aug 3, 2016 at 5:04 PM, Steinar H. Gunderson <[email protected]
> wrote:

> 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,
>
> This doesn't seem correct to me; a2query runs just fine even with no
> running
> Apache:
>
>   klump:~> ps auxw | grep '[a]pache2'
>   klump:~> /usr/sbin/a2query -M
>   event
>
> Are you really sure your analysis is correct?
>
> Also /usr/share/apache2/apache2-maintscript-helper comes from apache2, not
> mpm-itk.
>
> /* Steinar */
> --
> Homepage: https://www.sesse.net/
>

Reply via email to