Closed dperpeet closed 8 years ago
yellow level is considered to be default however the code doesn't really look right. I'll prepare a fix for it. Thanks for the report.
How to generate a green alert:
# chcon -t admin_home_t /etc/ssh/ssh_host_ecdsa_key
# systemctl restart sshd
You need to restore the label back when you are finished:
# restorecon -R -v /etc/ssh
setroubleshoot-3.3.5-0.1
builds with the fix will be available for f23, f24 and rawhide in https://copr.fedorainfracloud.org/coprs/plautrba/setroubleshoot/ soon
It works as expected. I am able to see
string "green"
Great.
Looking forward to see it in Cockpit.
I think this is currently hardcoded in setroubleshoot/server.py#L116 Besides making this info available in the details as well, I think this should be fixed to reflect the level of the alert.