You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.
Previously, the `selinux_verify` role would fail with a generic
message about finding a file or process that had an incorrect SELinux
label. This caused additional work for anyone doing triage of the
tests and made folks unhappy.
This change alters how the role reports any instances of incorrect
SELinux labels. The files/directories/processes are saved into a list
which can then be read out later as part of a failure message.
This should result in last failure message to include the relevant
details of the files/processes and negate the need to dig through the
logs further during triage.
Closesprojectatomic#260
Previously, the `selinux_verify` role would fail with a generic
message about finding a file or process that had an incorrect SELinux
label. This caused additional work for anyone doing triage of the
tests and made folks unhappy.
This change alters how the role reports any instances of incorrect
SELinux labels. The files/directories/processes are saved into a list
which can then be read out later as part of a failure message.
This should result in last failure message to include the relevant
details of the files/processes and negate the need to dig through the
logs further during triage.
Closesprojectatomic#260
* selinux_verify: log any files/procs with incorrect SELinux labels
Previously, the `selinux_verify` role would fail with a generic
message about finding a file or process that had an incorrect SELinux
label. This caused additional work for anyone doing triage of the
tests and made folks unhappy.
This change alters how the role reports any instances of incorrect
SELinux labels. The files/directories/processes are saved into a list
which can then be read out later as part of a failure message.
This should result in last failure message to include the relevant
details of the files/processes and negate the need to dig through the
logs further during triage.
Closes#260
* fixup! selinux_verify: log any files/procs with incorrect SELinux labels
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In the
selinux_verify
role, we just output:The file /var had an SELinux label of 'unlabeled_t'
But we should be able to print out any and all files/subdirs that match by just saving off the stdout and printing it in the
fail:
statementSee also #239 and #253
The text was updated successfully, but these errors were encountered: