Bug 1332567 - Ignored RequireAbsolutePath from /etc/abrt/plugins/python.conf
Summary: Ignored RequireAbsolutePath from /etc/abrt/plugins/python.conf
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: abrt
Version: 6.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: abrt
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On: 1166633
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-03 13:26 UTC by Matej Habrnal
Modified: 2017-11-27 12:53 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1166633
Environment:
Last Closed: 2017-11-27 12:53:55 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Matej Habrnal 2016-05-03 13:26:17 UTC
+++ This bug was initially created as a clone of Bug #1166633 +++

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.

--- Additional comment from Jakub Filak on 2014-11-25 10:02:08 EST ---

Upstream commit https://github.com/abrt/abrt/commit/ab6725ef0be311d80391094e446a4e657d7257fd fixes this issue.

--- Additional comment from Matej Habrnal on 2016-05-02 11:00:16 EDT ---

Upstream pull request:
https://github.com/abrt/abrt/pull/1141

Comment 1 Matej Habrnal 2016-05-03 13:46:07 UTC
This upstream commit fixes the issue:
https://github.com/abrt/abrt/commit/61c3922184f8a5c8c29cbb0a67d907a5ab385daf

Related upstream test case:
https://github.com/abrt/abrt/commit/c11e9f46f8314b75f1a55fb6c5c914f0949ed206

Comment 3 Red Hat Bugzilla Rules Engine 2017-11-27 12:53:55 UTC
Development Management has reviewed and declined this request. You may appeal this decision by reopening this request.


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