Package: slurm-llnl / 18.08.5.2-1

pidfile-path Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Description: Fix default pidfile paths
 This patch points default pidfild paths under /run
Author: Mehdi Dogguy <mehdi@debian.org> and Gennaro Oliva <oliva.g@na.icar.cnr.it>
Bug-Debian: http://bugs.debian.org/885759
Forwarded: no
Last-Update: 2018-12-13

--- a/src/common/read_config.h
+++ b/src/common/read_config.h
@@ -163,9 +163,9 @@ extern uint16_t drop_priv_flag;
 #else
 #  define DEFAULT_SELECT_TYPE       "select/linear"
 #endif
-#define DEFAULT_SLURMCTLD_PIDFILE   "/var/run/slurmctld.pid"
+#define DEFAULT_SLURMCTLD_PIDFILE   "/run/slurmctld.pid"
 #define DEFAULT_SLURMCTLD_TIMEOUT   120
-#define DEFAULT_SLURMD_PIDFILE      "/var/run/slurmd.pid"
+#define DEFAULT_SLURMD_PIDFILE      "/run/slurmd.pid"
 #define DEFAULT_SLURMD_TIMEOUT      300
 #define DEFAULT_SPOOLDIR            "/var/spool/slurmd"
 #define DEFAULT_STORAGE_HOST        "localhost"
--- a/src/slurmdbd/read_config.h
+++ b/src/slurmdbd/read_config.h
@@ -48,7 +48,7 @@
 
 #define DEFAULT_SLURMDBD_AUTHTYPE	"auth/munge"
 //#define DEFAULT_SLURMDBD_JOB_PURGE	12
-#define DEFAULT_SLURMDBD_PIDFILE	"/var/run/slurmdbd.pid"
+#define DEFAULT_SLURMDBD_PIDFILE	"/run/slurmdbd.pid"
 #define DEFAULT_SLURMDBD_ARCHIVE_DIR	"/tmp"
 //#define DEFAULT_SLURMDBD_STEP_PURGE	1