From: "Alexey Shvetsov" <alexxy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sys-cluster/slurm/
Date: Sun, 3 Jul 2011 23:14:18 +0000 (UTC) [thread overview]
Message-ID: <05d85650c918a3e2b093f135c47c4830244ff62a.alexxy@gentoo> (raw)
commit: 05d85650c918a3e2b093f135c47c4830244ff62a
Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 3 23:13:47 2011 +0000
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Sun Jul 3 23:13:47 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=05d85650
Update gentoo defconfig
(Portage version: 2.2.0_alpha43/git/Linux x86_64, signed Manifest commit with key F82F92E6)
---
sys-cluster/slurm/slurm-2.2.7.ebuild | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/sys-cluster/slurm/slurm-2.2.7.ebuild b/sys-cluster/slurm/slurm-2.2.7.ebuild
index 6478bfc..8142585 100644
--- a/sys-cluster/slurm/slurm-2.2.7.ebuild
+++ b/sys-cluster/slurm/slurm-2.2.7.ebuild
@@ -39,6 +39,17 @@ 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' \
+ -i "${S}/etc/slurm.conf.example"
+ # also state dirs are in /var/spool/slurm
+ sed -e 's:StateSaveLocation=/tmp:StateSaveLocation=/var/spool/slurm:g' \
+ -e 's:SlurmdSpoolDir=/tmp/slurmd:SlurmdSpoolDir=/var/spool/slurm/slurmd:g' \
+ -i "${S}/etc/slurm.conf.example"
}
src_configure() {
next reply other threads:[~2011-07-03 23:14 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-03 23:14 Alexey Shvetsov [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-07-03 22:40 [gentoo-commits] proj/sci:master commit in: sys-cluster/slurm/ Alexey Shvetsov
2011-07-03 22:15 Alexey Shvetsov
2011-07-03 21:57 Alexey Shvetsov
2011-07-03 20:27 Alexey Shvetsov
2011-07-03 19:58 Alexey Shvetsov
2011-07-03 19:37 Alexey Shvetsov
2011-07-03 19:31 Alexey Shvetsov
2011-07-03 19:22 Alexey Shvetsov
2011-07-03 19:15 Alexey Shvetsov
2011-07-03 19:07 Alexey Shvetsov
2011-07-03 16:59 Alexey Shvetsov
2011-07-03 16:58 Alexey Shvetsov
2011-07-03 16:56 Alexey Shvetsov
2011-07-03 16:41 Alexey Shvetsov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=05d85650c918a3e2b093f135c47c4830244ff62a.alexxy@gentoo \
--to=alexxy@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox