** Description changed: [Impact] An instruction in apache config such as the following will make apache2 - fail to start: + fail to start if the target path does not exist: IncludeOptional /etc/apache2/mellon/sp-location*.conf https://paste.ubuntu.com/p/f2Tb9rgrBB/ (full file: /etc/apache2/sites- enabled/openstack_https_frontend.conf) 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. A fix is available upstream: https://bz.apache.org/bugzilla/show_bug.cgi?id=57585 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878920 https://github.com/apache/httpd/commit/a17ce7dd5e6277867ca48659f70c4bb8a11add56 #diff-18a4bdb1520687ad43a0b4dd2b51d957R1954 [Test Case] - * add IncludeOptional /etc/apache2/mellon/sp-location*.conf to an + * 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; - * the patch author says that it's been used for ~ 3 years in clearlinux https://bz.apache.org/bugzilla/show_bug.cgi?id=57585#c4 - * applied in debian https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878920#22 + * minimal, the patch eases up requirements without rewriting or removing the existing code; + * the patch author says that it's been used for ~ 3 years in clearlinux https://bz.apache.org/bugzilla/show_bug.cgi?id=57585#c4 + * applied in debian https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878920#22
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1766186 Title: IncludeOptional fails when a directory does not exist To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1766186/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs