New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dnf5 compatibility tracking issue #20260
Comments
Note, the update now exists in Bodhi for testing - https://bodhi.fedoraproject.org/updates/FEDORA-2024-8a41ea93a2 . The openQA tests show that cockpit still pulls in the dnf4 |
I did an initial manual test for this. On our rawhide image:
This became structurally easier, there is now just one When I simulate a timer event with
it still only uploads, so it doesn't really look at that file.
Aha! I moved the file to that place. When I run I also tried to add "reboot = when-needed". My currently available updates include the kernel, and it correctly schedules a reboot after updates. I filed https://bugzilla.redhat.com/show_bug.cgi?id=2279257 about the outdated manpage, and https://bugzilla.redhat.com/show_bug.cgi?id=2279258 about the missing config file. In the latter I also asked how exactly Cockpit is supposed to enable auto-upgrades with dnf5. I'll let the dnf team respond to that first before changing our code. |
DNF 5 changed the systemd timers for dnf-automatic, this commit does not make Cockpit compatible with the new timers and configuration but unbreaks the current TF rawhide tests. Related: cockpit-project#20260
It seems dnf5 now is the default in rawhide and there no longer is an alias to dnf-automatic-install.timer. I've adjusted our tests in a PR so rawhide tests no longer fail. |
Cockpit is not yet compatible with the new DNF 5 automatic plugin. Related: cockpit-project#20260
DNF 5 changed the systemd timers for dnf-automatic, this commit does not make Cockpit compatible with the new timers and configuration but unbreaks the current TF rawhide tests. Related: cockpit-project#20260
Cockpit is not yet compatible with the new DNF 5 automatic plugin. Related: cockpit-project#20260
DNF 5 changed the systemd timers for dnf-automatic, this commit does not make Cockpit compatible with the new timers and configuration but unbreaks the current TF rawhide tests. Related: #20260
Cockpit is not yet compatible with the new DNF 5 automatic plugin. Related: #20260
Split DnfImpl into the old Dnf4Impl and a new Dnf5Impl. The behaviour is too different to handle them in the same class: With dnf4 we are enabling the *-install.timer and have an existing config file, while dnf5 only has a single timer and controls everything else in the config file. Also, there is no default config file with dnf5, so we need a different approach for parsing/updating it. Fixes cockpit-project#20260
Split DnfImpl into the old Dnf4Impl and a new Dnf5Impl. The behaviour is too different to handle them in the same class: With dnf4 we are enabling the *-install.timer and have an existing config file, while dnf5 only has a single timer and controls everything else in the config file. Also, there is no default config file with dnf5, so we need a different approach for parsing/updating it. Fixes cockpit-project#20260
Split DnfImpl into the old Dnf4Impl and a new Dnf5Impl. The behaviour is too different to handle them in the same class: With dnf4 we are enabling the *-install.timer and have an existing config file, while dnf5 only has a single timer and controls everything else in the config file. Also, there is no default config file with dnf5, so we need a different approach for parsing/updating it. Fixes cockpit-project#20260
Split DnfImpl into the old Dnf4Impl and a new Dnf5Impl. The behaviour is too different to handle them in the same class: With dnf4 we are enabling the *-install.timer and have an existing config file, while dnf5 only has a single timer and controls everything else in the config file. Also, there is no default config file with dnf5, so we need a different approach for parsing/updating it. Fixes #20260
There is a Fedora 41 proposal to switch to dnf5 this impacts PackageKit and dnf-automatic. See this proposal.
Impact:
The text was updated successfully, but these errors were encountered: