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 10B7E158086 for ; Wed, 1 Dec 2021 01:32:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D5099E0882; Wed, 1 Dec 2021 01:32:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4EBD7E0876 for ; Wed, 1 Dec 2021 01:32:48 +0000 (UTC) Received: (nullmailer pid 17938 invoked by uid 1000); Wed, 01 Dec 2021 01:32:45 -0000 Date: Tue, 30 Nov 2021 19:32:45 -0600 From: William Hubbs To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] rfc: allow -1 for ACCT_USER_ID and ACCT_GROUP_ID in ::gentoo Message-ID: Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <6109f0b12899a0db92bf92d20f696bb0e54a0458.camel@gentoo.org> 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-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Qy4zV5PkJ2prXLCe" Content-Disposition: inline In-Reply-To: X-Archives-Salt: 25bbe839-afe2-47c3-8ecd-aa726fd82ef5 X-Archives-Hash: ee94b97e532a9d3efaa8b19b1a29357d --Qy4zV5PkJ2prXLCe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 30, 2021 at 12:59:18PM +0100, Ulrich Mueller wrote: > >>>>> On Tue, 30 Nov 2021, James Cloos wrote: >=20 > >>>>> "UM" =3D=3D Ulrich Mueller writes: > UM> Also, why would one allocate UIDs in the 500..999 range (1000 is fine, > UM> actually)? Gentoo always had UID_MIN=3D1000 and SYS_UID_MAX=3D999. >=20 > > why do you thing gentoo is everyone's first or only dist on their > > network? >=20 > > or even on any given box? >=20 > I was specifically asking about Gentoo infra there. >=20 > > forcing existing boxen to change just because a new dist is added > > is also unacceptable. >=20 > > for me though, it would be enough if there is something i can add to > > make.conf to ensure that the acct-user and acct-group builds avoid the > > ranges i already use. >=20 > > that may also work for others. >=20 > UIDs in the range SYS_UID_MIN..SYS_UID_MAX (i.e. 101..999) were always > used for dynamic allocation of system accounts. GLEP 81 hasn't really > changed anything there, except that the ebuild will now suggest an ID to > try first. This is the part of this that I don't understand. If we aren't enforcing an ID, why do we care which ID to try first? It seems to be an unnecessary step since users can pick the IDs they want by putting settings in make.conf. William --Qy4zV5PkJ2prXLCe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQTVeuxEZo4uUHOkQAluVBb0MMRlOAUCYabQtAAKCRBuVBb0MMRl OEFUAJ41cn2ESSZpWRZiYsf4XD0JrSU0rwCeP5fJL0a2StEhpWyC8jue2t5disg= =Ziww -----END PGP SIGNATURE----- --Qy4zV5PkJ2prXLCe--