Make slurmrestd deb package create slurmrestd
system user rather than slurm_ops
#39
Labels
enhancement
New feature or request
Per the
slurmrestd
manpage, the slurmrestd daemon cannot run asroot
or SlurmUser. This isn't an issue for the Slurm snap as we can create a dedicated user in theinstall
hook, but this a problem for the Slurm Debian package as it does not create a dedicated user for slurmrestd; it only creates aslurm
system user.We can circumvent this issue by creating the user ourselves with
slurm_ops
using the following block of code:However, this quick fix should really be upstreamed into the Debian package since not everyone using
slurmrestd
on Debian/Ubuntu is using theslurm_ops
charm library.The text was updated successfully, but these errors were encountered: