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

Runtimes mounting /run noexec: make /var/run/s6/services a parameter? #248

Closed
space88man opened this issue Jan 17, 2019 · 1 comment
Closed

Comments

@space88man
Copy link

Not really a bug: just to point out that some runtimes (podman, may be dependent on host OS?) mount /run with the noexec flag preventing /run/s6/services/*/run scripts from starting up.

I noticed that /var/run/s6/services is hardcoded in the init scripts, perhaps one could consider making it a parameter of the container image?

Alternatively, document that scripts are run from /run and that the container should be created with the equivalent of

--tmpfs /run:rw,nosuid,nodev,mode=755

i.e., make sure your runtime doesn't create /run mounted noexec

@space88man
Copy link
Author

Closing: it is documented in the section Read-only Root Filesytem

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

1 participant