Red Hat Bugzilla – Bug 1166633
Ignored RequireAbsolutePath from /etc/abrt/plugins/python.conf
Last modified: 2016-11-03 23:05:36 EDT
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.
Upstream commit https://github.com/abrt/abrt/commit/ab6725ef0be311d80391094e446a4e657d7257fd fixes this issue.
Upstream pull request: https://github.com/abrt/abrt/pull/1141
Created attachment 1153722 [details] Patch 1/1: python: fix check for absolute path
Related testcase: https://github.com/abrt/abrt/pull/1141/commits/c11e9f46f8314b75f1a55fb6c5c914f0949ed206
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