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 08113138239 for ; Fri, 21 Jun 2019 05:59:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 29EAEE08BB; Fri, 21 Jun 2019 05:59:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 CE0A5E08AE for ; Fri, 21 Jun 2019 05:59:25 +0000 (UTC) Received: from localhost (unknown [91.246.102.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: bircoph) by smtp.gentoo.org (Postfix) with ESMTPSA id 9F64E346613 for ; Fri, 21 Jun 2019 05:59:23 +0000 (UTC) Date: Fri, 21 Jun 2019 08:59:08 +0300 From: Andrew Savchenko To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [PATCH v3] glep-0081: User and group management via dedicated packages Message-Id: <20190621085908.0f6a515900767930adea7183@gentoo.org> In-Reply-To: References: <20190609113955.19208-1-mgorny@gentoo.org> <8d6601e6-a295-778e-5dc8-5d9f01701c7d@gentoo.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; i686-pc-linux-gnu) 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; protocol="application/pgp-signature"; micalg="PGP-SHA512"; boundary="Signature=_Fri__21_Jun_2019_08_59_08_+0300_X13gM6S7zD9epB6G" X-Archives-Salt: 41930ae3-9da7-461d-be5a-5711dc229d47 X-Archives-Hash: 9b65d9d420770661b58e010a85b46198 --Signature=_Fri__21_Jun_2019_08_59_08_+0300_X13gM6S7zD9epB6G Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 20 Jun 2019 16:32:56 +0200 Micha=C5=82 G=C3=B3rny wrote: > On Thu, 2019-06-20 at 09:53 -0400, Brian Evans wrote: > > On 6/9/2019 7:39 AM, Micha=C5=82 G=C3=B3rny wrote: > > > +Tracking of user/group usage is done through dependencies. As long > > > +as any installed package depends on a specific user/group package, > > > +the respective user/group is assumed to be used. If no package > > > +requiring the specific user/group is left, the package manager > > > +automatically prunes the package clearly indicating it is no longer > > > +used. > >=20 > > You cannot know when a name is "no longer used". An administrator could > > have adopted a username for other purposes. >=20 > That's why we don't remove the actual user/group. However, this is > a valuable information to the administrator that no package is using > the user/group in question. So how do you propose to clean them up? Or let user systems trash with unused uids/gids? The GLEP 81 only mensions some possible tooling for cleanup. Is there an implementation available? I don't see it within proposed patch sets. This GLEP should not be accepted unless all necessary tools are available including a cleanup tool. Best regards, Andrew Savchenko --Signature=_Fri__21_Jun_2019_08_59_08_+0300_X13gM6S7zD9epB6G Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE63ZIHsdeM+1XgNer9lNaM7oe5I0FAl0MciwACgkQ9lNaM7oe 5I1Uyg/+Nz+nu8mwrQDz5AYtlTEwgJFB3xWBfesqYi2lBeK/qWPAlkxrCN5jHlxm Snd0QJLoAaxDsGl6WLUROfiB4uzAxFEFMCP1Q3RCc+bfwtuPUWNBxdcxBM4W+t1a qDWJQxEQVWvktnWyquucQ1HOmNO0Q5Tjt76lWZTFFY2ByM1tpxyRFvrHPTWMKezR L1yDqR3FNMJ0mD9MAA/CO7BHPGQAxD5S9jRZWOcScgE9XYRnCDG78PoKMUztm2lL 43g2SfdpD3aO0Fj8r7lUQH9EEjBP3sNIsf59plP7PUQ+uoGP0DBH20vLFjcb5jVZ /jWXmNJS2nMjz656t3Yg5m7EacmPS2qFdvwJ81vaGOU0t7pHoPmzPITyfKoSwSDj Up4UBRbdjcpuHatMZ79t3WsHDp4ZAPLvQ7nKZIdmLHUtS0sG1ibmDalo0rFqy3aN B1hBNK+oW5yBCCS11ShR+1T87P1WHBGiNUy7W7Mr0qtVI/go00s3DoTIV6KBGchY xIfVkB73CJU7CNUPPkDZj4qqEuwrjIvfOQ8q9SXz7bEhGMy78Eshh77vqpzYOZj0 TcLuK0DvgSY2Xi1CweAs8vng+jBX2E4FtYgKOyjAr5NgL4nsyH+p8kKaJWqEXry+ e19aFLPH/i50zbyxZAu76s5YITxDDCi0LixNTibqoGf/vxDsOig= =xyMb -----END PGP SIGNATURE----- --Signature=_Fri__21_Jun_2019_08_59_08_+0300_X13gM6S7zD9epB6G--