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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 28D10158086 for ; Mon, 29 Nov 2021 04:07:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6BBAC2BC062; Mon, 29 Nov 2021 04:07:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7D95D2BC016 for ; Mon, 29 Nov 2021 04:07:52 +0000 (UTC) Message-ID: <6109f0b12899a0db92bf92d20f696bb0e54a0458.camel@gentoo.org> Subject: Re: [gentoo-dev] rfc: allow -1 for ACCT_USER_ID and ACCT_GROUP_ID in ::gentoo From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Date: Mon, 29 Nov 2021 05:07:48 +0100 In-Reply-To: References: Organization: Gentoo Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.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 Content-Transfer-Encoding: 8bit X-Archives-Salt: 87884af4-9529-4a18-963e-9e86a603e125 X-Archives-Hash: c36e3c33f16825a7f1f880443509b1a0 On Sun, 2021-11-28 at 16:31 -0600, William Hubbs wrote: > All, > > I want to discuss why we ban -1 as the ACCT_USER_ID and ACCT_GROUP_ID setting > for all acct-user and acct-group packages in ::gentoo. > > Here are my thoughts about it. > > - As Gordon pointed out, it isn't necessary for us to care about UIDS/GIDS > most of the time. > > - I realize that our settings are suggestions, but the values we can > suggest are not infinite. We have run out once, and it is only a matter of > time until we do again. > > - If an end user needs to care about the UID/GID, they can easily override > the settings in make.conf. > > In short, I don't think we should be forcing maintainers to pick a > specific UID/GID for every package that needs a user/group. Most of the > time they can set ACCT_USER_ID and ACCT_GROUP_ID to -1. > > Thoughts? In particular, I want to hear from folks who disagree with me > about using -1 in the main tree for most packages. > Let me put this bluntly. Yes, most users don't care. However: 1) if we don't assign static UIDs/GIDs, the few users who care are gonna be in hell having to assign them all manually. Every single one of them, on every one of their systems. 2) if we do assign static UIDs/GIDs... what's the problem, again? Little extra work for a few devs? -- Best regards, Michał Górny