-
Story
-
Resolution: Won't Do
-
Undefined
-
None
-
None
-
None
-
None
-
rhel-upgrades
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
None
Goal
- This RFE comes from an issue seen during an upgrade from RHEL8 to RHEL9:
- After the migration, the sshd_config file appears to be corrupted, and does not work anymore.
- The root cause was that the file was in DOS format (with ^M$)
- It was working in RHEL8, but during the upgrade process, leapp.workflow.Applications.open_ssh_drop_in_directory wrongly adds characters
-
- If python might handled these files correctly, leapp could also print a warning if a file is not is Unix mode
Acceptance criteria
A list of verification conditions, successful functional tests, or expected outcomes in order to declare this story/task successfully completed.
- To confirm the issue, you can use the attach sshd_config file, then process to upgrade
- The file becomes corrupted and sshd daemon will not start anymore
- The requested feature is to add a check to verify that config files (processed by leapp) are in unix mode and suggest to convert them with dos2unix
- Verify Z