public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 0/6] User/group assignment: burp, rtkit, syncthing
@ 2019-06-26 10:35 Marek Szuba
  2019-06-26 10:35 ` [gentoo-dev] [PATCH 1/6] acct-group/burp: Add 'burp' group (GID 501) Marek Szuba
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Marek Szuba @ 2019-06-26 10:35 UTC (permalink / raw
  To: gentoo-dev

Here is the RFC for acct-* packages corresponding to users and groups
created by packages I currently maintain. This is also a request to
reserve the respective UIDs/GIDs, namely:

Groups:
 - burp - 501
 - rtkit - 133

Users:
 - burp - 501
 - rtkit - 133
 - syncthing - 502

rtkit user and group have got their IDs reserved in both Arch and
Fedora, I have opted for consistency with the former.




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

* [gentoo-dev] [PATCH 1/6] acct-group/burp: Add 'burp' group (GID 501)
  2019-06-26 10:35 [gentoo-dev] [PATCH 0/6] User/group assignment: burp, rtkit, syncthing Marek Szuba
@ 2019-06-26 10:35 ` Marek Szuba
  2019-06-26 10:35 ` [gentoo-dev] [PATCH 2/6] acct-group/rtkit: Add 'rtkit' group (GID 133) Marek Szuba
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Marek Szuba @ 2019-06-26 10:35 UTC (permalink / raw
  To: gentoo-dev

Signed-off-by: Marek Szuba <marecki@gentoo.org>
---
 acct-group/burp/burp-0.ebuild | 9 +++++++++
 acct-group/burp/metadata.xml  | 8 ++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 acct-group/burp/burp-0.ebuild
 create mode 100644 acct-group/burp/metadata.xml

diff --git a/acct-group/burp/burp-0.ebuild b/acct-group/burp/burp-0.ebuild
new file mode 100644
index 00000000000..ff29d3a2cd7
--- /dev/null
+++ b/acct-group/burp/burp-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="Group for the app-backup/burp server"
+ACCT_GROUP_ID=501
diff --git a/acct-group/burp/metadata.xml b/acct-group/burp/metadata.xml
new file mode 100644
index 00000000000..3e5026ee375
--- /dev/null
+++ b/acct-group/burp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>marecki@gentoo.org</email>
+		<name>Marek Szuba</name>
+	</maintainer>
+</pkgmetadata>
-- 
2.21.0



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

* [gentoo-dev] [PATCH 2/6] acct-group/rtkit: Add 'rtkit' group (GID 133)
  2019-06-26 10:35 [gentoo-dev] [PATCH 0/6] User/group assignment: burp, rtkit, syncthing Marek Szuba
  2019-06-26 10:35 ` [gentoo-dev] [PATCH 1/6] acct-group/burp: Add 'burp' group (GID 501) Marek Szuba
