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)
>From f8545efd0d615a44083f9a416e6eb195c627ebaf Mon Sep 17 00:00:00 2001 From: Alexey Shvetsov <[email protected]> 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 <[email protected]> --- 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>[email protected]</email> + <name>Alexey Shvetsov</name> + </maintainer> + <maintainer type="project"> + <email>[email protected]</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
>From b821fcb711b3ebb7f3b01cde30a6c142ec518d7d Mon Sep 17 00:00:00 2001 From: Alexey Shvetsov <[email protected]> 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 <[email protected]> --- 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>[email protected]</email> + <name>Alexey Shvetsov</name> + </maintainer> + <maintainer type="project"> + <email>[email protected]</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
signature.asc
Description: This is a digitally signed message part.
