summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2011-07-04 07:51:12 +0000
committerAlexey Shvetsov <alexxy@gentoo.org>2011-07-04 07:51:12 +0000
commit80501e1ebdd751ba8e276c2bac0bc11a1b459f72 (patch)
tree379278269fc99a5d4b05268418e10140b0fbe260 /sys-cluster/slurm
parentFix build with dev-libs/boost-1.42 and gcc-4.5 Bug #352429 (diff)
downloadhistorical-80501e1ebdd751ba8e276c2bac0bc11a1b459f72.tar.gz
historical-80501e1ebdd751ba8e276c2bac0bc11a1b459f72.tar.bz2
historical-80501e1ebdd751ba8e276c2bac0bc11a1b459f72.zip
[sys-cluster/slurm] Slurmd should be run as root
Package-Manager: portage-2.2.0_alpha43/cvs/Linux x86_64
Diffstat (limited to 'sys-cluster/slurm')
-rw-r--r--sys-cluster/slurm/ChangeLog6
-rw-r--r--sys-cluster/slurm/Manifest32
-rw-r--r--sys-cluster/slurm/files/slurmd.initd6
-rw-r--r--sys-cluster/slurm/slurm-2.2.7.ebuild5
4 files changed, 25 insertions, 24 deletions
diff --git a/sys-cluster/slurm/ChangeLog b/sys-cluster/slurm/ChangeLog
index 7646cce3572e..630d410fe52c 100644
--- a/sys-cluster/slurm/ChangeLog
+++ b/sys-cluster/slurm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-cluster/slurm
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/slurm/ChangeLog,v 1.1 2011/07/03 23:23:21 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/slurm/ChangeLog,v 1.2 2011/07/04 07:51:12 alexxy Exp $
+
+ 04 Jul 2011; Alexey Shvetsov <alexxy@gentoo.org> slurm-2.2.7.ebuild,
+ files/slurmd.initd:
+ Slurmd should be run as root
*slurm-2.2.7 (03 Jul 2011)
diff --git a/sys-cluster/slurm/Manifest b/sys-cluster/slurm/Manifest
index 3925933492da..d45ac1a4b997 100644
--- a/sys-cluster/slurm/Manifest
+++ b/sys-cluster/slurm/Manifest
@@ -3,26 +3,26 @@ Hash: SHA256
AUX slurm.confd 135 RMD160 06c96613c42ec09d4a21ef3bf6334026e89d9838 SHA1 0f5ed287f8a6f7280ccf977dae8388811484bc34 SHA256 3cfc9c56046911d3e77214e35fbf6a5ffc153eb2205b2158986abbb111a49433
AUX slurmctld.initd 1115 RMD160 2ac8fbf379c4ea5cf6b49d238b029de7ebe4d337 SHA1 3f8346cf3c0bd612e96f82dde75089442325344f SHA256 8753d99b93bde96580b411a33e40b7553908ac6b4499c5ddb748894df6388368
-AUX slurmd.initd 1081 RMD160 ab242c27063e75de12018e63c23c592d20994450 SHA1 16882746d0d74abc23ea7f42815c2a4ec6cd0f3c SHA256 fc2ff1456fcd71ca77e194df12769f844faf0eda676c8ba2e14864c4db7667b5
+AUX slurmd.initd 1079 RMD160 26b855dd8bd0f41b12c1eabc7bcfe4462353d7a6 SHA1 dcdca92222dc108c3f970c0d598325f753002ed4 SHA256 d5f4b134a1bbfcbb80547191b30366bd25b91c1428865d4b355218f8fcbcef88
AUX slurmdbd.initd 1000 RMD160 db8015c3faba28e1e3142b87ec8704e596957c93 SHA1 24374dae5d4091a55e5f3b28783dc28e6c080061 SHA256 17dc0b649b68dc89f0a94be04611eb40c5be1572124252bd48cecadb6ef6316b
DIST slurm-2.2.7.tar.bz2 4454740 RMD160 37ee3ef3382e3ca00cff99901020825bbf0c0b03 SHA1 b5e62504f31007f593d6ce6d90415579273a7b0f SHA256 8dfd8ec1b447caa1c8d83817a90414e19bc5b8cc9caf2c7ec4b6d2cb6bcd0a7e
-EBUILD slurm-2.2.7.ebuild 3729 RMD160 c80ca1cc15384e418b37ae9a8589fa1b7fcbb6d3 SHA1 7ae1daf57ddc3b3f7f1f9f1f5afbb95cb5176739 SHA256 ead1857cbae1490a0b3031458decd35f1d035902b63750fe1e8bed41fcdcdc00
-MISC ChangeLog 432 RMD160 d8d7d2caa3879d0032c94213e551108759133b9f SHA1 2dfbc43939b59a253b90326c0e420fc3d34cea3c SHA256 ab8433ed3e60f206c2c6ad7f796e8fa3a39d31ae42b0eb4ba57066674a72ff79
+EBUILD slurm-2.2.7.ebuild 3596 RMD160 c28c4373dd12a32edb81f328b29f61c3abcab348 SHA1 50dfd61a5c7a295cde36af55ba75822878096885 SHA256 308584d646274914ee00708bf1c3d9574783b9e71421c9ce8e017d46f02d3af6
+MISC ChangeLog 557 RMD160 79eb78ae425382a07d2209c877203e69808fb816 SHA1 4accd69b0bc18873a63e10119de3c47223f753d7 SHA256 550d06dd00cbb0aab3edde26f9ac2d90e7d416f7d1caefbe6f368132999fe6c7
MISC metadata.xml 357 RMD160 f291b61aa0c7835c8786978a00b00f52001fbda3 SHA1 13a85c8bde78123a5ea891e702668b8cd918755d SHA256 2b2b9c330d1664771240f5cfe445493a3f01e977c103d023e675a5372b67fad6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iQIcBAEBCAAGBQJOEPoUAAoJEOf+E+/4L5Lmfc8QAJXanFALGbIvHJtRluTEZ6Tv
-ARBYTZ1EQBen24o+rbQGomoSTqo417twUTpHeBc5wfRc/GOt3e8GMwGnpWEuQyva
-SSjQ+XYjL2+oKE5FlJvwrC/zOxZTSBRgUKObUxJ6LFRZQp7AWirp4NLAHeV1LaTN
-kxU1qiT9TaJQDB9ZTM2mdgGfh53wNamdIN1TCurr2ViDb6d4IZYl1wnyGBFaVUkE
-q02dejvTbZ9z9dFgQ5IZxk0wiaUOq1/yPfJRgBCZqeiiVY21uYO8Dcnn3YtDPCc9
-PE6JSGdzqxgb4rS/hRPckSD5jYMb4aDXkmy5hBMI16Vt6XAjSNipDCWxMrXGRCW7
-debzo5N0vzES7skFFQdHsGJN7JcWBVNdNoXGELpr0F+qqhouTdFHmW0yhpjcXtRa
-mM8Esf1JSWgOnz3BDBnDkBuyoNjvaigCFC/bPKrzIpA3ryrpAKn8BgKovqXTgz4U
-+RuqbP1z74DAY+feuQIaaqKPCKF0M7B9IJyojjCIENaitj+I04xEIVkxiDN1OTc8
-nGjupsp0HTWKwO1zVxZJJOvtUbQImkuFXCB8ncJeDPuS8Goi19bJXkmjjz2jhxAT
-ivNkz/1r1ECmQlFOFNx+alwLLXjJziL+scjjRcxPIKi8OwINZW59dgYk7Cn1X0fo
-R/KTtU/r4+mzz2pduQq1
-=vPZQ
+iQIcBAEBCAAGBQJOEXDuAAoJEOf+E+/4L5LmzHkP/iBsFRLyilquEUlYOZNmJ/NB
+7YRmVzEddiiIIUqhNWUTaAWKEYNwkwaHSL4IOmskuOzptsF5L9MdVPFZ2g3gx3Q5
+XS8WcEwgogvd2lcVK92mqIhgeBfbDenUhkrHuHXYzMAYAzPsfmhLY866xB7uFSQ6
+8Ukeo/WT5aRNV1VV5rySkZin1X/je2Iynhw2UkJgdRBYatRn2CzueWHX8XU73PDO
++uy0EPgo9g83oepb4ny+SuNm59GvwdIBoZQI6TkB98jaTh+ik9Oqg+HNUkf28ZnN
+LP3I+vZxHlp/r7uJk/JaMm7VDIK5kP/OXLQBdbXDGEzArLGswydgnrXz8ZEWqCKb
+03+zvvc8inb1L+S8Dw1mrbjeKFQCQfsf/p9E1qvqB+pL+0s0XfxtNH7TkWS2LZPN
+2udHaDIsSOJ7z2FUQkYKW5cU1YXiQq1n2BvZfYWVm09K6GTxW+A3T/mRe6uMHEqI
+5fYnV22AIqkLVENq9aoW3w2k1sZSQbX4x1rVgqXrcAMJ6hDsQ677VW86JHO2MbPT
+UCstOa/kfRJCTpW9z3+9S3619sDTCqiW6LUhVa5uWNqAMGk5trJ7E80AoxoCrIkt
+9xWCT/qLPoBGp2Qr1BHRep8nen+1163gG07HfRxwetTWMrgakmn1SmiRjmy2ghTK
+Y7s3hZCNR1DEIK4V6G98
+=lIED
-----END PGP SIGNATURE-----
diff --git a/sys-cluster/slurm/files/slurmd.initd b/sys-cluster/slurm/files/slurmd.initd
index 1014630e633c..03d7de0d76cb 100644
--- a/sys-cluster/slurm/files/slurmd.initd
+++ b/sys-cluster/slurm/files/slurmd.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/slurm/files/slurmd.initd,v 1.1 2011/07/03 23:23:21 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/slurm/files/slurmd.initd,v 1.2 2011/07/04 07:51:12 alexxy Exp $
opts="reload"
@@ -27,8 +27,8 @@ start() {
ebegin "Starting slurm daemon"
start-stop-daemon --start --quiet --background \
--pidfile /var/run/slurm/slurmd.pid \
- --user slurm \
- --group slurm \
+ --user root \
+ --group root \
--exec /usr/sbin/slurmd -- ${SLURMD_OPTS}
eend $?
}
diff --git a/sys-cluster/slurm/slurm-2.2.7.ebuild b/sys-cluster/slurm/slurm-2.2.7.ebuild
index 0e679f7af269..3e7834341653 100644
--- a/sys-cluster/slurm/slurm-2.2.7.ebuild
+++ b/sys-cluster/slurm/slurm-2.2.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/slurm/slurm-2.2.7.ebuild,v 1.1 2011/07/03 23:23:21 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/slurm/slurm-2.2.7.ebuild,v 1.2 2011/07/04 07:51:12 alexxy Exp $
EAPI=4
@@ -40,9 +40,6 @@ src_prepare() {
-i "${S}/etc/cgroup.release_agent" \
-i "${S}/src/plugins/proctrack/cgroup/xcgroup.h" \
|| die
- # also we running slurm daemons under slurm user
- sed -e '#SlurmdUser=root:SlurmdUser=slurm:g' \
- -i "${S}/etc/slurm.conf.example"
# and pids should go to /var/run/slurm
sed -e 's:/var/run/slurmctld.pid:/var/run/slurm/slurmctld.pid:g' \
-e 's:/var/run/slurmd.pid:/var/run/slurm/slurmd.pid:g' \