There are 3 new method available in
org.fedoraproject.SetroubleshootdIface DBUS interface.
All of them were added on request from Cockpit project which uses them for its SELinux troubleshooting feature - http://cockpit-project.org/guide/latest/feature-selinux.html
Sets a filter on an alert. The alert can be
Returns an array of
report_count's of all alerts which a user set to be ignored.
Deletes an alert from the database.
The complete API is documented in
By default when setroubleshootd finishes an analysis of an alert, it logs 2 messages - a summary and a full analysis.
And given that summary already contains a suggestion to use
sealert -l ... command to get a full analysis, the whole analysis could unnecessary flood logs.
setroubleshoot-2.2.26, a user can set in
/etc/setroubleshoot/setroubleshoot.conf that she doesn’t want full analysis in logs:
[setroubleshootd_log] log_full_report = False
Configuration file cleanup
For really long time, the default
setroubleshoot.conf contained several section and directives which were not used anywhere in the code.
As they did nothing they were removed in the latest releases in order not to confuse users.