Created attachment 3604 [details] slurmctld.service patch for adding requirements The RPM slurm-16.05.5-1.el7.centos.x86_64 file /usr/lib/systemd/system/slurmctld.service makes slurmctld start After=network.target. However, the Munge and slurmdbd (in case you run the database) services are also required: After=network.target slurmdbd.service munge.service Patch attached. Local custumization may actually be done by: # cp /usr/lib/systemd/system/slurmctld.service /etc/systemd/system/ and changing the above line.
Thank you for your contribution. I modified all of the service files to not start Slurm daemons until after Munge is running. I did not modify the slurmctld service file to start after slurmdbd. At most sites, the slurmdbd is running on a different computer (providing support for more than one cluster). I also added your name to the contributor list. The commit is here: https://github.com/SchedMD/slurm/commit/660ffa2d8172dd30c6b5f4b04ee22d85f33222c3