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 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:
Embargoed:


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.