Comment 11 for bug 1840347

Eric Desrochers (slashd) wrote :

By default compat 10

--restart-after-upgrade seems to be the default in compat 10.
Which explain why the behaviour observed are different between upstream (dh 9) & Ubuntu (dh 10)
(I build the Ubuntu ceph package with dh 9, and there is no trace of restart action)

It's definitely a change of behaviour cause with the introduction of dh 10 in the Ceph package.

* dh_systemd_start should be run after dh_installinit, as it is right now it is running inside dh_installinit.

* --no-restart-on-upgrade still works, but deprecated, to avoid confusion a new alias has been created: --no-stop-on-upgrade

* I think the source package may need both : --no-stop-on-upgrade --no-restart-after-upgrade in order to hopefully stop restarting.

This is where I am at the moment.

- Eric