Bug 1071573 - setroubleshoot spams system log
Summary: setroubleshoot spams system log
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: setroubleshoot
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-01 20:17 UTC by Elad Alfassa
Modified: 2015-04-07 10:05 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-04-07 10:05:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
setroubleshoot logspam example (112.21 KB, text/plain)
2014-03-01 20:17 UTC, Elad Alfassa
no flags Details

Description Elad Alfassa 2014-03-01 20:17:58 UTC
Created attachment 869495 [details]
setroubleshoot logspam example

Every time there's an AVC, every time I click on setroubleshoot, many many lines spam my system log.

I understand logs makes it easier to debug, but this amount of logging is (for a lack of a nicer word) unacceptable. This verboisty is a "debug" level and should not be used by default. Please either stop spamming the system log, or at least disable this by default (add a --debug flag or something).

This amount of output in the system log makes it harder to debug other applications, and makes the log almost unreadble, hiding informative data in a huge pile of setroubleshoot debugging data (which is not useful unless you are actually debugging setroubleshoot).

Comment 1 Daniel Walsh 2014-03-03 16:38:06 UTC
I believe these are at debug level.  I am not seeing these messages in my log files.  Are you certain you have not turned on syslog to log debug messages?

Comment 2 Elad Alfassa 2014-03-03 16:40:28 UTC
I don't have syslog here, only systemd-journald with the default settings.

Comment 3 Daniel Walsh 2014-03-16 22:26:17 UTC
If systemd-journald takes all debug messages from syslog, I am not sure what I need to do.

Comment 4 Elad Alfassa 2014-03-21 13:44:40 UTC
I'd say don't output any debug messages unless a debug flag is set.

Comment 5 Jaroslav Reznik 2015-03-03 15:32:24 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 6 Petr Lautrbach 2015-04-07 10:05:19 UTC
I believe that this is fixed in setroubleshoot-3.2.18-1, upstream commit https://github.com/fedora-selinux/setroubleshoot/commit/37d80af2f97917191d73f82011af7cdf33e58d40


Note You need to log in before you can comment on or make changes to this bug.