Pitti, in reponse to comment 5 above: > > d.) output of runlevel is stored in RL and then it goes looking for an > > SLINK or SSLINK (/etc/rc$RL.d/S??apache2 or /etc/rcS.d/S??apache2). Neither > > of these exist so it exits without starting the service.
> To be sure we are talking about the same thing: Surely update-rc.d should run > before invoke-rc.d in the postinst, so the links should exist in rc[2345].d/. > This is solely about $RL having the wrong value here, not about the links not > existing at all, right? Yes, the links are present and that is functional. but if RL=unknown, then there is no file /etc/rcunknown.d/S??apache2. My statement wasn't terribly clear. If RL=5 all would be good. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1575572 Title: apache2 fails to start if installed via cloud config (on Xenial) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1575572/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs