From: Alexey 'Alexxy' Shvetsov <alexxy@gentoo.org>
To: gentoo development <gentoo-dev@lists.gentoo.org>
Subject: [gentoo-dev] [RFC] Reserve slurm user and group uid/gid 500/500
Date: Fri, 23 Aug 2019 22:27:14 +0300 [thread overview]
Message-ID: <4014662.zbG8OKGobv@t490> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 114 bytes --]
Hi!
I'd like to reserve slurm user and group for sys-cluster/slurm. I plan to use
old uid/gid for it (500/500)
[-- Attachment #1.2: 0001-acct-group-slurm-Add-slurm-group.patch --]
[-- Type: text/x-patch, Size: 1585 bytes --]
From f8545efd0d615a44083f9a416e6eb195c627ebaf Mon Sep 17 00:00:00 2001
From: Alexey Shvetsov <alexxy@gentoo.org>
Date: Fri, 23 Aug 2019 22:16:49 +0300
Subject: [PATCH 1/2] acct-group/slurm: Add slurm group
Package-Manager: Portage-2.3.72, Repoman-2.3.17
RepoMan-Options: --force
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
---
acct-group/slurm/metadata.xml | 12 ++++++++++++
acct-group/slurm/slurm-0.ebuild | 9 +++++++++
2 files changed, 21 insertions(+)
create mode 100644 acct-group/slurm/metadata.xml
create mode 100644 acct-group/slurm/slurm-0.ebuild
diff --git a/acct-group/slurm/metadata.xml b/acct-group/slurm/metadata.xml
new file mode 100644
index 000000000000..afbbd16e7d0d
--- /dev/null
+++ b/acct-group/slurm/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>alexxy@gentoo.org</email>
+ <name>Alexey Shvetsov</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/acct-group/slurm/slurm-0.ebuild b/acct-group/slurm/slurm-0.ebuild
new file mode 100644
index 000000000000..685064b8a4fe
--- /dev/null
+++ b/acct-group/slurm/slurm-0.ebuild
@@ -0,0 +1,9 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-group
+
+DESCRIPTION="A group for the slurm - Highly Scalable Resource Manager"
+ACCT_GROUP_ID=500
--
2.23.0
[-- Attachment #1.3: 0002-acct-user-slurm-Add-slurm-user.patch --]
[-- Type: text/x-patch, Size: 1682 bytes --]
From b821fcb711b3ebb7f3b01cde30a6c142ec518d7d Mon Sep 17 00:00:00 2001
From: Alexey Shvetsov <alexxy@gentoo.org>
Date: Fri, 23 Aug 2019 22:22:35 +0300
Subject: [PATCH 2/2] acct-user/slurm: Add slurm user
Package-Manager: Portage-2.3.72, Repoman-2.3.17
RepoMan-Options: --force
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
---
acct-user/slurm/metadata.xml | 12 ++++++++++++
acct-user/slurm/slurm-0.ebuild | 14 ++++++++++++++
2 files changed, 26 insertions(+)
create mode 100644 acct-user/slurm/metadata.xml
create mode 100644 acct-user/slurm/slurm-0.ebuild
diff --git a/acct-user/slurm/metadata.xml b/acct-user/slurm/metadata.xml
new file mode 100644
index 000000000000..afbbd16e7d0d
--- /dev/null
+++ b/acct-user/slurm/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>alexxy@gentoo.org</email>
+ <name>Alexey Shvetsov</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/acct-user/slurm/slurm-0.ebuild b/acct-user/slurm/slurm-0.ebuild
new file mode 100644
index 000000000000..1b68993e398a
--- /dev/null
+++ b/acct-user/slurm/slurm-0.ebuild
@@ -0,0 +1,14 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="User for the slurm - Highly Scalable Resource Manager"
+ACCT_USER_ID=500
+ACCT_USER_HOME=/var/lib/slurm
+ACCT_USER_HOME_PERMS=0770
+ACCT_USER_GROUPS=( slurm )
+
+acct-user_add_deps
--
2.23.0
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next reply other threads:[~2019-08-23 19:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-23 19:27 Alexey 'Alexxy' Shvetsov [this message]
2019-08-23 19:39 ` [gentoo-dev] [RFC] Reserve slurm user and group uid/gid 500/500 Mike Gilbert
2019-08-23 19:48 ` Alexey 'Alexxy' Shvetsov
2019-08-24 12:27 ` Ulrich Mueller
2019-08-23 19:40 ` Michael Orlitzky
2019-08-23 19:45 ` Michał Górny
2019-08-23 20:00 ` Michael Orlitzky
2019-08-23 19:49 ` Alexey 'Alexxy' Shvetsov
2019-09-06 18:20 ` [gentoo-dev] [RFC] Reserve slurm user and group uid/gid 400/400 Alexey 'Alexxy' 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=4014662.zbG8OKGobv@t490 \
--to=alexxy@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