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

Rootless operation #81

Open
spanezz opened this issue Jan 2, 2023 · 1 comment
Open

Rootless operation #81

spanezz opened this issue Jan 2, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@spanezz
Copy link
Contributor

spanezz commented Jan 2, 2023

It may be possible to run enough containerization without needing root. It's worth at least investigating

@spanezz
Copy link
Contributor Author

spanezz commented Feb 7, 2023

https://wiki.archlinux.org/title/systemd-nspawn#Unprivileged_containers

systemd-nspawn supports unprivileged containers, though the containers need to be booted as root.

systemd/systemd#10680 explains that this can be done using machinectl and systemd-machined, but it still requires polkit configuration, and would need to implement a different way to run tasks in the container

Alternatively, we can add a backend using libvirt, along the lines of debvm, and then run tasks in it with something like mitogen

@spanezz spanezz added the enhancement New feature or request label Feb 7, 2023
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

1 participant