Skip to content

Add rhel 8 to helper and selinux files

John Long requested to merge john_long-add-support-for-rhel-8-db-key-lookup into master

What does this MR do?

Currently, lookup of SSH keys in the database, when using fast ssh key lookup, fails for RHEL 8 based linux distributions when SE linux is enforcing.

This was previously fixed for RHEL 7 based distributions in MR !2229 (merged).

This MR adds RHEL 8 checks to add SELinux rules to make authorized_keys to function when looking up in the database.

Related issues

Checklist

See Definition of done.

  • Changelog entry created. Not applicable for Documentation changes and minor changes.
  • Documentation created/updated
  • Tests added
  • Integration tests added to GitLab QA, if applicable
  • MR targeting master branch
  • MR has a green pipeline on GitLab.com
  • Equivalent MR/issue for CNG opened if applicable
  • trigger-package has a green pipeline running against latest commit

Reviewer Checklist

In addition to above, reviewer must:

  • Pipeline is green on dev.gitlab.org if the change is not touching documentation or internal cookbooks

gitlab#236009 (closed)

Edited by John Long

Merge request reports