Bug 1243280

Summary: abrt shows unnecessary logs in journalctl logs
Product: Red Hat Enterprise Linux 7 Reporter: Siteshwar Vashisht <svashisht>
Component: libreportAssignee: Jakub Filak <jfilak>
Status: CLOSED ERRATA QA Contact: Martin Kyral <mkyral>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: jberan, jfilak, jwright, mkyral, rmarko
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: libreport-2.1.11-28.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 14:33:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
don't spit unnecessary debug messages none

Description Siteshwar Vashisht 2015-07-15 07:00:49 UTC
Description of problem:
abrt shows unnecessary logs in journalctl logs :

Jul 13 21:47:36 syslog3 sh: abrt-dump-oops: Found oopses: 1
Jul 13 21:47:36 syslog3 sh: abrt-dump-oops: Creating problem directories
Jul 13 21:47:36 syslog3 sh: abrt-dump-oops: Not going to make dump directories world readable because PrivateReports is on
Jul 13 21:47:36 syslog3 abrt-server: Missing file: time
Jul 13 21:47:36 syslog3 abrt-server: Unlocked '/var/spool/abrt/oops-2015-07-01-03:29:36-4007-0' (no or corrupted 'time' file)
Jul 13 21:47:36 syslog3 abrt-server: Missing file: time
Jul 13 21:47:36 syslog3 abrt-server: Unlocked '/var/spool/abrt/oops-2015-07-01-03:29:36-4007-0' (no or corrupted 'time' file)
Jul 13 21:47:36 syslog3 abrt-server: Missing file: time
Jul 13 21:47:36 syslog3 abrt-server: Unlocked '/var/spool/abrt/oops-2015-07-01-03:29:36-4007-0' (no or corrupted 'time' file)
Jul 13 21:47:36 syslog3 abrt-server: Missing file: time
Jul 13 21:47:36 syslog3 abrt-server: Unlocked '/var/spool/abrt/oops-2015-07-01-03:29:36-4007-0' (no or corrupted 'time' file)
Jul 13 21:47:36 syslog3 abrt-server: Missing file: time
Jul 13 21:47:36 syslog3 abrt-server: Unlocked '/var/spool/abrt/oops-2015-07-01-03:29:36-4007-0' (no or corrupted 'time' file)
Jul 13 21:47:36 syslog3 abrt-server: Missing file: time
Jul 13 21:47:36 syslog3 abrt-server: Unlocked '/var/spool/abrt/oops-2015-07-01-03:29:36-4007-0' (no or corrupted 'time' file)
Jul 13 21:47:36 syslog3 abrt-server: Missing file: time
Jul 13 21:47:36 syslog3 abrt-server: Unlocked '/var/spool/abrt/oops-2015-07-01-03:29:36-4007-0' (no or corrupted 'time' file)
Jul 13 21:47:36 syslog3 abrt-server: Missing file: time
Jul 13 21:47:36 syslog3 abrt-server: Unlocked '/var/spool/abrt/oops-2015-07-01-03:29:36-4007-0' (no or corrupted 'time' file)
Jul 13 21:47:36 syslog3 abrt-server: Missing file: time
Jul 13 21:47:36 syslog3 abrt-server: Unlocked '/var/spool/abrt/oops-2015-07-01-03:29:36-4007-0' (no or corrupted 'time' file)
Jul 13 21:47:36 gpus5 kernel: [2452661.994282] BUG: Bad page map in process sshd  pte:29230000291c pmd:43f651067
Jul 13 21:47:36 gpus5 kernel: [2452661.994282] BUG: Bad page map in process sshd  pte:29230000291c pmd:43f651067
Jul 13 21:47:36 syslog3 abrt-server: Missing file: time
Jul 13 21:47:36 syslog3 abrt-server: Unlocked '/var/spool/abrt/oops-2015-07-01-03:29:36-4007-0' (no or corrupted 'time' file)
Jul 13 21:47:36 syslog3 abrt-server: '/var/spool/abrt/oops-2015-07-01-03:29:36-4007-0' is not a problem directory
Jul 13 21:47:36 syslog3 abrt-server: Missing file: time

Version-Release number of selected component (if applicable):
libreport-2.1.11-23.el7_1.x86_64

How reproducible:
Always


Additional info:
Fixed in upstream through https://github.com/abrt/libreport/commit/9bfb39ab7a7a1aa71726bcae242d483b003869dc

Comment 1 Siteshwar Vashisht 2015-07-15 08:32:43 UTC
Created attachment 1052260 [details]
don't spit unnecessary debug messages

Backported patch from https://github.com/abrt/libreport/commit/9bfb39ab7a7a1aa71726bcae242d483b003869dc

Comment 2 Jakub Filak 2015-07-22 07:31:24 UTC
*** Bug 1245328 has been marked as a duplicate of this bug. ***

Comment 4 Jakub Filak 2015-08-04 17:45:42 UTC
I wrote a new upstream test "meaningful-logs" [1] and the test revealed that the attached patch is not yet included in dist-git (nor cherry-picked to rhel7 upstream branch). The test also showed me that if "type" file does not exist, abrtd prints out 10 "Can't open file 'type': No such file or directory" lines. Hence, I pushed the following upstream patch which needs to be backported to rhel7 too:
https://github.com/abrt/libreport/commit/eb38c73cc3aa81884e74718c6d7f412ea7a94f6f


1: https://github.com/abrt/abrt/blob/master/tests/runtests/meaningful-logs/runtest.sh

Comment 8 errata-xmlrpc 2015-11-19 14:33:44 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2097.html