You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS version: Rocky Linux 8.9
Slurm version: 23.11.4
Slurm Mail version: 4.14
Describe the bug
Our slurmctld runs as non-root (SlurmUser=slurm, which is recommended), and we don't want to run slurm-mail as root either, so I changed /var/log/slurm-mail, /var/spool/slurm-mail, and the cron-job to the same owver, but it still complains that the configuration directory is not writable. Why does this need to be writable?
Logs
ERROR:root:Error: /etc/slurm-mail is not writeable
Error: /etc/slurm-mail is not writeable
The text was updated successfully, but these errors were encountered:
@dylex thanks for raising this issue. You are correct that /etc/slurm-mail does not need to be writeable by Slurm-Mail. The issue is due to the checks that the check_dir function is performing.
Versions
OS version: Rocky Linux 8.9
Slurm version: 23.11.4
Slurm Mail version: 4.14
Describe the bug
Our slurmctld runs as non-root (
SlurmUser=slurm
, which is recommended), and we don't want to run slurm-mail as root either, so I changed /var/log/slurm-mail, /var/spool/slurm-mail, and the cron-job to the same owver, but it still complains that the configuration directory is not writable. Why does this need to be writable?Logs
The text was updated successfully, but these errors were encountered: