Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1166633 - Ignored RequireAbsolutePath from /etc/abrt/plugins/python.conf
Ignored RequireAbsolutePath from /etc/abrt/plugins/python.conf
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: abrt (Show other bugs)
7.3
Unspecified Unspecified
unspecified Severity unspecified
: rc
: 7.3
Assigned To: Jakub Filak
Martin Kyral
: EasyFix, Patch
Depends On:
Blocks: 1332567
  Show dependency treegraph
 
Reported: 2014-11-21 06:35 EST by Lukas Zachar
Modified: 2016-11-03 23:05 EDT (History)
4 users (show)

See Also:
Fixed In Version: abrt-2.1.11-39.el7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1332567 (view as bug list)
Environment:
Last Closed: 2016-11-03 23:05:36 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch 1/1: python: fix check for absolute path (1.54 KB, patch)
2016-05-04 03:26 EDT, Matej Habrnal
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2307 normal SHIPPED_LIVE abrt, gnome-abrt, and libreport bug fix and enhancement update 2016-11-03 09:40:24 EDT

  None (edit)
Description Lukas Zachar 2014-11-21 06:35:22 EST
Description of problem:

Changes in  /etc/abrt/plugins/python.conf are not processed properly, 
thus one cannot configure "RequireAbsolutePath" option (it is the only option there ATM). 

Thus python scripts executed with relatalive path cannot not processed by abrt.


Version-Release number of selected component (if applicable):
abrt-addon-python-2.1.11-12.el7


How reproducible:
always

Steps to Reproduce:
1. in /etc/abrt/abrt-action-save-package-data.conf set ProcessUnpackaged = yes
2. in /etc/abrt/plugins/python.conf set RequireAbsolutePath = no (or 0)
3. run ./demo.py

Actual results:
no problem in abrt-cli ls

Expected results:
id XZZZZZZZZZZZZZZ
reason:         invalid syntax (demo.py, line 2)

Additional info:
$ cat demo.py
#!/usr/bin/python
print('whatever'):

Problem is in implementation of conf_enabled in abrt_exception_handler.py.
Comment 1 Jakub Filak 2014-11-25 10:02:08 EST
Upstream commit https://github.com/abrt/abrt/commit/ab6725ef0be311d80391094e446a4e657d7257fd fixes this issue.
Comment 2 Matej Habrnal 2016-05-02 11:00:16 EDT
Upstream pull request:
https://github.com/abrt/abrt/pull/1141
Comment 4 Matej Habrnal 2016-05-04 03:26:36 EDT
Created attachment 1153722 [details]
Patch 1/1: python: fix check for absolute path
Comment 8 errata-xmlrpc 2016-11-03 23:05:36 EDT
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-2016-2307.html

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