I would accept a version of this SRU that hard-codes the choice of
upstart as the init system on 14.04, because that is the only init
system supported in that version of Ubuntu.

We can discuss further whether the deput-init systemd package in trusty
needs further changes to not fall afoul of common init system detection
techniques, but I don't think that should block fixing MAAS in this
scenario.

Currently, all the proposed methods of detecting the init system have
corner cases where they break.  Most of these corner cases are
negligible for maas, however.

The one option I know that doesn't have corner cases is to invoke
'/sbin/initctl version' and check its return code.  But I leave it up to
the MAAS team whether to implement this vs. a lighter-weight check.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1732703

Title:
  MAAS does not detect properly if Ubuntu is using upstart/systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1732703/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to