@ 2019-06-26 10:35 ` Marek Szuba
  2019-06-26 10:35 ` [gentoo-dev] [PATCH 3/6] acct-group/syncthing: Add 'syncthing' group (GID 502) Marek Szuba
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Marek Szuba @ 2019-06-26 10:35 UTC (permalink / raw
  To: gentoo-dev

Same GID as in Arch Linux.

Signed-off-by: Marek Szuba <marecki@gentoo.org>
---
 acct-group/rtkit/metadata.xml   | 8 ++++++++
 acct-group/rtkit/rtkit-0.ebuild | 9 +++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 acct-group/rtkit/metadata.xml
 create mode 100644 acct-group/rtkit/rtkit-0.ebuild

diff --git a/acct-group/rtkit/metadata.xml b/acct-group/rtkit/metadata.xml
new file mode 100644
index 00000000000..3e5026ee375
--- /dev/null
+++ b/acct-group/rtkit/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>marecki@gentoo.org</email>
+		<name>Marek Szuba</name>
+	</maintainer>
+</pkgmetadata>
diff --git a/acct-group/rtkit/rtkit-0.ebuild b/acct-group/rtkit/rtkit-0.ebuild
new file mode 100644
index 00000000000..9361f86968b
--- /dev/null
+++ b/acct-group/rtkit/rtkit-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="Group for the Realtime Policy and Watchdog Daemon"
+ACCT_GROUP_ID=133
-- 
2.21.0



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

* [gentoo-dev] [PATCH 3/6] acct-group/syncthing: Add 'syncthing' group (GID 502)
  2019-06-26 10:35 [gentoo-dev] [PATCH 0/6] User/group assignment: burp, rtkit, syncthing Marek Szuba
  2019-06-26 10:35 ` [gentoo-dev] [PATCH 1/6] acct-group/burp: Add 'burp' group (GID 501) Marek Szuba
  2019-06-26 10:35 ` [gentoo-dev] [PATCH 2/6] acct-group/rtkit: Add 'rtkit' group (GID 133) Marek Szuba
@ 2019-06-26 10:35 ` Marek Szuba
  2019-06-26 10:35 ` [gentoo-dev] [PATCH 4/6] acct-user/burp: Add 'burp' user (UID 501) Marek Szuba
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Marek Szuba @ 2019-06-26 10:35 UTC (permalink / raw
  To: gentoo-dev

Signed-off-by: Marek Szuba <marecki@gentoo.org>
---
 acct-group/syncthing/metadata.xml       | 8 ++++++++
 acct-group/syncthing/syncthing-0.ebuild | 9 +++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 acct-group/syncthing/metadata.xml
 create mode 100644 acct-group/syncthing/syncthing-0.ebuild

diff --git a/acct-group/syncthing/metadata.xml b/acct-group/syncthing/metadata.xml
new file mode 100644
index 00000000000..3e5026ee375
--- /dev/null
+++ b/acct-group/syncthing/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>marecki@gentoo.org</email>
+		<name>Marek Szuba</name>
+	</maintainer>
+</pkgmetadata>
diff --git a/acct-group/syncthing/syncthing-0.ebuild b/acct-group/syncthing/syncthing-0.ebuild
new file mode 100644
index 00000000000..a015336764f
--- /dev/null
+++ b/acct-group/syncthing/syncthing-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="Group for the system-wide net-p2p/syncthing server"
+ACCT_GROUP_ID=502
-- 
2.21.0



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

* [gentoo-dev] [PATCH 4/6] acct-user/burp: Add 'burp' user (UID 501)
  2019-06-26 10:35 [gentoo-dev] [PATCH 0/6] User/group assignment: burp, rtkit, syncthing Marek Szuba
                   ` (2 preceding siblings ...)
  2019-06-26 10:35 ` [gentoo-dev] [PATCH 3/6] acct-group/syncthing: Add 'syncthing' group (GID 502) Marek Szuba
@ 2019-06-26 10:35 ` Marek Szuba
  2019-06-26 10:35 ` [gentoo-dev] [PATCH 5/6] acct-user/rtkit: Add 'rtkit' user (UID 133) Marek Szuba
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Marek Szuba @ 2019-06-26 10:35 UTC (permalink / raw
  To: gentoo-dev

Signed-off-by: Marek Szuba <marecki@gentoo.org>
---
 acct-user/burp/burp-0.ebuild | 12 ++++++++++++
 acct-user/burp/metadata.xml  |  8 ++++++++
 2 files changed, 20 insertions(+)
 create mode 100644 acct-user/burp/burp-0.ebuild
 create mode 100644 acct-user/burp/metadata.xml

diff --git a/acct-user/burp/burp-0.ebuild b/acct-user/burp/burp-0.ebuild
new file mode 100644
index 00000000000..660c98f57b9
--- /dev/null
+++ b/acct-user/burp/burp-0.ebuild
@@ -0,0 +1,12 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="User for the app-backup/burp server"
+ACCT_USER_ID=501
+ACCT_USER_GROUPS=( burp )
+
+acct-user_add_deps
diff --git a/acct-user/burp/metadata.xml b/acct-user/burp/metadata.xml
new file mode 100644
index 00000000000..3e5026ee375
--- /dev/null
+++ b/acct-user/burp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>marecki@gentoo.org</email>
+		<name>Marek Szuba</name>
+	</maintainer>
+</pkgmetadata>
-- 
2.21.0



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

* [gentoo-dev] [PATCH 5/6] acct-user/rtkit: Add 'rtkit' user (UID 133)
  2019-06-26 10:35 [gentoo-dev] [PATCH 0/6] User/group assignment: burp, rtkit, syncthing Marek Szuba
                   ` (3 preceding siblings ...)
  2019-06-26 10:35 ` [gentoo-dev] [PATCH 4/6] acct-user/burp: Add 'burp' user (UID 501) Marek Szuba
@ 2019-06-26 10:35 ` Marek Szuba
  2019-06-26 10:35 ` [gentoo-dev] [PATCH 6/6] acct-user/syncthing: Add 'syncthing' user (UID 502) Marek Szuba
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Marek Szuba @ 2019-06-26 10:35 UTC (permalink / raw
  To: gentoo-dev

Same UID as in Arch Linux.

Signed-off-by: Marek Szuba <marecki@gentoo.org>
---
 acct-user/rtkit/metadata.xml   |  8 ++++++++
 acct-user/rtkit/rtkit-0.ebuild | 12 ++++++++++++
 2 files changed, 20 insertions(+)
 create mode 100644 acct-user/rtkit/metadata.xml
 create mode 100644 acct-user/rtkit/rtkit-0.ebuild

diff --git a/acct-user/rtkit/metadata.xml b/acct-user/rtkit/metadata.xml
new file mode 100644
index 00000000000..3e5026ee375
--- /dev/null
+++ b/acct-user/rtkit/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>marecki@gentoo.org</email>
+		<name>Marek Szuba</name>
+	</maintainer>
+</pkgmetadata>
diff --git a/acct-user/rtkit/rtkit-0.ebuild b/acct-user/rtkit/rtkit-0.ebuild
new file mode 100644
index 00000000000..0e63e6514a1
--- /dev/null
+++ b/acct-user/rtkit/rtkit-0.ebuild
@@ -0,0 +1,12 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="User for the Realtime Policy and Watchdog Daemon"
+ACCT_USER_ID=133
+ACCT_USER_GROUPS=( rtkit )
+
+acct-user_add_deps
-- 
2.21.0



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

* [gentoo-dev] [PATCH 6/6] acct-user/syncthing: Add 'syncthing' user (UID 502)
  2019-06-26 10:35 [gentoo-dev] [PATCH 0/6] User/group assignment: burp, rtkit, syncthing Marek Szuba
                   ` (4 preceding siblings ...)
  2019-06-26 10:35 ` [gentoo-dev] [PATCH 5/6] acct-user/rtkit: Add 'rtkit' user (UID 133) Marek Szuba
@ 2019-06-26 10:35 ` Marek Szuba
  2019-06-26 13:17 ` [gentoo-dev] [PATCH 0/6] User/group assignment: burp, rtkit, syncthing Michael Orlitzky
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Marek Szuba @ 2019-06-26 10:35 UTC (permalink / raw
  To: gentoo-dev

Signed-off-by: Marek Szuba <marecki@gentoo.org>
---
 acct-user/syncthing/metadata.xml       |  8 ++++++++
 acct-user/syncthing/syncthing-0.ebuild | 14 ++++++++++++++
 2 files changed, 22 insertions(+)
 create mode 100644 acct-user/syncthing/metadata.xml
 create mode 100644 acct-user/syncthing/syncthing-0.ebuild

diff --git a/acct-user/syncthing/metadata.xml b/acct-user/syncthing/metadata.xml
new file mode 100644
index 00000000000..3e5026ee375
--- /dev/null
+++ b/acct-user/syncthing/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>marecki@gentoo.org</email>
+		<name>Marek Szuba</name>
+	</maintainer>
+</pkgmetadata>
diff --git a/acct-user/syncthing/syncthing-0.ebuild b/acct-user/syncthing/syncthing-0.ebuild
new file mode 100644
index 00000000000..e9a04702f3d
--- /dev/null
+++ b/acct-user/syncthing/syncthing-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 system-wide net-p2p/syncthing server"
+ACCT_USER_ID=502
+ACCT_USER_HOME=/var/lib/syncthing
+ACCT_USER_HOME_PERMS=0770
+ACCT_USER_GROUPS=( syncthing )
+
+acct-user_add_deps
-- 
2.21.0



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

* Re: [gentoo-dev] [PATCH 0/6] User/group assignment: burp, rtkit, syncthing
  2019-06-26 10:35 [gentoo-dev] [PATCH 0/6] User/group assignment: burp, rtkit, syncthing Marek Szuba
                   ` (5 preceding siblings ...)
  2019-06-26 10:35 ` [gentoo-dev] [PATCH 6/6] acct-user/syncthing: Add 'syncthing' user (UID 502) Marek Szuba
@ 2019-06-26 13:17 ` Michael Orlitzky
  2019-06-26 14:00 ` Michał Górny
  2019-06-26 17:15 ` Ulrich Mueller
  8 siblings, 0 replies; 10+ messages in thread
From: Michael Orlitzky @ 2019-06-26 13:17 UTC (permalink / raw
  To: gentoo-dev

On 6/26/19 6:35 AM, Marek Szuba wrote:
> Here is the RFC for acct-* packages corresponding to users and groups
> created by packages I currently maintain. This is also a request to
> reserve the respective UIDs/GIDs, namely:
> 
> Groups:
>  - burp - 501
>  - rtkit - 133

And syncthing GID 502.






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

* Re: [gentoo-dev] [PATCH 0/6] User/group assignment: burp, rtkit, syncthing
  2019-06-26 10:35 [gentoo-dev] [PATCH 0/6] User/group assignment: burp, rtkit, syncthing Marek Szuba
                   ` (6 preceding siblings ...)
  2019-06-26 13:17 ` [gentoo-dev] [PATCH 0/6] User/group assignment: burp, rtkit, syncthing Michael Orlitzky
@ 2019-06-26 14:00 ` Michał Górny
  2019-06-26 17:15 ` Ulrich Mueller
  8 siblings, 0 replies; 10+ messages in thread
From: Michał Górny @ 2019-06-26 14:00 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 555 bytes --]

On Wed, 2019-06-26 at 11:35 +0100, Marek Szuba wrote:
> Here is the RFC for acct-* packages corresponding to users and groups
> created by packages I currently maintain. This is also a request to
> reserve the respective UIDs/GIDs, namely:
> 
> Groups:
>  - burp - 501
>  - rtkit - 133
> 
> Users:
>  - burp - 501
>  - rtkit - 133
>  - syncthing - 502
> 

I don't see any of those UIDs/GIDs being used in Gentoo, and I don't see
any fixed UID/GID for those users/groups at the moment, so all good.

-- 
Best regards,
Michał Górny


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 618 bytes --]

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

* Re: [gentoo-dev] [PATCH 0/6] User/group assignment: burp, rtkit, syncthing
  2019-06-26 10:35 [gentoo-dev] [PATCH 0/6] User/group assignment: burp, rtkit, syncthing Marek Szuba
                   ` (7 preceding siblings ...)
  2019-06-26 14:00 ` Michał Górny
@ 2019-06-26 17:15 ` Ulrich Mueller
  8 siblings, 0 replies; 10+ messages in thread
From: Ulrich Mueller @ 2019-06-26 17:15 UTC (permalink / raw
  To: Marek Szuba; +Cc: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 841 bytes --]

>>>>> On Wed, 26 Jun 2019, Marek Szuba wrote:

> Here is the RFC for acct-* packages corresponding to users and groups
> created by packages I currently maintain. This is also a request to
> reserve the respective UIDs/GIDs, namely:

> Groups:
>  - burp - 501
>  - rtkit - 133

> Users:
>  - burp - 501
>  - rtkit - 133
>  - syncthing - 502

> rtkit user and group have got their IDs reserved in both Arch and
> Fedora, I have opted for consistency with the former.

Is there any particular reason for using 501 and 502?

I'd suggest that for the time being we should stay within the LSB range
(<= 499), in order to be compatible with distros that assign normal
users starting at 500. There's still plenty of ids available in that
range.
https://refspecs.linuxfoundation.org/LSB_3.0.0/LSB-Core-generic/LSB-Core-generic/uidrange.html

Ulrich

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

end of thread, other threads:[~2019-06-26 17:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-26 10:35 [gentoo-dev] [PATCH 0/6] User/group assignment: burp, rtkit, syncthing Marek Szuba
2019-06-26 10:35 ` [gentoo-dev] [PATCH 1/6] acct-group/burp: Add 'burp' group (GID 501) Marek Szuba
2019-06-26 10:35 ` [gentoo-dev] [PATCH 2/6] acct-group/rtkit: Add 'rtkit' group (GID 133) Marek Szuba
2019-06-26 10:35 ` [gentoo-dev] [PATCH 3/6] acct-group/syncthing: Add 'syncthing' group (GID 502) Marek Szuba
2019-06-26 10:35 ` [gentoo-dev] [PATCH 4/6] acct-user/burp: Add 'burp' user (UID 501) Marek Szuba
2019-06-26 10:35 ` [gentoo-dev] [PATCH 5/6] acct-user/rtkit: Add 'rtkit' user (UID 133) Marek Szuba
2019-06-26 10:35 ` [gentoo-dev] [PATCH 6/6] acct-user/syncthing: Add 'syncthing' user (UID 502) Marek Szuba
2019-06-26 13:17 ` [gentoo-dev] [PATCH 0/6] User/group assignment: burp, rtkit, syncthing Michael Orlitzky
2019-06-26 14:00 ` Michał Górny
2019-06-26 17:15 ` Ulrich Mueller

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