Bug 1166633
| Summary: | Ignored RequireAbsolutePath from /etc/abrt/plugins/python.conf | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Lukáš Zachar <lzachar> | ||||
| Component: | abrt | Assignee: | Jakub Filak <jfilak> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Martin Kyral <mkyral> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 7.3 | CC: | jberan, jfilak, mhabrnal, mkyral | ||||
| Target Milestone: | rc | Keywords: | EasyFix, Patch | ||||
| Target Release: | 7.3 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| 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-04 03:05:36 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1332567 | ||||||
| Attachments: |
|
||||||
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 |
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.