Moving unbound-anchor to a separate package resulted in this after an unbound-libs upgrade: Jul 26 00:00:00 systemd[1]: Starting unbound-anchor.service - update of the root trust anchor for DNSSEC validation in unbound... Jul 26 00:00:00 systemd[146323]: unbound-anchor.service: Failed to locate executable /usr/sbin/unbound-anchor: No such file or directory Jul 26 00:00:00 systemd[146323]: unbound-anchor.service: Failed at step EXEC spawning /usr/sbin/unbound-anchor: No such file or directory Jul 26 00:00:00 systemd[1]: unbound-anchor.service: Main process exited, code=exited, status=203/EXEC Jul 26 00:00:00 systemd[1]: unbound-anchor.service: Failed with result 'exit-code'. Jul 26 00:00:00 systemd[1]: Failed to start unbound-anchor.service - update of the root trust anchor for DNSSEC validation in unbound. The move itself is fine: unbound-libs is only installed here by way of a dependency, isn't actually used, and thus updating the trust anchor was a complete waste of time. However, the repackaging didn't account for unbound-libs upgrades, leaving at least /etc/systemd/system/timers.target.wants/unbound-anchor.timer behind, and systemd awfully confused.
Oh. Okay, I think unbound-anchor.timer should be included in %post scriptlet. And also new package unbound-anchor should be installed on upgrade unless supressed by ignoring recommended packages.
FEDORA-2022-0f353c3ceb has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-0f353c3ceb
FEDORA-2022-4eafb962d6 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-4eafb962d6
I am not sure it fixed all combinations, but it should have improved upgrade from version without separate unbound-anchor. There were forgotten trigger in unbound-libs, which should not have been there. That was moved to unbound-anchor, where it belongs. When I tested it, it reported one line error on upgrading to the new unbound-libs. I am not sure there is a good %systemd_* macro for such condition. It leaves units in deactivated, dead state. Visible by: $ systemctl list-units unbound-anchor.{service,timer} It seems enabled link is now properly deactivated on upgrade without the anchor.
FEDORA-2022-0f353c3ceb has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-0f353c3ceb` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-0f353c3ceb See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-4eafb962d6 has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-4eafb962d6` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-4eafb962d6 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-4eafb962d6 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-0f353c3ceb has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.