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

feat: add the _daemon_ user for non-privileged services #44

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

jedel1043
Copy link
Contributor

Allows running slurmrestd using the unprivileged user _daemon_.

@jedel1043 jedel1043 marked this pull request as ready for review July 25, 2024 19:03
@jedel1043 jedel1043 force-pushed the daemon-user branch 2 times, most recently from 277fdf3 to b3b15e2 Compare July 25, 2024 19:05
@NucciTheBoss NucciTheBoss self-requested a review July 25, 2024 19:13
@NucciTheBoss NucciTheBoss added the bug Something isn't working label Jul 25, 2024
Copy link
Member

@NucciTheBoss NucciTheBoss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great as this partially addresses #40 🤩

Just two minor suggestions, but other than that I think this is good for unblocking COS on the experimental branch.

[Side note]: The reason this partially addresses issue 40 is because we still need to create users for the other Slurm daemons since it's also encouraged to not run them as root but instead a dedicated SlurmUser. Ideally we can use _daemon_ for them, but we'll still need to create a separate user for slurmrestd since slurmrestd can run as neither root or SlurmUser ☹️

overlays/sbin/slurmrestd.wrapper Outdated Show resolved Hide resolved
snap/snapcraft.yaml Outdated Show resolved Hide resolved
Copy link
Member

@NucciTheBoss NucciTheBoss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ship it ⛵

@NucciTheBoss NucciTheBoss merged commit f4567b4 into charmed-hpc:main Jul 25, 2024
4 checks passed
@jedel1043 jedel1043 deleted the daemon-user branch July 25, 2024 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants