Change invoke-rc.d to check is-active multi-user.target instead of is-system-running, to match After=multi-user.target. Also, always use --no-block for reload as an additional line of defence for if-up.d/ scripts, as reload has never been synchronous.
** Also affects: init-system-helpers (Ubuntu) Importance: Undecided Status: New ** Also affects: cloud-init (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: init-system-helpers (Ubuntu Xenial) Importance: Undecided Status: New ** Changed in: cloud-init (Ubuntu) Status: Confirmed => In Progress ** Changed in: init-system-helpers (Ubuntu) Importance: Undecided => High ** Changed in: init-system-helpers (Ubuntu) Status: New => In Progress ** Changed in: init-system-helpers (Ubuntu) Assignee: (unassigned) => Martin Pitt (pitti) ** Bug watch added: Debian Bug tracker #777113 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777113 -- 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/1576692 Title: fully support package installation in systemd Status in cloud-init: Confirmed Status in cloud-init package in Ubuntu: In Progress Status in init-system-helpers package in Ubuntu: In Progress Status in cloud-init source package in Xenial: New Status in init-system-helpers source package in Xenial: New Bug description: in cloud-init users can install packages via cloud-config: #cloud-config packages: [apache2] Due to some intricacies of systemd and service installation that doesn't work all that well. We fixed the issue for simple services that do not have any dependencies on other services, or at least don't check those dependencies well under bug 1575572. We'd like to have a way to fully support this in cloud-init. Related bugs: * bug 1575572: apache2 fails to start if installed via cloud config (on Xenial) * bug 1611973: postgresql@9.5-main service not started if postgres installed via cloud-init * bug 1621229: snap upgrade to 2.14.2~16.04 in xenial lxc hangs To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1576692/+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