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

Investigate new USER mechanism in s6 #16

Open
tribut opened this issue Oct 31, 2020 · 1 comment
Open

Investigate new USER mechanism in s6 #16

tribut opened this issue Oct 31, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@tribut
Copy link
Owner

tribut commented Oct 31, 2020

s6 recently added support for dropping permissions using Docker's USER directive(just-containers/s6-overlay#19 (comment)).
This could reduce complexity for our script substantially (to pre-0.107 levels) and might be a lot cleaner.
Upstream documentation is here: https://github.com/just-containers/s6-overlay#user-directive

@tribut tribut added the enhancement New feature or request label Oct 31, 2020
@mhoran
Copy link

mhoran commented Sep 7, 2023

I've been testing out Podman recently and Home Assistant seems to run just fine with the --userns=keep-id flag. This runs the container with my host user ID, which would be equivalent to a Dockerfile USER. Of course, my user doesn't have access to install Python packages since the Python installation directory is owned by root, so it'd be great to see this script updated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants