Add non-invasive option to disable python3-apport site customization?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apport |
New
|
Undecided
|
Unassigned |
Bug Description
I was helping a colleague debug something, and found that `python3-apport` was intercepting a `dlopen` error, and turning it into a segfault.
I then disabled the customization as I indicated here: https:/
(TL;DR I removed `/etc/python3.
Ideally, could there be a better way to disable the Python hook, even if just locally?
Ideas / Suggestions:
- The Python code perhaps does a *quick* file of apport settings to see if apport is enabled? (may be too slow)
- The Python code briefly checks for the existence of some file, e.g. `/etc/python3.
- The Python code briefly checks for an environment variable?
- Stick with just manually disabling `sitecustomize.py`, and add that to documentation somewhere?
Thanks!