public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [RFC] Reserve slurm user and group uid/gid 500/500
@ 2019-08-23 19:27 Alexey 'Alexxy' Shvetsov
  2019-08-23 19:39 ` Mike Gilbert
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Alexey 'Alexxy' Shvetsov @ 2019-08-23 19:27 UTC (permalink / raw
  To: gentoo development


[-- 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 --]

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-09-06 18:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-23 19:27 [gentoo-dev] [RFC] Reserve slurm user and group uid/gid 500/500 Alexey 'Alexxy' Shvetsov
2019-08-23 19:39 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox