Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

note in documentation another trigger for "Cannot allocate write+execute memory": systemd #73

Closed
fche opened this issue Apr 23, 2024 · 1 comment

Comments

@fche
Copy link

fche commented Apr 23, 2024

The readthedocs page that this write+execute callbacks message links people to mentions only selinux and a couple of other settings that can be responsible for this. One that I just came across today was different from these. On modern linux, systemd can install syscall filtering rules on services it supervises. The MemoryDenyWriteExecute= setting in systemd.exec(5) defaults on, and can quietly block this.

Please consider mentioning systemd and that setting on the readthedocs page.

@arigo
Copy link
Contributor

arigo commented Apr 24, 2024

Thanks! I've added a note to that page (pull #74). The readthedocs site might update now or later, I'm not sure.

@arigo arigo closed this as completed Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants