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 4C60B158020 for ; Thu, 20 Oct 2022 06:21:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 63FC7E085A; Thu, 20 Oct 2022 06:21:12 +0000 (UTC) Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 393E4E0817 for ; Thu, 20 Oct 2022 06:21:12 +0000 (UTC) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1olOvW-0008LL-DA for gentoo-dev@lists.gentoo.org; Thu, 20 Oct 2022 08:21:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Martin Vaeth Subject: [gentoo-dev] Re: Last rites: user.eclass Date: Thu, 20 Oct 2022 06:21:03 -0000 (UTC) Message-ID: References: User-Agent: slrn/1.0.3 (Linux) 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 X-Archives-Salt: f62f81f8-5933-4187-a467-85ebaa7055d8 X-Archives-Hash: 9dfe5b3bd288813e9e121cd3587558e5 Mike Gilbert wrote: > On Wed, Oct 19, 2022 at 3:08 PM Martin Vaeth wrote: >> >> Mike Gilbert wrote: >> > user.eclass [...] >> >> It is needed for ebuilds in non-gentoo repositories which cannot >> reserve a fixed number for users and groups. > > If you set ACCT_USER_ID=-1 or ACCT_GROUP_ID=-1, they > will pick an available UID/GID upon installation. I was not aware of that. Indeed, it was probably added after I looked at the documentation last time: https://github.com/gentoo-mirror/gentoo/commit/ c871b87b56208684b0a1fedeaf24fe10943748e2 Sorry for the noise.