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 1CE811382C5 for ; Mon, 4 Jan 2021 16:34:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5C658E09F5; Mon, 4 Jan 2021 16:34:09 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 1F2B5E09DD for ; Mon, 4 Jan 2021 16:34:09 +0000 (UTC) Subject: Re: [gentoo-dev] [PATCH] acct-user.eclass: don't modify existing user by default To: gentoo-dev@lists.gentoo.org References: <20210104013558.20072-1-whissi@gentoo.org> <60fac781-e080-999c-e83e-c657d5b89d18@gentoo.org> <4ca9ea6d4b2c2f0f7c29319d2c0015e2fec2b773.camel@gentoo.org> <6876f32c-5ea8-5c99-41c1-7c8963f5a976@gentoo.org> <5f23b96b-0c35-f564-e5a0-e6eb5abb387b@gentoo.org> From: Thomas Deutschmann Organization: Gentoo Linux Message-ID: <14fba9dd-ac0f-9510-6970-eed430c26687@gentoo.org> Date: Mon, 4 Jan 2021 17:34:04 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 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: <5f23b96b-0c35-f564-e5a0-e6eb5abb387b@gentoo.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HTaiZJaW8pkmTy1lUKr6QxqQVKwxfbsmN" X-Archives-Salt: 4b50da6a-cb23-4d80-8305-cf54ff24af8a X-Archives-Hash: a58e587f28aeb2c3be495e1dea7c8630 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --HTaiZJaW8pkmTy1lUKr6QxqQVKwxfbsmN Content-Type: multipart/mixed; boundary="rcGIdKSQ2l54CVJbLIwn59OMXlWLa6rtK"; protected-headers="v1" From: Thomas Deutschmann To: gentoo-dev@lists.gentoo.org Message-ID: <14fba9dd-ac0f-9510-6970-eed430c26687@gentoo.org> Subject: Re: [gentoo-dev] [PATCH] acct-user.eclass: don't modify existing user by default References: <20210104013558.20072-1-whissi@gentoo.org> <60fac781-e080-999c-e83e-c657d5b89d18@gentoo.org> <4ca9ea6d4b2c2f0f7c29319d2c0015e2fec2b773.camel@gentoo.org> <6876f32c-5ea8-5c99-41c1-7c8963f5a976@gentoo.org> <5f23b96b-0c35-f564-e5a0-e6eb5abb387b@gentoo.org> In-Reply-To: <5f23b96b-0c35-f564-e5a0-e6eb5abb387b@gentoo.org> --rcGIdKSQ2l54CVJbLIwn59OMXlWLa6rtK Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2021-01-04 17:30, Thomas Deutschmann wrote: > On 2021-01-04 17:28, Micha=C5=82 G=C3=B3rny wrote: >> It must be a bug in your version of the eclass.=C2=A0 I've just reemer= ged >> acct-group/wheel and to*my great surprise*=C2=A0 I'm still there.=C2=A0= How >> unexpected! >=20 > That's why I wrote >=20 > >=C2=A0 (luckily groups like wheel don't have users...) >=20 > I meant that there is no acct-user/wheel because otherwise this group=20 > would get cleaned (reset), too. Best example is portage. Follow handbook. Add your user to portage's grou= p: > usermod -aG portage Now re-emerge acct-user/portage... > # usermod -aG thomas portage > # id portage > uid=3D250(portage) gid=3D250(portage) groups=3D250(portage),1000(thomas= ) > # emerge -a1 acct-user/portage >=20 > These are the packages that would be merged, in order: >=20 > Calculating dependencies... done! > [ebuild R ] acct-user/portage-0::gentoo 0 KiB >=20 > Total: 1 package (1 reinstall), Size of downloads: 0 KiB >=20 > Would you like to merge these packages? [Yes/No] y >>>> Verifying ebuild manifests >>>> Running pre-merge checks for acct-user/portage-0 >>>> Emerging (1 of 1) acct-user/portage-0::gentoo >>>> Installing (1 of 1) acct-user/portage-0::gentoo >>>> Jobs: 1 of 1 complete >>>> Auto-cleaning packages... >=20 >>>> No outdated packages were found on your system. >=20 > * GNU info directory index is up-to-date. > # id portage > uid=3D250(portage) gid=3D250(portage) groups=3D250(portage) --=20 Regards, Thomas Deutschmann / Gentoo Linux Developer fpr: C4DD 695F A713 8F24 2AA1 5638 5849 7EE5 1D5D 74A5 --rcGIdKSQ2l54CVJbLIwn59OMXlWLa6rtK-- --HTaiZJaW8pkmTy1lUKr6QxqQVKwxfbsmN Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEExKRzo+LDXJgXHuURObr3Jv2BVkFAl/zQ3wFAwAAAAAACgkQRObr3Jv2BVle tgf/ZGk1xnMLCo9bOzdJTCp6TsaDicOWSDryhLen7lh/AivAaU2sQtypn3mTomi53edLN9epsxOU TwLhRXAHQ+7eyjybQzXFNPZHCz7T+sJ+sXsKnnalOwSyWa2glcksmGUomSQrQxO1Gnr0zSLAN8SE 8D1XCM3LvzLd92gkwTExlVwt/EZbc0nzTVv8wdq4IPidAeNtCqTlbacd2V3vdzOtpte9q+a6fGJN wFZ5Tr7lPEHCZ9SL0hs+xin2MWQPKMX6vHcxMwmmCm5XvsloAZJM70L+KbTQbYaEcjqA+4c18EZQ LSQQZDwtRciqABIe7pI4uCZpZ5VQ1YV7fxLbiP6P4Q== =KKvh -----END PGP SIGNATURE----- --HTaiZJaW8pkmTy1lUKr6QxqQVKwxfbsmN--