Add new Leapp actor to preinstall gnome-settings-daemon-server-defaults on "Server with GUI" el9 -> el10 upgrades#1506
Conversation
…ts on "Server with GUI" el9 -> el10 upgrades Prior to RHEL 10 we didn't have a way to enforce some of the desktop environment changes to be only Server specific (such as disabling the power button handling or disabling automatic suspendand) hence we had to enable everything for everyone. In RHEL 10 we've added a new subpackage of gnome-settings-daemon, the gnome-settings-daemon-server-defaults which is only preinstalled on "Server with GUI" product and on nothing else. But this only works for clean installations as the comps groups are not synced when doing the upgrades with Leapp. To fix that we've created this Leapp actor which will detect if the graphical-server-environment comps group was installed and only in the case it will preinstall the server-defaults subpackage. Developed by Claude Code. Resolves: RHEL-148697
Thank you for contributing to the Leapp project!Please note that every PR needs to comply with the leapp-repository contribution and development guidelines and must pass all tests in order to be mergeable.
Packit will automatically schedule regression tests for this PR's build and latest upstream leapp build.
Note that first time contributors cannot run tests automatically - they need to be started by a reviewer. It is possible to schedule specific on-demand tests as well. Currently 2 test sets are supported,
See other labels for particular jobs defined in the Please open ticket in case you experience technical problem with the CI. (RH internal only) Note: In case there are problems with tests not being triggered automatically on new PR/commit or pending for a long time, please contact leapp-infra. |
pirat89
left a comment
There was a problem hiding this comment.
Discussed over slack. Current implementation seems to be working, however we do not allow interraction with the system during checksphase. Also I think that it makes sense to scan information about installed comps, so I decided to implement that part. However, current design (mainly common dnf-related libraries) seems to be a little bit not-ideal for that purposes. So I plan to do the groundwork in #1507 - once the PR is merged, we can updated this one.
Prior to RHEL 10 we didn't have a way to enforce some of the desktop environment changes to be only Server specific (such as disabling the power button handling or disabling automatic suspendand) hence we had to enable everything for everyone. In RHEL 10 we've added a new subpackage of gnome-settings-daemon, the gnome-settings-daemon-server-defaults which is only preinstalled on "Server with GUI" product and on nothing else. But this only works for clean installations as the comps groups are not synced when doing the upgrades with Leapp. To fix that we've created this Leapp actor which will detect if the graphical-server-environment comps group was installed and only in the case it will preinstall the server-defaults subpackage.
Developed by Claude Code.
Jira: RHEL-148697