summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGordian Edenhofer2016-10-29 18:03:12 +0200
committerGordian Edenhofer2016-10-29 18:10:12 +0200
commit685be04458a5bc1a1dce6723a4e129cbffc1778c (patch)
treec63b9a545b4448bdb13566c556fac992ee9e23ce
parent15803ce1d381f1063cc7da1113920b0053855677 (diff)
downloadaur-685be04458a5bc1a1dce6723a4e129cbffc1778c.tar.gz
upgpkg: slurm-llnl 16.05.6-2
Move pid files in systemd services to /run instead of using a subfolder. Skip the creation of /var/log/slurm in systemd-tmpfiles since the log location is /var/log/slurm-llnl and install the tmpfile to /usr/lib instead of /etc/ . upgpkg: slurm-llnl-dev 17.02.0_0pre3-2 upgpkg: slurm-llnl 16.05.6-1
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD12
-rw-r--r--slurm-tmpfiles.conf1
-rw-r--r--slurmctld.service2
-rw-r--r--slurmd.service2
-rw-r--r--slurmdbd.service2
6 files changed, 14 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2ce90d66753..683549ec915 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = slurm-llnl-dev
pkgdesc = Simple Linux Utility for Resource Management (development version)
pkgver = 17.02.0_0pre3
- pkgrel = 1
+ pkgrel = 2
url = http://www.schedmd.com
install = slurm-llnl-dev.install
arch = i686
@@ -34,11 +34,11 @@ pkgbase = slurm-llnl-dev
source = slurmd.service
source = slurmdbd.service
source = http://www.schedmd.com/download/total/slurm-17.02.0-0pre3.tar.bz2
- md5sums = 51e4ae2c51edf7c145d1b87bec4c344e
+ md5sums = 0594bc219f4fd8a0e8663330619829b5
md5sums = cae664b8ef44d01783dade9088e25b53
- md5sums = 06b572524c0e419d91c81d84c169358b
- md5sums = 5cfc5d7bf548dd0dd3b6ac3708daccb7
- md5sums = da7a52451ce31c9269211b309f9ebe1c
+ md5sums = 5545ddfc50e0f517ee59fff054a3f866
+ md5sums = 54181476ea043812e658ddf08d997734
+ md5sums = f5b4e5e24ad8bdffb12a3bdb6b08d2de
md5sums = 8e4e50c56a46e972bce17611c159cd0f
pkgname = slurm-llnl-dev
diff --git a/PKGBUILD b/PKGBUILD
index d48e68ee876..37384799195 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=17.02.0_0pre3
# Hyphens (-) are prohibited however they are used by the package author
# therefore it is necessary to invoke ${pkgver} like ${pkgver//_/-}
# this will substituet any udnerscores (_) with hyphens
-pkgrel=1
+pkgrel=2
pkgdesc="Simple Linux Utility for Resource Management (development version)"
arch=('i686' 'x86_64')
url="http://www.schedmd.com"
@@ -39,11 +39,11 @@ source=("slurm-tmpfiles.conf"
"slurmd.service"
"slurmdbd.service"
"http://www.schedmd.com/download/total/slurm-${pkgver//_/-}.tar.bz2")
-md5sums=('51e4ae2c51edf7c145d1b87bec4c344e'
+md5sums=('0594bc219f4fd8a0e8663330619829b5'
'cae664b8ef44d01783dade9088e25b53'
- '06b572524c0e419d91c81d84c169358b'
- '5cfc5d7bf548dd0dd3b6ac3708daccb7'
- 'da7a52451ce31c9269211b309f9ebe1c'
+ '5545ddfc50e0f517ee59fff054a3f866'
+ '54181476ea043812e658ddf08d997734'
+ 'f5b4e5e24ad8bdffb12a3bdb6b08d2de'
'8e4e50c56a46e972bce17611c159cd0f')
build() {
@@ -94,7 +94,7 @@ package() {
install -D -m644 ../slurmctld.service "${pkgdir}/usr/lib/systemd/system/slurmctld.service"
install -D -m644 ../slurmd.service "${pkgdir}/usr/lib/systemd/system/slurmd.service"
install -D -m644 ../slurmdbd.service "${pkgdir}/usr/lib/systemd/system/slurmdbd.service"
- install -D -m644 ../slurm-tmpfiles.conf "${pkgdir}/etc/tmpfiles.d/slurm-tmpfiles.conf"
+ install -D -m644 ../slurm-tmpfiles.conf "${pkgdir}/usr/lib/tmpfiles.d/slurm-tmpfiles.conf"
# creating a log and a lib dir
install -d -m755 "${pkgdir}/var/log/slurm-llnl"
diff --git a/slurm-tmpfiles.conf b/slurm-tmpfiles.conf
index f50c8df8e91..301151bb1bc 100644
--- a/slurm-tmpfiles.conf
+++ b/slurm-tmpfiles.conf
@@ -1,4 +1,3 @@
-d /var/log/slurm 0755 root root -
d /var/spool/slurm 0755 slurm slurm -
d /var/spool/slurm/slurmctld 0755 slurm slurm -
d /var/spool/slurm/slurmd 0755 root root -
diff --git a/slurmctld.service b/slurmctld.service
index 543bb55f0f2..a56d39c41b7 100644
--- a/slurmctld.service
+++ b/slurmctld.service
@@ -9,7 +9,7 @@ Type=forking
EnvironmentFile=-/etc/default/slurm-llnl
ExecStart=/usr/bin/slurmctld $SLURMCTLD_OPTIONS
ExecReload=/bin/kill -HUP $MAINPID
-PIDFile=/run/slurm-llnl/slurmctld.pid
+PIDFile=/run/slurmctld.pid
[Install]
WantedBy=multi-user.target
diff --git a/slurmd.service b/slurmd.service
index 35629cf3bda..4b43e5fbd52 100644
--- a/slurmd.service
+++ b/slurmd.service
@@ -9,7 +9,7 @@ Type=forking
EnvironmentFile=-/etc/default/slurm-llnl
ExecStart=/usr/bin/slurmd $SLURMD_OPTIONS
ExecReload=/bin/kill -HUP $MAINPID
-PIDFile=/run/slurm-llnl/slurmd.pid
+PIDFile=/run/slurmd.pid
KillMode=process
LimitNOFILE=51200
LimitMEMLOCK=infinity
diff --git a/slurmdbd.service b/slurmdbd.service
index 5ac617854f6..a46e39f89c6 100644
--- a/slurmdbd.service
+++ b/slurmdbd.service
@@ -8,7 +8,7 @@ Type=forking
EnvironmentFile=-/etc/default/slurm-llnl
ExecStart=/usr/bin/slurmdbd $SLURMDBD_OPTIONS
ExecReload=/bin/kill -HUP $MAINPID
-PIDFile=/run/slurm-llnl/slurmdbd.pid
+PIDFile=/run/slurmdbd.pid
[Install]
WantedBy=multi-user.target