The debian/rules diff looks weird, and the changelog does not explicitly
mention it:

 %:
-       dh $@
+       dh $@ --with systemd
+
+override_dh_installinit:
+       dh_systemd_enable -popenstack --name=openstack openstack.service
+       dh_installinit -popenstack --no-start --noscripts
+       dh_systemd_start -popenstack --no-restart-on-upgrade
+
+override_dh_systemd_start:
+       echo "Not running dh_systemd_start"

This second-guesses debhelper's automatic ordering of which dh_*
commands to call at what time (although this order here is correct). But
it's still bad/brittle/confusing style to have an explicit override to
disable dh_systemd_start and then call it in a *different* rule. Also,
like that dh_systemd_enable will be called twice, once in dh_installinit
and another one through the auto-generated one via "dh --with systemd".
Finally, the dh_installinit call looks like a no-op, what does that do?

What does not work if you drop both overrides and simply do "dh $@
--with systemd"?

** Changed in: openstack (Ubuntu Xenial)
       Status: New => Incomplete

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

Title:
  package does not use released charms

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openstack/+bug/1576412/+subscriptions

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

Reply via email to