[Bug/_AptManager]: StateSaveLocation
file permissions are too restrictive
#49
Labels
bug
Something isn't working
StateSaveLocation
file permissions are too restrictive
#49
The
slurmctld
service gets all busted and disgusted when starting up after install because the set permissions on theStateSaveLocation
are too restrictive. The current permissions are0o600
which means that only the userslurm
can read/write to the directory:hpc-libs/lib/charms/hpc_libs/v0/slurm_ops.py
Line 486 in fda80b3
However, when we try to start the
slurmctld
service viasystemctl
, it fails with the error message below:It looks that by slightly "loosening" the permissions to be
0o700
where theslurm
user can read, write, and execute fromStateSaveLocation
is the preferred file permission mode. Looking at theslurmd
package, it creates acheckpoint
directory with the permissions set to0o755
, so it looks like this is what the preferred file permission mode is forStateSaveLocation
.The text was updated successfully, but these errors were encountered: