I've now opened a merge request with debhelper upstream incorporating my proposed fix [1] and I've added the fix to our proposed merge of debhelper in LP: #1960248. Test packages are built in [2] -- anybody affected by this is encouraged to test by build their packages with this PPA as an "extra" repo, e.g.:
$ sbuild --extra-repository="deb [trusted=yes] https://ppa.launchpadcontent.net/waveform/dh-merge/ubuntu jammy main" ... Then test that upgrades either stop & start (or don't!) as expected. I've checked the generated maintscripts *look* fine in several cases, but I've only managed to test actual upgrade behaviour of one case so much more is needed, so a lot more scrutiny is definitely warranted! [1]: https://salsa.debian.org/debian/debhelper/-/merge_requests/61 [2]: https://launchpad.net/~waveform/+archive/ubuntu/dh-merge -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1959054 Title: debhelper restarts services marked --no-restart-on-upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debhelper/+bug/1959054/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs