Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1980763

Summary: Leapp does not recognize 'ShowPatchLevel no' in /etc/ssh/sshd_config as inhibitor, which will break sshd in RHEL8
Product: Red Hat Enterprise Linux 7 Reporter: sgardner
Component: leapp-repositoryAssignee: Michal Hečko <mhecko>
Status: CLOSED ERRATA QA Contact: Martin Klusoň <mkluson>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.9CC: fkrska, mhecko, mkluson, peter.vreman, pstodulk, sgardner
Target Milestone: rcKeywords: Extras, FutureFeature, Upgrades
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: leapp-repository-0.15.0-1.el7_9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-10 09:13:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1818077, 1818088    

Description sgardner 2021-07-09 13:26:00 UTC
Description of problem:

- Having configuration 'ShowPatchLevel no' in  /etc/ssh/sshd_config will break sshd in RHEL8.
- This should be an inhibitor for the leapp upgrade process


How reproducible:
- EASY - Every Time

Reproducer:
~~~
1. Add 'ShowPatchLevel no' to /etc/ssh/sshd_config
2. complete leapp preupgrade  (no mention of configuration issue)
3. Complete leapp upgrade to RHEl8.4  (no inhibitor)


Actual results:
- not recognized as an issue.
- Once booted into RHEL8, sshd will fail due to deprecated configuration.


Expected results:
- Leapp to identify this configuration as an inhibitor - similar to other sshd inhibitors.

Comment 14 Petr Stodulka 2021-10-20 13:23:27 UTC
The check / inhibitor has been implemented and merged in the upstream:
  https://github.com/oamg/leapp-repository/pull/695

It's going to be part of the next release.

Comment 28 errata-xmlrpc 2021-11-10 09:13:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (leapp, leapp-repository, and cockpit-leapp bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:4603