pyinstaller / pyinstaller/pyinstaller
Can we get a better error message for noexec /tmp?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13.1k
- Forks
- 2k
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 11
Description
Hi! Not sure if this is a pyinstaller bug, or a problem with the way Ubuntu bundles docker-compose. However, pyinstaller seems like the most central place to fix it:
error while loading shared libraries: libz.so.1: failed to map segment from shared object: Operation not permitted
Could we give a more helpful error message here, to remind users of bundled programs that it's about /tmp being mounted noexec?
This issue is intended to improve the experience for users of bundled programs.
#3870 is a related issue, but as I understand it, from the bundle provider's view.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start from the quoted shared-library error and the /tmp noexec condition, then locate where PyInstaller can distinguish this failure from other loading errors. Done means bundled-program users receive a clear diagnostic explaining that /tmp is mounted noexec, with coverage for the reported case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devtools, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100