Apr 23 06:58:31 maas-xenial1 apache2[28269]: * The apache2 configtest failed.
Apr 23 06:58:31 maas-xenial1 apache2[28269]: Output of config test was:
Apr 23 06:58:31 maas-xenial1 apache2[28269]: apache2: Syntax error on line 219 of /etc/apache2/apache2.conf: Syntax error on line 17 of /etc/apache2/sites-enabled/openstack_https_frontend.conf: Could not o
Apr 23 06:58:31 maas-xenial1 apache2[28269]: Action 'configtest' failed.
Apr 23 06:58:31 maas-xenial1 apache2[28269]: The Apache error log may have more information.
Apr 23 06:58:31 maas-xenial1 systemd[1]: apache2.service: Control process exited, code=exited status=1
Apr 23 06:58:31 maas-xenial1 systemd[1]: Failed to start LSB: Apache2 web server.
[Impact]
An instruction in apache config such as the following will make apache2 fail to start:
IncludeOptional /etc/apache2/ mellon/ sp-location* .conf
https:/ /paste. ubuntu. com/p/f2Tb9rgrB B/ (full file: /etc/apache2/ sites-enabled/ openstack_ https_frontend. conf)
Apr 23 06:58:31 maas-xenial1 apache2[28269]: * The apache2 configtest failed. apache2. conf: Syntax error on line 17 of /etc/apache2/ sites-enabled/ openstack_ https_frontend. conf: Could not o
Apr 23 06:58:31 maas-xenial1 apache2[28269]: Output of config test was:
Apr 23 06:58:31 maas-xenial1 apache2[28269]: apache2: Syntax error on line 219 of /etc/apache2/
Apr 23 06:58:31 maas-xenial1 apache2[28269]: Action 'configtest' failed.
Apr 23 06:58:31 maas-xenial1 apache2[28269]: The Apache error log may have more information.
Apr 23 06:58:31 maas-xenial1 systemd[1]: apache2.service: Control process exited, code=exited status=1
Apr 23 06:58:31 maas-xenial1 systemd[1]: Failed to start LSB: Apache2 web server.
A fix is available upstream:
https:/ /bz.apache. org/bugzilla/ show_bug. cgi?id= 57585 /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 878920
https:/
https:/ /github. com/apache/ httpd/commit/ a17ce7dd5e62778 67ca48659f70c4b b8a11add56# diff-18a4bdb152 0687ad43a0b4dd2 b51d957R1954
[Test Case]
* add IncludeOptional /etc/apache2/ mellon/ sp-location* .conf to an apache config file and try to restart the apache2 service
[Regression Potential]
* minimal, the patch eases up requirements without rewriting or removing the existing code; /bz.apache. org/bugzilla/ show_bug. cgi?id= 57585#c4 /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 878920# 22
* the patch author says that it's been used for ~ 3 years in clearlinux https:/
* applied in debian https:/