Bug 1990947

Summary: sshd: failed to validate: error:Missing Match criteria for all Bad Match condition
Product: Red Hat Enterprise Linux 8 Reporter: David Jež <djez>
Component: rhel-system-rolesAssignee: Jakub Jelen <jjelen>
Status: CLOSED ERRATA QA Contact: David Jež <djez>
Severity: unspecified Docs Contact: Eliane Ramos Pereira <elpereir>
Priority: unspecified    
Version: 8.5CC: elpereir, jharuda, nhosoi, rmeggins, spetrosi
Target Milestone: betaKeywords: Triaged
Target Release: 8.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: role:sshd
Fixed In Version: rhel-system-roles-1.7.1-1.el8 Doc Type: Bug Fix
Doc Text:
.`sshd` role no longer fails to start with the installed `sshd_config` file on the RHEL6 host. Previously, when a managed node was running RHEL6, the version of OpenSSH did not support "Match all" in the Match criteria, which was added by the install task. As a consequence, `sshd` failed to start with the installed `sshd_config` file on the RHEL6 host. This update fixes the issue by replacing "Match all" with "Match address *" for the RHEL6 `sshd_config` configuration file, as the criteria is supported in the version of OpenSSH. As a result, the `sshd` RHEL System Role successfully starts with the installed `sshd_config` file on the RHEL6 host.
Story Points: ---
Clone Of:
: 1991598 (view as bug list) Environment:
Last Closed: 2021-11-09 17:46:07 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: 1991598    

Comment 1 Jakub Jelen 2021-08-09 08:14:18 UTC
Implemented workaround in attached upstream PR.

Comment 11 errata-xmlrpc 2021-11-09 17:46:07 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 (rhel-system-roles 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:4159