Package: slurmd
Version: 16.05.9-1+deb9u1

By default, slurmd writes its PID file to /var/run/slurmd.pid, but the systemd 
service expects it to be at /var/run/slurm-llnl/slurmd.pid.  As a result, 
"systemctl start slurmd" hangs unless slurm.conf defines 
SlurmdPidFile=/var/run/slurm-llnl/slurmd.pid.  This could be synchronized by 
either patching the slurmd code or modifying the service file; I’m guessing the 
latter is more appropriate.

--- /lib/systemd/system/slurmd.service  2017-11-05 05:26:27.000000000 -0500
+++ /etc/systemd/system/slurmd.service  2017-12-28 17:24:40.708918382 -0500
@@ -8,7 +8,7 @@
 Type=forking
 EnvironmentFile=/etc/default/slurmd
 ExecStart=/usr/sbin/slurmd $SLURMD_OPTIONS
-PIDFile=/var/run/slurm-llnl/slurmd.pid
+PIDFile=/var/run/slurmd.pid
 
 [Install]
 WantedBy=multi-user.target

I assume the same applies to the other slurm daemons.  This is on Debian 9.3.

Reply via email to