[systemd-bugs] [Bug 85297] New: systemctl start hangs for SysVinit script with multiple pid files
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Oct 21 10:41:21 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=85297
Bug ID: 85297
Summary: systemctl start hangs for SysVinit script with
multiple pid files
Product: systemd
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: general
Assignee: systemd-bugs at lists.freedesktop.org
Reporter: dgloe at cray.com
QA Contact: systemd-bugs at lists.freedesktop.org
The slurm init script can start multiple daemons, so it has multiple pid files
listed.
# processname: /opt/slurm/14.11.0-1.0000.44f7451.73.13.ari/sbin/slurmd
# pidfile: /var/run/slurmd.pid
#
# processname: /opt/slurm/14.11.0-1.0000.44f7451.73.13.ari/sbin/slurmctld
# pidfile: /var/run/slurmctld.pid
If slurm is configured so only slurmd starts on the node, systemctl start
slurm.service hangs even though slurmd is running and /var/run/slurmd.pid
exists; I believe because it's looking for the slurmctld pid file.
If the second pidfile line is removed then systemctl start slurm.service
completes successfully, but that breaks nodes where slurmctld is started.
If slurmd is configured to write its pid to /var/run/slurmctld.pid then
systemctl start slurm.service completes successfully, but that means slurmctld
and slurmd can't run on the same node.
nid00059:~ # systemctl --version
systemd 210
+PAM +LIBWRAP +AUDIT +SELINUX -IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ
+SECCOMP +APPARMOR
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20141021/284b3325/attachment.html>
More information about the systemd-bugs
mailing list