-
Bug
-
Resolution: Unresolved
-
Normal
-
rhel-9.8
RHEL 10 introduces changes in SSH & SSSD - replacing sss_ssh_knownhostsproxy by sss_ssh_knownhosts which triggers need for an update of sssd and ssh configuration files if used.
This has been implemented in the past for IPU 9.7 -> 10.1 here: https://github.com/oamg/leapp-repository/pull/1397
The overal solution is good, but in case of unexpected corner cases it can raise an error, which can block application of some additional system changes / fixes that need to be performed as well. manual fixing of the system can be then harder than in case of just one broken component - even when we speak in this case about lost SSH.
Apply changes mentioned in the PR which has been planned to be delivered separately. Namely:
- replace raise of errors by logging - post upgrade report could be created as well.
- if the temporary file already exists, just rewrite it. In case you want to be sure the file could exists only in relation to leapp upgrades, use the `.leappsave` suffix instead of `.old` - and analogically `.leappnew` instead of `.new`.