python3 fails with "Operation not permitted" (exit 126) on arm64 (Raspberry Pi 5) — confirmed not host-related
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- docker, linux, python
- Domain
- backend, infrastructure
Research direction
Start by reading the container startup path at /entrypoint.d/15-mounts.py and examining how the image bundles and invokes python3; compare its behavior on arm64 with the reported working Python images. The issue provides extensive environment checks but no reproduction steps or logs, so first establish a reproducible test. Done means the NetAlertX container starts successfully on the Raspberry Pi 5 without the permission error.
Written by the indexing model from the issue text.
Description
What installation are you running?
Production (netalertx) 📦
Is there an existing issue for this?
- I have searched the existing open and closed issues and I checked the docs https://docs.netalertx.com/
The issue occurs in the following browsers. Select at least 2.
- Firefox
- Chrome
- Edge
- Safari (unsupported) - PRs welcome
- N/A - This is an issue with the backend
Current Behavior
Environment: Raspberry Pi 5, Debian 12 (Bookworm), aarch64, Docker 29.6.1, containerd 2.2.5, runc 1.3.6, overlay2/extfs storage
Issue: Container fails at /entrypoint.d/15-mounts.py with env: can't execute 'python3': Operation not permitted, on both :latest and :26.3.7.
Ruled out (with evidence):
Privilege drop / PUID — fails identically running fully as root (PUID=0)
AppArmor — disabled at kernel level (aa-status: not mounted)
Seccomp — fails identically with --security-opt seccomp=unconfined
Rootless Docker — confirmed standard rootful daemon, cgroup v2/systemd
Docker storage — overlay2/extfs, no noexec, confirmed via findmnt
binfmt_misc — disabled the host's python3.11 handler, no change
systemd hardening on docker/containerd — fully open (no NoNewPrivileges, full CapabilityBoundingSet)
Host-wide exec — ruled out entirely: python:3.12-slim and alpine:latest both run perfectly on the same host
Conclusion: appears isolated to the netalertx image's bundled Python binary/build itself.
Expected Behavior
not failing to start
Steps To Reproduce
No response
Relevant app.conf settings
docker-compose.yml
Debug or Trace enabled
- I have read and followed the steps in the wiki link above and provided the required debug logs and the log section covers the time when the issue occurs.
Relevant app.log section
PASTE LOG HERE. Using the triple backticks preserves format.
Docker Logs
PASTE DOCKER LOG HERE. Using the triple backticks preserves format.
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 456
- Avg merge
- 16h 25m
- Merged PRs (30d)
- 30
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from netalertx/NetAlertX
-
Docker 🐋
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
bug 🐛 Contributors 🙏 help wanted 🆘
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
bug 🐛 next release/in dev image 🚀 Waiting for reply⏳
Difficulty 3/5 Half a day Newbie friendliness 57/100
netalertx/NetAlertX#1852 · 1 comment ·
Maintainers usually reply within 1 day
-
bug 🐛 next release/in dev image 🚀 Waiting for reply⏳
Difficulty 4/5 3-5 days Newbie friendliness 48/100
netalertx/NetAlertX#1831 · 2 comments ·
Maintainers usually reply within 1 day
-
Feature request ➕ please feedback 💬
Difficulty 5/5 Over a week Newbie friendliness 45/100
netalertx/NetAlertX#1827 · 1 comment ·
Maintainers usually reply within 1 day
All issues in netalertx/NetAlertX
Similar issues
-
intake mcp-intake needs-ac needs-human-review priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Ikalus1988/MisakaNet#3848 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
521xueweihan/HelloGitHub#4105 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
igormcsouza/bookloud#54 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
aws-samples/sample-per-model-bedrock#526 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ok-oldking/ok-wuthering-waves#1802 ·
Maintainers usually reply within 2 days