Checked with xenial-proposed:

root@maas-vhost2:/etc/apache2# apt policy apache2
apache2:
  Installed: 2.4.18-2ubuntu3.9
  Candidate: 2.4.18-2ubuntu3.9
  Version table:
 *** 2.4.18-2ubuntu3.9 500
        500 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     2.4.18-2ubuntu3.8 500
        500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages
     2.4.18-2ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages

grep IncludeOptional sites-enabled/openstack_https_frontend.conf 
    IncludeOptional /etc/apache2/mellon/sp-location*.conf
    IncludeOptional /etc/apache2/mellon/sp-location*.conf

stat mellon/sp-location.keystone-saml-mellon.conf 
  File: 'mellon/sp-location.keystone-saml-mellon.conf'
# ...

systemctl restart apache2 && sleep 10 && systemctl status apache2 | grep Active
   Active: active (running) since Fri 2018-06-22 22:17:04 UTC; 10s ago

mv mellon/sp-location.keystone-saml-mellon.conf /tmp/

systemctl restart apache2 && sleep 5 && systemctl status apache2 | grep Active
   Active: active (running) since Fri 2018-06-22 22:19:02 UTC; 5s ago

mv /tmp/sp-location.keystone-saml-mellon.conf mellon/

echo deadbeef >> mellon/sp-location.keystone-saml-mellon.conf

# looks like it actually gets imported which is what we are after
systemctl restart apache2 && sleep 5 && systemctl status apache2 | grep Active
Job for apache2.service failed because the control process exited with error 
code. See "systemctl status apache2.service" and "journalctl -xe" for details.

-- 
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

Reply via email to