Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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