This commit fixes the bogus "runlevel fails" check: http://anonscm.debian.org/cgit/collab-maint/init-system- helpers.git/commit/?id=2c444f0cd . It does modify behaviour during early boot, but I think this is a correct change; nevertheless I would *not* want to SRU this, as this check has been broken forever, and thus invoke-rc.d happily started stuff in early boot (i. e. during rcS in SysV terms, before sysinit.target in systemd terms).
This is an SRUable bandaid for the main bug here: http://anonscm.debian.org/cgit/collab-maint/init-system- helpers.git/commit/?id=161b76221 . Indeed it would be nicer to fix that in systemd itself, but as I explained above this will be a lot more intrusive and much less adequate for an SRU. ** Changed in: init-system-helpers (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to init-system-helpers in Ubuntu. https://bugs.launchpad.net/bugs/1575572 Title: apache2 fails to start if installed via cloud config (on Xenial) Status in init-system-helpers package in Ubuntu: Fix Committed Status in systemd package in Ubuntu: Won't Fix Status in init-system-helpers source package in Xenial: Triaged Status in systemd source package in Xenial: Won't Fix Bug description: Using the following cloud config, apache2 will fail to start on installation on Xenial: #cloud-config packages: - apache2 See for example: $ gcloud compute instances create xenial-$(date +%y%m%d-%H%M) --image ubuntu-1604-xenial-v20160420c --image-project ubuntu-os-cloud --metadata-from-file user-data=cloud-config NAME ZONE MACHINE_TYPE PREEMPTIBLE INTERNAL_IP EXTERNAL_IP STATUS xenial-160427-1050 europe-west1-d n1-standard-1 10.240.0.7 104.155.86.94 RUNNING $ ssh ubuntu@104.155.86.94 systemctl status apache2.service ● 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) Related Bugs: * bug 1576692: [cloud-init] fully support package installation in systemd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/init-system-helpers/+bug/1575572/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp