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 53564138334 for ; Sat, 14 Dec 2019 21:17:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B2630E0874; Sat, 14 Dec 2019 21:17:05 +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 1A473E0867 for ; Sat, 14 Dec 2019 21:17:05 +0000 (UTC) Received: from pomiot (c142-245.icpnet.pl [85.221.142.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 9A3CF34D883; Sat, 14 Dec 2019 21:17:03 +0000 (UTC) Message-ID: <51af6b01483030c625bf805d4b4f3b8175dd6790.camel@gentoo.org> Subject: Re: [gentoo-dev] RFC: acct-user/... modifies existing user sometimes From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Date: Sat, 14 Dec 2019 22:16:58 +0100 In-Reply-To: <51d34968-f80e-1fb8-462c-460785a862e2@earthlink.net> References: <51d34968-f80e-1fb8-462c-460785a862e2@earthlink.net> Organization: Gentoo Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-YqUtatxdPgyaK4eqW/am" User-Agent: Evolution 3.32.4 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 X-Archives-Salt: 6182dac4-c53f-4974-85e8-18349d081fd8 X-Archives-Hash: d868bef13880e0645aa97bd6f3f1186f --=-YqUtatxdPgyaK4eqW/am Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, 2019-12-14 at 14:47 -0600, The Bit Pit wrote: > acct-user/mythtv modifies the existing user if that user is not logged= =20 > in. Mythtv has been around for years and users have created specialized= =20 > configurations for the mythtv user. They do not like changes to the=20 > mythtv user when upgrading. >=20 > A couple of solutions: >=20 > 1) > the ebuild does not depend on acct-user/mythtv when the user already=20 > exists. This prevents both the changing and deletion of the existing user= . >=20 > What is the gentoo way to discover a preexisting user? Repoman does not= =20 > like anything I tried using egetent passwd mythtv >=20 > 2) Add something to the acct-user/mythtv to (conditionally) prevent any= =20 > change if there is a preexisting user on the system. The acct-user=20 > unmerge would also check that the user was not modified since it was=20 > created by acct-user. This seems like a lot of work. >=20 Users are supposed to create a local acct-user/mythtv override if they want to use a custom setup. --=20 Best regards, Micha=C5=82 G=C3=B3rny --=-YqUtatxdPgyaK4eqW/am Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQGTBAABCgB9FiEEx2qEUJQJjSjMiybFY5ra4jKeJA4FAl31UUtfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEM3 NkE4NDUwOTQwOThEMjhDQzhCMjZDNTYzOUFEQUUyMzI5RTI0MEUACgkQY5ra4jKe JA7MaQf8DgRXXER/PJ5WDaTv4X/hJ91ZeVxBeCCoHzUyJCEDId9qZwx8CwBC2eSL JPOtDGW0q3EZhrmDJXrd3aB8GizrcXMqHD5FsE2kH3indf19s0x7DZqV2lBELsaU 68sVDpA4GXuPrIkPRENY3PtVy5ehNlXux/ViLl0SQ0fFXS2Ej7564plXrDNbmifT qY1i0xCkJn0kZ3arMuAGGNA6TNtCNp1NnoXMGEkbKy+1WjRWrtJhVDq00nU5QEu9 Gl5lZpdRwHlt6WBR77RTB6Sq8qO70FOyC+kzElq/GDcTEDdn43NS5pAGXQ+yuaQU h4urjJ54JfhH4TanIPZxOmq/ufSHTA== =StoE -----END PGP SIGNATURE----- --=-YqUtatxdPgyaK4eqW/am--