From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5095D138334 for ; Thu, 26 Dec 2019 22:16:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 611CDE0A93; Thu, 26 Dec 2019 22:16:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 375D0E0A93 for ; Thu, 26 Dec 2019 22:16:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D43BD34DBAE for ; Thu, 26 Dec 2019 22:16:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F0A1035 for ; Thu, 26 Dec 2019 22:16:46 +0000 (UTC) From: "Göktürk Yüksek" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Göktürk Yüksek" Message-ID: <1577397713.19a7ba32b83fc16f51f907358a978fe6ace4bedb.gokturk@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/users-and-groups/ X-VCS-Repository: proj/devmanual X-VCS-Files: ebuild-writing/users-and-groups/text.xml X-VCS-Directories: ebuild-writing/users-and-groups/ X-VCS-Committer: gokturk X-VCS-Committer-Name: Göktürk Yüksek X-VCS-Revision: 19a7ba32b83fc16f51f907358a978fe6ace4bedb X-VCS-Branch: master Date: Thu, 26 Dec 2019 22:16:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e1375d64-9401-43ed-8007-a34186197333 X-Archives-Hash: ab907cfa0d817e90f3243f9cf5e8f4fe commit: 19a7ba32b83fc16f51f907358a978fe6ace4bedb Author: Michał Górny gentoo org> AuthorDate: Fri Dec 20 16:47:23 2019 +0000 Commit: Göktürk Yüksek gentoo org> CommitDate: Thu Dec 26 22:01:53 2019 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=19a7ba32 ebuild-writing/users-and-groups: Update policy Closes: https://github.com/gentoo/devmanual/pull/125 Signed-off-by: Michał Górny gentoo.org> Signed-off-by: Göktürk Yüksek gentoo.org> ebuild-writing/users-and-groups/text.xml | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/ebuild-writing/users-and-groups/text.xml b/ebuild-writing/users-and-groups/text.xml index 26d23ab..1bb87b3 100644 --- a/ebuild-writing/users-and-groups/text.xml +++ b/ebuild-writing/users-and-groups/text.xml @@ -6,21 +6,26 @@

Creating users and groups is governed by GLEP 81. It is implemented -via acct-user and acct-group eclasses. +link="https://gentoo.org/glep/glep-0081.html">GLEP 81. It is implemented +via acct-user and acct-group eclasses. New users and groups +are created as packages respectively in acct-user and acct-group +categories.

-New users and groups are created as packages respectively in acct-user -and acct-group categories. First, choose UIDs/GIDs that are not used by -any other package. You should consult the -UID/GID assignment list maintained by the QA project, and possibly the -UID/GID registries maintained by other distributions that are linked on the -same page. Afterwards, send the proposed ebuilds to the gentoo-dev -mailing list for review. The naming conventions for user and group ebuilds are -explained in the following sections. Finally, after getting positive reviews, -commit the new user and group packages. +First, check the UID/GID +assignment list and choose a free UID/GID in range 101..499. If you are +adding a matching user and group, use the same number for both. When in doubt, +take the next free number from 499 downwards. +

+ +

+The aforementioned list can be found in the +data/api.git repository +on git.gentoo.org. Add your new user(s) and group(s) +to the uid-gid.txt file and push them before adding the actual packages. +This counts as reserving the identifiers and will prevent collisions. +Afterwards, you can push the new ebuilds.