-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor and improve policy fixing up SELinux context on FR SSH files
We need to make sure both `semanage fcontext -a` and `restorecon` are done before we run `ssh-keygen`. Otherwise `ssh-keygen` may be blocked by SELinux when trying to save/write the generated key at first and only succeeds in a later agent run. Ticket: ENT-11136 Changelog: Federated reporting policy fixes SELinux context of the ~cftransport/.ssh directory and its contents in a single agent run. (cherry picked from commit ff392a9)
- Loading branch information
1 parent
685dff2
commit 31c8521
Showing
1 changed file
with
74 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters