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 41C7B138334 for ; Thu, 20 Jun 2019 14:15:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BA3CE0A93; Thu, 20 Jun 2019 14:15:17 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 DB760E092B for ; Thu, 20 Jun 2019 14:15:16 +0000 (UTC) Received: from [192.168.1.100] (c-98-218-46-55.hsd1.md.comcast.net [98.218.46.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mjo) by smtp.gentoo.org (Postfix) with ESMTPSA id E210A346540 for ; Thu, 20 Jun 2019 14:15:15 +0000 (UTC) Subject: Re: [gentoo-dev] [PATCH v3] glep-0081: User and group management via dedicated packages To: gentoo-dev@lists.gentoo.org References: <20190609113955.19208-1-mgorny@gentoo.org> <8d6601e6-a295-778e-5dc8-5d9f01701c7d@gentoo.org> From: Michael Orlitzky Message-ID: Date: Thu, 20 Jun 2019 10:15:08 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: <8d6601e6-a295-778e-5dc8-5d9f01701c7d@gentoo.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Archives-Salt: ef608d18-ab7d-4a67-bfe8-7da7b5d95843 X-Archives-Hash: 33903763d46d193a25e4c03c4851bfc3 On 6/20/19 9:53 AM, Brian Evans wrote: >> + >> +Following the acceptance of this GLEP, all new users and groups must >> +be created via user/group packages as defined in this GLEP. The old >> +method may still be used for existing users/groups, in existing >> +packages. >> + >> +All new users and groups must have unique UIDs/GIDs assigned >> +by developers. The developer adding them is responsible for checking >> +for collisions. > > What significance will such numbers have when a daemon uses a new > UID/GID and really doesn't care what it is? Why do we have to go > through the effort of assigning fixed IDs at random? > People want this. Here's the thread from 2017: https://archives.gentoo.org/gentoo-dev/message/2355afd4f5b72651e2ff47ea8b10c1fe Selectively quoting: * I might be not following correctly, but due to how filesystems/etc work it is probably desirable to have consistent UID/GIDs as much as reasonably possible. -rich0 * I don't think we need to have stable UIDs/GIDs in the "normal" case of standalone users with a single Gentoo system at home. The people who need predictable UIDs/GIDs are the "enterprise" users or the home users who use things such as NFS. I work for a company that uses Gentoo, we have a bunch of workarounds to make sure that UIDs and GIDs are stable. -chutzpah * I for one am more than willing to do whatever shell commands necessary to make all my Gentoo installs agree on UIDs and get [fixed UID proposal] now, but I realise most people are not. -A. Wilcox * YES! I think after [fixed UIDs] is finalized, it should be part of the handbook installation as a default, but selectable. -james * If the user does not exist then create it. Preferably use a pre- assigned UID/GID so there is some consistency with most other Gentoo things out there. -Alan McKinnon This will make a lot of peoples' lives easier, and is very easy to do.