* [gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster
@ 2019-06-20 10:11 Michał Górny
2019-06-20 10:11 ` [gentoo-dev] [PATCH 1/7] acct-group/ftp: Add 'ftp' group (GID 21) Michał Górny
` (9 more replies)
0 siblings, 10 replies; 16+ messages in thread
From: Michał Górny @ 2019-06-20 10:11 UTC (permalink / raw
To: gentoo-dev; +Cc: Michał Górny
Hi,
Here's the RFC for first acct-* packages I'd like to commit. This is
also a request to reserve the respective UIDs/GIDs. Namely:
Groups:
ftp - 21
mail - 12 (on Linux, FreeBSD has it in baselayout)
Users:
ftp - 21
mail - 8 (on Linux, likewise)
postmaster - 14
I have included updates for respective *base packages, and copied
maintainers from those packages.
I have also started a proposed page to maintain list of used group
and user identifiers on the wiki [1].
Please review.
[1] https://wiki.gentoo.org/wiki/Project:Quality_Assurance/UID_GID_Assignment
--
Best regards,
Michał Górny
Michał Górny (7):
acct-group/ftp: Add 'ftp' group (GID 21)
acct-user/ftp: Add 'ftp' user (UID 21)
net-ftp/ftpbase: Utilize {group,user}/ftp
acct-group/mail: Add 'mail' group (GID 12 on Linux)
acct-user/mail: Add 'mail' user (UID 8 on Linux)
acct-user/postmaster: Add 'postmaster' user (UID 14)
net-mail/mailbase: Migrate to use acct-*/{mail,postmaster}
acct-group/ftp/ftp-0.ebuild | 9 +++++
acct-group/ftp/metadata.xml | 5 +++
acct-group/mail/mail-0.ebuild | 9 +++++
acct-group/mail/metadata.xml | 8 +++++
acct-user/ftp/ftp-0.ebuild | 14 ++++++++
acct-user/ftp/metadata.xml | 5 +++
acct-user/mail/mail-0.ebuild | 15 ++++++++
acct-user/mail/metadata.xml | 8 +++++
acct-user/postmaster/metadata.xml | 8 +++++
acct-user/postmaster/postmaster-0.ebuild | 15 ++++++++
net-ftp/ftpbase/ftpbase-0.01-r3.ebuild | 39 ++++++++++++++++++++
net-mail/mailbase/mailbase-1.5-r1.ebuild | 45 ++++++++++++++++++++++++
profiles/categories | 2 ++
13 files changed, 182 insertions(+)
create mode 100644 acct-group/ftp/ftp-0.ebuild
create mode 100644 acct-group/ftp/metadata.xml
create mode 100644 acct-group/mail/mail-0.ebuild
create mode 100644 acct-group/mail/metadata.xml
create mode 100644 acct-user/ftp/ftp-0.ebuild
create mode 100644 acct-user/ftp/metadata.xml
create mode 100644 acct-user/mail/mail-0.ebuild
create mode 100644 acct-user/mail/metadata.xml
create mode 100644 acct-user/postmaster/metadata.xml
create mode 100644 acct-user/postmaster/postmaster-0.ebuild
create mode 100644 net-ftp/ftpbase/ftpbase-0.01-r3.ebuild
create mode 100644 net-mail/mailbase/mailbase-1.5-r1.ebuild
--
2.22.0
^ permalink raw reply [flat|nested] 16+ messages in thread
* [gentoo-dev] [PATCH 1/7] acct-group/ftp: Add 'ftp' group (GID 21)
2019-06-20 10:11 [gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster Michał Górny
@ 2019-06-20 10:11 ` Michał Górny
2019-06-20 10:11 ` [gentoo-dev] [PATCH 2/7] acct-user/ftp: Add 'ftp' user (UID 21) Michał Górny
` (8 subsequent siblings)
9 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2019-06-20 10:11 UTC (permalink / raw
To: gentoo-dev; +Cc: Michał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
---
acct-group/ftp/ftp-0.ebuild | 9 +++++++++
acct-group/ftp/metadata.xml | 5 +++++
profiles/categories | 1 +
3 files changed, 15 insertions(+)
create mode 100644 acct-group/ftp/ftp-0.ebuild
create mode 100644 acct-group/ftp/metadata.xml
diff --git a/acct-group/ftp/ftp-0.ebuild b/acct-group/ftp/ftp-0.ebuild
new file mode 100644
index 000000000000..73978ac12484
--- /dev/null
+++ b/acct-group/ftp/ftp-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="File Transfer Protocol server user"
+ACCT_GROUP_ID=21
diff --git a/acct-group/ftp/metadata.xml b/acct-group/ftp/metadata.xml
new file mode 100644
index 000000000000..7a38bb900964
--- /dev/null
+++ b/acct-group/ftp/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/profiles/categories b/profiles/categories
index 4ff0d5562001..ebfc72f70759 100644
--- a/profiles/categories
+++ b/profiles/categories
@@ -1,3 +1,4 @@
+acct-group
app-accessibility
app-admin
app-antivirus
--
2.22.0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-dev] [PATCH 2/7] acct-user/ftp: Add 'ftp' user (UID 21)
2019-06-20 10:11 [gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster Michał Górny
2019-06-20 10:11 ` [gentoo-dev] [PATCH 1/7] acct-group/ftp: Add 'ftp' group (GID 21) Michał Górny
@ 2019-06-20 10:11 ` Michał Górny
2019-06-20 10:11 ` [gentoo-dev] [PATCH 3/7] net-ftp/ftpbase: Utilize {group,user}/ftp Michał Górny
` (7 subsequent siblings)
9 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2019-06-20 10:11 UTC (permalink / raw
To: gentoo-dev; +Cc: Michał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
---
acct-user/ftp/ftp-0.ebuild | 14 ++++++++++++++
acct-user/ftp/metadata.xml | 5 +++++
profiles/categories | 1 +
3 files changed, 20 insertions(+)
create mode 100644 acct-user/ftp/ftp-0.ebuild
create mode 100644 acct-user/ftp/metadata.xml
diff --git a/acct-user/ftp/ftp-0.ebuild b/acct-user/ftp/ftp-0.ebuild
new file mode 100644
index 000000000000..e33e289397a2
--- /dev/null
+++ b/acct-user/ftp/ftp-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="File Transfer Protocol server user"
+ACCT_USER_ID=21
+ACCT_USER_HOME=/home/ftp
+ACCT_USER_HOME_OWNER=root:ftp
+ACCT_USER_GROUPS=( ftp )
+
+acct-user_add_deps
diff --git a/acct-user/ftp/metadata.xml b/acct-user/ftp/metadata.xml
new file mode 100644
index 000000000000..7a38bb900964
--- /dev/null
+++ b/acct-user/ftp/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/profiles/categories b/profiles/categories
index ebfc72f70759..0f45f8cd1732 100644
--- a/profiles/categories
+++ b/profiles/categories
@@ -1,4 +1,5 @@
acct-group
+acct-user
app-accessibility
app-admin
app-antivirus
--
2.22.0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-dev] [PATCH 3/7] net-ftp/ftpbase: Utilize {group,user}/ftp
2019-06-20 10:11 [gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster Michał Górny
2019-06-20 10:11 ` [gentoo-dev] [PATCH 1/7] acct-group/ftp: Add 'ftp' group (GID 21) Michał Górny
2019-06-20 10:11 ` [gentoo-dev] [PATCH 2/7] acct-user/ftp: Add 'ftp' user (UID 21) Michał Górny
@ 2019-06-20 10:11 ` Michał Górny
2019-06-20 10:11 ` [gentoo-dev] [PATCH 4/7] acct-group/mail: Add 'mail' group (GID 12 on Linux) Michał Górny
` (6 subsequent siblings)
9 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2019-06-20 10:11 UTC (permalink / raw
To: gentoo-dev; +Cc: Michał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
---
net-ftp/ftpbase/ftpbase-0.01-r3.ebuild | 39 ++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
create mode 100644 net-ftp/ftpbase/ftpbase-0.01-r3.ebuild
diff --git a/net-ftp/ftpbase/ftpbase-0.01-r3.ebuild b/net-ftp/ftpbase/ftpbase-0.01-r3.ebuild
new file mode 100644
index 000000000000..c333840faa18
--- /dev/null
+++ b/net-ftp/ftpbase/ftpbase-0.01-r3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils pam user
+
+DESCRIPTION="FTP layout package"
+HOMEPAGE="https://www.gentoo.org/"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="pam"
+
+DEPEND="pam? ( virtual/pam )
+ !<net-ftp/proftpd-1.2.10-r6
+ !<net-ftp/pure-ftpd-1.0.20-r2
+ !<net-ftp/vsftpd-2.0.3-r1"
+RDEPEND="
+ acct-group/ftp
+ acct-user/ftp"
+
+S=${WORKDIR}
+
+src_install() {
+ # The ftpusers file is a list of people who are NOT allowed
+ # to use the ftp service.
+ insinto /etc
+ doins "${FILESDIR}/ftpusers" || die
+
+ cp "${FILESDIR}/ftp-pamd-include" "${T}" || die
+ if use elibc_FreeBSD; then
+ sed -i -e "/pam_listfile.so/s/^.*$/account required pam_ftpusers.so no_warn disallow/" \
+ "${T}"/ftp-pamd-include || die
+ fi
+ newpamd "${T}"/ftp-pamd-include ftp
+}
--
2.22.0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-dev] [PATCH 4/7] acct-group/mail: Add 'mail' group (GID 12 on Linux)
2019-06-20 10:11 [gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster Michał Górny
` (2 preceding siblings ...)
2019-06-20 10:11 ` [gentoo-dev] [PATCH 3/7] net-ftp/ftpbase: Utilize {group,user}/ftp Michał Górny
@ 2019-06-20 10:11 ` Michał Górny
2019-06-20 12:57 ` Ulrich Mueller
2019-06-20 10:11 ` [gentoo-dev] [PATCH 5/7] acct-user/mail: Add 'mail' user (UID 8 " Michał Górny
` (5 subsequent siblings)
9 siblings, 1 reply; 16+ messages in thread
From: Michał Górny @ 2019-06-20 10:11 UTC (permalink / raw
To: gentoo-dev; +Cc: Michał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
---
acct-group/mail/mail-0.ebuild | 9 +++++++++
acct-group/mail/metadata.xml | 8 ++++++++
2 files changed, 17 insertions(+)
create mode 100644 acct-group/mail/mail-0.ebuild
create mode 100644 acct-group/mail/metadata.xml
diff --git a/acct-group/mail/mail-0.ebuild b/acct-group/mail/mail-0.ebuild
new file mode 100644
index 000000000000..3e6491a31e24
--- /dev/null
+++ b/acct-group/mail/mail-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="Mail program group"
+ACCT_GROUP_ID=12
diff --git a/acct-group/mail/metadata.xml b/acct-group/mail/metadata.xml
new file mode 100644
index 000000000000..e6f3bf582ab7
--- /dev/null
+++ b/acct-group/mail/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>eras@gentoo.org</email>
+ <name>Eray Aslan</name>
+ </maintainer>
+</pkgmetadata>
--
2.22.0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-dev] [PATCH 5/7] acct-user/mail: Add 'mail' user (UID 8 on Linux)
2019-06-20 10:11 [gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster Michał Górny
` (3 preceding siblings ...)
2019-06-20 10:11 ` [gentoo-dev] [PATCH 4/7] acct-group/mail: Add 'mail' group (GID 12 on Linux) Michał Górny
@ 2019-06-20 10:11 ` Michał Górny
2019-06-20 10:11 ` [gentoo-dev] [PATCH 6/7] acct-user/postmaster: Add 'postmaster' user (UID 14) Michał Górny
` (4 subsequent siblings)
9 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2019-06-20 10:11 UTC (permalink / raw
To: gentoo-dev; +Cc: Michał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
---
acct-user/mail/mail-0.ebuild | 15 +++++++++++++++
acct-user/mail/metadata.xml | 8 ++++++++
2 files changed, 23 insertions(+)
create mode 100644 acct-user/mail/mail-0.ebuild
create mode 100644 acct-user/mail/metadata.xml
diff --git a/acct-user/mail/mail-0.ebuild b/acct-user/mail/mail-0.ebuild
new file mode 100644
index 000000000000..0b4854eb984e
--- /dev/null
+++ b/acct-user/mail/mail-0.ebuild
@@ -0,0 +1,15 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="Mail program user"
+ACCT_USER_ID=8
+ACCT_USER_HOME=/var/spool/mail
+ACCT_USER_HOME_OWNER=root:mail
+ACCT_USER_HOME_PERMS=03775
+ACCT_USER_GROUPS=( mail )
+
+acct-user_add_deps
diff --git a/acct-user/mail/metadata.xml b/acct-user/mail/metadata.xml
new file mode 100644
index 000000000000..e6f3bf582ab7
--- /dev/null
+++ b/acct-user/mail/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>eras@gentoo.org</email>
+ <name>Eray Aslan</name>
+ </maintainer>
+</pkgmetadata>
--
2.22.0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-dev] [PATCH 6/7] acct-user/postmaster: Add 'postmaster' user (UID 14)
2019-06-20 10:11 [gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster Michał Górny
` (4 preceding siblings ...)
2019-06-20 10:11 ` [gentoo-dev] [PATCH 5/7] acct-user/mail: Add 'mail' user (UID 8 " Michał Górny
@ 2019-06-20 10:11 ` Michał Górny
2019-06-20 10:11 ` [gentoo-dev] [PATCH 7/7] net-mail/mailbase: Migrate to use acct-*/{mail,postmaster} Michał Górny
` (3 subsequent siblings)
9 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2019-06-20 10:11 UTC (permalink / raw
To: gentoo-dev; +Cc: Michał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
---
acct-user/postmaster/metadata.xml | 8 ++++++++
acct-user/postmaster/postmaster-0.ebuild | 15 +++++++++++++++
2 files changed, 23 insertions(+)
create mode 100644 acct-user/postmaster/metadata.xml
create mode 100644 acct-user/postmaster/postmaster-0.ebuild
diff --git a/acct-user/postmaster/metadata.xml b/acct-user/postmaster/metadata.xml
new file mode 100644
index 000000000000..e6f3bf582ab7
--- /dev/null
+++ b/acct-user/postmaster/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>eras@gentoo.org</email>
+ <name>Eray Aslan</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/acct-user/postmaster/postmaster-0.ebuild b/acct-user/postmaster/postmaster-0.ebuild
new file mode 100644
index 000000000000..6f182fb97170
--- /dev/null
+++ b/acct-user/postmaster/postmaster-0.ebuild
@@ -0,0 +1,15 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit acct-user
+
+DESCRIPTION="Postmaster user"
+ACCT_USER_ID=14
+ACCT_USER_HOME=/var/spool/mail
+ACCT_USER_HOME_OWNER=root:mail
+ACCT_USER_HOME_PERMS=03775
+ACCT_USER_GROUPS=( mail )
+
+acct-user_add_deps
--
2.22.0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-dev] [PATCH 7/7] net-mail/mailbase: Migrate to use acct-*/{mail,postmaster}
2019-06-20 10:11 [gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster Michał Górny
` (5 preceding siblings ...)
2019-06-20 10:11 ` [gentoo-dev] [PATCH 6/7] acct-user/postmaster: Add 'postmaster' user (UID 14) Michał Górny
@ 2019-06-20 10:11 ` Michał Górny
2019-06-20 12:55 ` [gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster Ulrich Mueller
` (2 subsequent siblings)
9 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2019-06-20 10:11 UTC (permalink / raw
To: gentoo-dev; +Cc: Michał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
---
net-mail/mailbase/mailbase-1.5-r1.ebuild | 45 ++++++++++++++++++++++++
1 file changed, 45 insertions(+)
create mode 100644 net-mail/mailbase/mailbase-1.5-r1.ebuild
diff --git a/net-mail/mailbase/mailbase-1.5-r1.ebuild b/net-mail/mailbase/mailbase-1.5-r1.ebuild
new file mode 100644
index 000000000000..8a212cf0d798
--- /dev/null
+++ b/net-mail/mailbase/mailbase-1.5-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit pam
+
+DESCRIPTION="MTA layout package"
+SRC_URI=""
+HOMEPAGE="https://www.gentoo.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="pam"
+
+RDEPEND="
+ acct-group/mail
+ acct-user/mail
+ acct-user/postmaster
+ pam? ( virtual/pam )"
+
+S=${WORKDIR}
+
+src_install() {
+ dodir /etc/mail
+ insinto /etc/mail
+ doins "${FILESDIR}"/aliases
+ insinto /etc
+ doins "${FILESDIR}"/mailcap
+ doman "${FILESDIR}"/mailcap.5
+
+ dosym spool/mail /var/mail
+
+ newpamd "${FILESDIR}"/common-pamd-include pop
+ newpamd "${FILESDIR}"/common-pamd-include imap
+ if use pam ; then
+ local p
+ for p in pop3 pop3s pops ; do
+ dosym pop /etc/pam.d/${p}
+ done
+ for p in imap4 imap4s imaps ; do
+ dosym imap /etc/pam.d/${p}
+ done
+ fi
+}
--
2.22.0
^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: [gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster
2019-06-20 10:11 [gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster Michał Górny
` (6 preceding siblings ...)
2019-06-20 10:11 ` [gentoo-dev] [PATCH 7/7] net-mail/mailbase: Migrate to use acct-*/{mail,postmaster} Michał Górny
@ 2019-06-20 12:55 ` Ulrich Mueller
2019-06-20 18:33 ` Georgy Yakovlev
2019-06-24 10:30 ` Michał Górny
9 siblings, 0 replies; 16+ messages in thread
From: Ulrich Mueller @ 2019-06-20 12:55 UTC (permalink / raw
To: Michał Górny; +Cc: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 472 bytes --]
>>>>> On Thu, 20 Jun 2019, Michał Górny wrote:
> Here's the RFC for first acct-* packages I'd like to commit. This is
> also a request to reserve the respective UIDs/GIDs. Namely:
> Groups:
> ftp - 21
> mail - 12 (on Linux, FreeBSD has it in baselayout)
> Users:
> ftp - 21
> mail - 8 (on Linux, likewise)
> postmaster - 14
This is what is currently used by packages in the tree, and I see no
conflicts for either names or ids.
Ulrich
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-dev] [PATCH 4/7] acct-group/mail: Add 'mail' group (GID 12 on Linux)
2019-06-20 10:11 ` [gentoo-dev] [PATCH 4/7] acct-group/mail: Add 'mail' group (GID 12 on Linux) Michał Górny
@ 2019-06-20 12:57 ` Ulrich Mueller
2019-06-20 13:07 ` Michał Górny
0 siblings, 1 reply; 16+ messages in thread
From: Ulrich Mueller @ 2019-06-20 12:57 UTC (permalink / raw
To: Michał Górny; +Cc: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 403 bytes --]
>>>>> On Thu, 20 Jun 2019, Michał Górny wrote:
> --- /dev/null
> +++ b/acct-group/mail/mail-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="Mail program group"
> +ACCT_GROUP_ID=12
Shouldn't this one have KEYWORDS for Linux only?
Ulrich
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-dev] [PATCH 4/7] acct-group/mail: Add 'mail' group (GID 12 on Linux)
2019-06-20 12:57 ` Ulrich Mueller
@ 2019-06-20 13:07 ` Michał Górny
0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2019-06-20 13:07 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 683 bytes --]
On Thu, 2019-06-20 at 14:57 +0200, Ulrich Mueller wrote:
> > > > > > On Thu, 20 Jun 2019, Michał Górny wrote:
> > --- /dev/null
> > +++ b/acct-group/mail/mail-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="Mail program group"
> > +ACCT_GROUP_ID=12
>
> Shouldn't this one have KEYWORDS for Linux only?
>
I was thinking about it but then we'd have to conditionally depend on it
everywhere, and this will make things painful e.g. for acct-
user/postmaster.
--
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] 16+ messages in thread
* Re: [gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster
2019-06-20 10:11 [gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster Michał Górny
` (7 preceding siblings ...)
2019-06-20 12:55 ` [gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster Ulrich Mueller
@ 2019-06-20 18:33 ` Georgy Yakovlev
2019-06-20 18:35 ` Robin H. Johnson
2019-06-20 18:43 ` Michał Górny
2019-06-24 10:30 ` Michał Górny
9 siblings, 2 replies; 16+ messages in thread
From: Georgy Yakovlev @ 2019-06-20 18:33 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 562 bytes --]
On Thursday, June 20, 2019 3:11:07 AM PDT Michał Górny wrote:
> Hi,
>
> Please review.
>
> [1]
> https://wiki.gentoo.org/wiki/Project:Quality_Assurance/UID_GID_Assignment
>
it's probably wort adding links to other distro standard UIDs as a reference.
RHEL[1]
Fedora[2]
Arch[3]
[1] https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/deployment_guide/s1-users-groups-standard-users
[2] https://pagure.io/setup/blob/master/f/uidgid
[3] https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster
2019-06-20 18:33 ` Georgy Yakovlev
@ 2019-06-20 18:35 ` Robin H. Johnson
2019-06-20 18:41 ` Michał Górny
2019-06-20 18:43 ` Michał Górny
1 sibling, 1 reply; 16+ messages in thread
From: Robin H. Johnson @ 2019-06-20 18:35 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1130 bytes --]
On Thu, Jun 20, 2019 at 11:33:04AM -0700, Georgy Yakovlev wrote:
> On Thursday, June 20, 2019 3:11:07 AM PDT Michał Górny wrote:
> > Hi,
>
> >
> > Please review.
> >
> > [1]
> > https://wiki.gentoo.org/wiki/Project:Quality_Assurance/UID_GID_Assignment
> >
>
> it's probably wort adding links to other distro standard UIDs as a reference.
>
> RHEL[1]
> Fedora[2]
> Arch[3]
>
> [1] https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/deployment_guide/s1-users-groups-standard-users
> [2] https://pagure.io/setup/blob/master/f/uidgid
> [3] https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database
Here's the Debian ones to add:
https://www.debian.org/doc/debian-policy/ch-opersys.html#users-and-groups
https://salsa.debian.org/debian/base-passwd
I don't know if Ubuntu has extra ones beyond that, probably worth
researching.
--
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail : robbat2@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1113 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster
2019-06-20 18:35 ` Robin H. Johnson
@ 2019-06-20 18:41 ` Michał Górny
0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2019-06-20 18:41 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1126 bytes --]
On Thu, 2019-06-20 at 18:35 +0000, Robin H. Johnson wrote:
> On Thu, Jun 20, 2019 at 11:33:04AM -0700, Georgy Yakovlev wrote:
> > On Thursday, June 20, 2019 3:11:07 AM PDT Michał Górny wrote:
> > > Hi,
> > > Please review.
> > >
> > > [1]
> > > https://wiki.gentoo.org/wiki/Project:Quality_Assurance/UID_GID_Assignment
> > >
> >
> > it's probably wort adding links to other distro standard UIDs as a reference.
> >
> > RHEL[1]
> > Fedora[2]
> > Arch[3]
> >
> > [1] https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/deployment_guide/s1-users-groups-standard-users
> > [2] https://pagure.io/setup/blob/master/f/uidgid
> > [3] https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database
>
> Here's the Debian ones to add:
> https://www.debian.org/doc/debian-policy/ch-opersys.html#users-and-groups
> https://salsa.debian.org/debian/base-passwd
That actually looks like baselayout in Gentoo, so not much value there.
>
> I don't know if Ubuntu has extra ones beyond that, probably worth
> researching.
>
--
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] 16+ messages in thread
* Re: [gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster
2019-06-20 18:33 ` Georgy Yakovlev
2019-06-20 18:35 ` Robin H. Johnson
@ 2019-06-20 18:43 ` Michał Górny
1 sibling, 0 replies; 16+ messages in thread
From: Michał Górny @ 2019-06-20 18:43 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 781 bytes --]
On Thu, 2019-06-20 at 11:33 -0700, Georgy Yakovlev wrote:
> On Thursday, June 20, 2019 3:11:07 AM PDT Michał Górny wrote:
> > Hi,
> > Please review.
> >
> > [1]
> > https://wiki.gentoo.org/wiki/Project:Quality_Assurance/UID_GID_Assignment
> >
>
> it's probably wort adding links to other distro standard UIDs as a reference.
>
> RHEL[1]
> Fedora[2]
> Arch[3]
>
> [1] https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/deployment_guide/s1-users-groups-standard-users
> [2] https://pagure.io/setup/blob/master/f/uidgid
> [3] https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database
Added, thanks. If you find any further entries, feel free to edit
the page directly.
--
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] 16+ messages in thread
* Re: [gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster
2019-06-20 10:11 [gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster Michał Górny
` (8 preceding siblings ...)
2019-06-20 18:33 ` Georgy Yakovlev
@ 2019-06-24 10:30 ` Michał Górny
9 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2019-06-24 10:30 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1211 bytes --]
On Thu, 2019-06-20 at 12:11 +0200, Michał Górny wrote:
> Hi,
>
> Here's the RFC for first acct-* packages I'd like to commit. This is
> also a request to reserve the respective UIDs/GIDs. Namely:
>
> Groups:
> ftp - 21
> mail - 12 (on Linux, FreeBSD has it in baselayout)
>
> Users:
> ftp - 21
> mail - 8 (on Linux, likewise)
> postmaster - 14
>
> I have included updates for respective *base packages, and copied
> maintainers from those packages.
>
> I have also started a proposed page to maintain list of used group
> and user identifiers on the wiki [1].
>
> Please review.
>
> [1] https://wiki.gentoo.org/wiki/Project:Quality_Assurance/UID_GID_Assignment
>
> --
> Best regards,
> Michał Górny
>
>
> Michał Górny (7):
> acct-group/ftp: Add 'ftp' group (GID 21)
> acct-user/ftp: Add 'ftp' user (UID 21)
> net-ftp/ftpbase: Utilize {group,user}/ftp
> acct-group/mail: Add 'mail' group (GID 12 on Linux)
> acct-user/mail: Add 'mail' user (UID 8 on Linux)
> acct-user/postmaster: Add 'postmaster' user (UID 14)
> net-mail/mailbase: Migrate to use acct-*/{mail,postmaster}
>
Pushed now.
--
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] 16+ messages in thread
end of thread, other threads:[~2019-06-24 10:30 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-20 10:11 [gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster Michał Górny
2019-06-20 10:11 ` [gentoo-dev] [PATCH 1/7] acct-group/ftp: Add 'ftp' group (GID 21) Michał Górny
2019-06-20 10:11 ` [gentoo-dev] [PATCH 2/7] acct-user/ftp: Add 'ftp' user (UID 21) Michał Górny
2019-06-20 10:11 ` [gentoo-dev] [PATCH 3/7] net-ftp/ftpbase: Utilize {group,user}/ftp Michał Górny
2019-06-20 10:11 ` [gentoo-dev] [PATCH 4/7] acct-group/mail: Add 'mail' group (GID 12 on Linux) Michał Górny
2019-06-20 12:57 ` Ulrich Mueller
2019-06-20 13:07 ` Michał Górny
2019-06-20 10:11 ` [gentoo-dev] [PATCH 5/7] acct-user/mail: Add 'mail' user (UID 8 " Michał Górny
2019-06-20 10:11 ` [gentoo-dev] [PATCH 6/7] acct-user/postmaster: Add 'postmaster' user (UID 14) Michał Górny
2019-06-20 10:11 ` [gentoo-dev] [PATCH 7/7] net-mail/mailbase: Migrate to use acct-*/{mail,postmaster} Michał Górny
2019-06-20 12:55 ` [gentoo-dev] [PATCH 0/7] User/group assignment: ftp, mail, postmaster Ulrich Mueller
2019-06-20 18:33 ` Georgy Yakovlev
2019-06-20 18:35 ` Robin H. Johnson
2019-06-20 18:41 ` Michał Górny
2019-06-20 18:43 ` Michał Górny
2019-06-24 10:30 ` Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox