Workaround for dh_installsystemd issue #994204

This is an alternative version of !132 (closed) intended as a temporary workaround until either #994204 is addressed via a debhelper upload or I manage to finish my implementation of systemd handling.

Significant changes from the original implementation are:

  • the maintainer script contents are kept as close as possible to the actual output of dh_installsystemd, making me more confident that we're not introducing any new issues;
  • libvirtd's sockets are no longer getting restarted;
  • dh_installsystemd usage is removed completely instead of going for a hybrid solution.

I have tried upgrading from 8.0.0-1 to a build made from this branch and a running VM survived it, which is not the case when using dh_installsystemd 13.6.

Merge request reports

Loading