Comment 3 for bug 1787225

Andreas Hasenack (ahasenack) wrote :

Thanks for filing this bug in Ubuntu.

I just repeated your steps on a xenial lxd, using apache2 2.4.18-2ubuntu3.10, and after rebooting the container, apache2 was not started. I got the same warnings that you did, however.

Furthermore, status also shows it's inactive after the reboot:
$ systemctl status apache2
● apache2.service - LSB: Apache2 web server
   Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
  Drop-In: /lib/systemd/system/apache2.service.d
           └─apache2-systemd.conf
   Active: inactive (dead)
     Docs: man:systemd-sysv-generator(8)

Could you please try the above status command after you reboot, see what it says? Maybe you have something else starting apache, or requiring it perhaps?