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 D4767138350 for ; Wed, 12 Feb 2020 18:02:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 98E3BE0848; Wed, 12 Feb 2020 18:02:46 +0000 (UTC) Received: from lovelace.chead.ca (lovelace.chead.ca [IPv6:2002:a2df:e2a8::1]) (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 67A9AE0829 for ; Wed, 12 Feb 2020 18:02:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=chead.ca; s=lovelace20151122; h=Message-ID:From:To:Subject:Content-Type: Content-Transfer-Encoding:MIME-Version:Date:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=YFEaJWR5MTLauLjL09RFXfRS3Uaj+Cf/Z11/fiQvWSI=; b=ozjWHnjH83Eu//SKwPzFQEO3Ol BX8gZNKwzZB4Dyz25w8vYJE2T9b1iPuc44m1xENXBDDSjCbtsygJ+U2b1v1CztWeig4X4s/kpfioz ub8+2LIPNstkR04bDv6RDQ63CcdQzhUHM/NtY4vEfhwNNKe7Rp8qXdqdbey0yZtl2vns=; Received: from [199.119.235.197] (helo=[10.184.108.118]) by lovelace.chead.ca with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92.2) (envelope-from ) id 1j1wLU-0007Sq-W1 for gentoo-dev@lists.gentoo.org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B0CUcSMRaZFrcYaf+0q1bQqi 2WOXoG5c0GLpibfiYqHBSIkCswQYAQgAJhYhBHMndXNmZ6dTNrZLfqPBLTUNBe4EBQJcTMLJAhsC BQkCEKmAAIEJEKPBLTUNBe4EdiAEGRYIAB0WIQTyrVsJkayM1cwRYQSCCbf5BwNolQUCXEzCyQAK CRCCCbf5BwNolRyVAP4+mShrtibO9iaZjqvPdSoGVc1mnmjIttw+CcN5yRYbqwEAs7Rn8NkhtwFJ beilWVAndZfbwy4ZH29jancG0/C1EwV/Iw/+IvFt6WmohqYBUYQHObQe4xdH+iNkOoaN5iylOe1L 6OprxefoFh8KYRufn7HdrUr6Efw19j/GpWkhlIQXf7PuHcnfKnA9CIa94LXeWdvjZs99W9Rl0srH ZGCKWfP+bNg7E0HfnYuJirvGvrkTePUJ+i5LyHjOc3242hxVuGIemSxAfHhbSLn57TCX+1YwfkUq Z002bnREtyYxP4STpkKDjrDN4X+PTuRf4FiLdMp9EZU0Nw0Rhx7T51z4llt67t94PwVSj6xSuAMb qOhhWr2rNnzAAtmHj6E6a/LppOTtWw/WIEw1m3EjGahRb2dzoqdRcb/JmAyl5hk/iXltrFOrKLzE XCRk4xCHj7UtBd8hOW9OFJ5QAw/JPDYvo/EknVEY6aUKXKaUqL1+4Wz+HiiylwCkC+uTTq1VIhjw 99XSSewrSqn86Nq8HSA3YqV5+rY1kWHytUlY0tCu+GaTw9SSBLbY+RNwQ2RxIH6it5DznhVgITpW vbdXHDxhsLzR/gZFFRO4kFE06bkiqRekNnM2FOq8vu8nw0y6jo5BSpqd6CcakhVVJiHl37oTodQn B45uur0Uuar6UvnCdq4JK32tUxbDfflnzCCTpHxH5upxWBpI3xiwYFcIqNPkBUvXF4dHfJeZ7S0v XUwk7vGasuUsD+IytBrpkZx1mhB63Lr44ko= 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: 7bit Content-Type: multipart/signed; boundary="----OWMRFIEDVHWW314LJPECX4J67LD2O6"; protocol="application/pgp-signature"; micalg="pgp-sha512" Subject: [gentoo-dev] Changes made by acct-* ebuilds To: gentoo-dev@lists.gentoo.org From: Christopher Head Message-ID: <6A29F6A2-AA53-4B7A-A24A-6639993ABD17@chead.ca> X-Archives-Salt: 5a095a41-48ac-44b5-92e7-cc65683c351f X-Archives-Hash: 1c4afc19a8c75cdb4f7ac1ec6a350723 ------OWMRFIEDVHWW314LJPECX4J67LD2O6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi all, Yesterday something surprised me=2E I updated my system and got the acct-{= user,group}/lighttpd for the first time=2E Because lighttpd was running, pa= ckage installation failed to change the home directory=E2=80=94fine, it pri= nted an error message, I stopped the server, changed the home directory by = hand, and started the server back up=2E What I didn=E2=80=99t realize was that it also, successfully, removed the = lighttpd user from a couple of auxiliary groups I had put it in=2E It did t= his without telling me, without printing any messages=2E I only noticed bec= ause I happened to look at syslog and discovered that usermod or gpasswd or= whatever it called had logged the changes=2E Presumably this has broken a = service or two (nothing too critical) since now Lighttpd won=E2=80=99t be a= ble to connect to SCGI sockets any more=2E Does it make sense for these ebuilds to print out all the changes they mak= e to existing users and groups, so that the sysadmin can see what happened = and immediately look into alternative solutions if it breaks something, rat= her than silently changing things? Maybe this could even be limited to case= s where the package is being newly installed (not upgraded) and the user or= group already exists, to ease migration from the old world where sysadmins= are easily able to do anything we want with our users and groups to the ne= w world where we=E2=80=99re expected to leave them alone as the ebuilds mak= e them, or worst case make out changes in an overlay=2E Thoughts? --=20 Christopher Head ------OWMRFIEDVHWW314LJPECX4J67LD2O6 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iIEEABYKACkiHENocmlzdG9waGVyIEhlYWQgPGNoZWFkQGNoZWFkLmNhPgUCXkQ9 tQAKCRA5BfYAE+d69PeRAQC7aGZH17IuhzujLOyoIn0g1ILXTZcrAxhlzpzh4FV7 cAD+L4TcLA5CFt0JJnHhRFINdUSET0fYopBvqBcdskoBogc= =A2ik -----END PGP SIGNATURE----- ------OWMRFIEDVHWW314LJPECX4J67LD2O6--