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

Add possibility to use systemdspawner as non-root #99

Open
Frank-Steiner opened this issue Nov 19, 2022 · 4 comments
Open

Add possibility to use systemdspawner as non-root #99

Frank-Steiner opened this issue Nov 19, 2022 · 4 comments

Comments

@Frank-Steiner
Copy link

Hi,
is there any chance to add sth. like the nonrootv2 feature to systemdspawner?

Being able to have juypterhub run as non-root is the only reason for the sudo spawner, which misses all the config options that systemdspawner has. The mechanism in Joergs nonrootv2 tree adds a very systemd'ish way to use per-user service file instances.

Have you considered adding this? Would be great to have systemdspawner + non-root...
cu,
Frank

@welcome
Copy link

welcome bot commented Nov 19, 2022

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@behrmann
Copy link
Contributor

Interesting you should mention that. I've recently deployed JupyterHub again and in the course redid some of the stuff around my earlier branch for running JupyterHub without root. I wanted to clean up the history and open a PR for that next week, closing the old one. Alternatively I'm considering a friendly fork under a different name, since I've added named servers and intend to add a few more features, but I'm also using newer systemd features like the credentials mechanism.

@Frank-Steiner
Copy link
Author

Would be great to either have it added to the default systemdspawner or have some other spawner that could be installed as easy as the others ones like "pip install jupyterhub-systemdnonrootspawner". Looking forward to testing whatever you come up with :)

@behrmann
Copy link
Contributor

@Frank-Steiner it's not much, but I opened #100 to start a discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants