From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C2AF71384B4 for ; Mon, 14 Dec 2015 20:22:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 239BE21C051; Mon, 14 Dec 2015 20:22:35 +0000 (UTC) Received: from a1www.kph.uni-mainz.de (a1www.kph.uni-mainz.de [134.93.134.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EB21AE08D3 for ; Mon, 14 Dec 2015 20:22:33 +0000 (UTC) Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1www.kph.uni-mainz.de (8.14.9/8.14.7) with ESMTP id tBEKMVk5002891 for ; Mon, 14 Dec 2015 21:22:31 +0100 Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.8/8.14.2) with ESMTP id tBEKMUMs013188; Mon, 14 Dec 2015 21:22:30 +0100 Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.8/8.14.8/Submit) id tBEKMUhe013183; Mon, 14 Dec 2015 21:22:30 +0100 Message-ID: <22127.9478.374651.767331@a1i15.kph.uni-mainz.de> Date: Mon, 14 Dec 2015 21:22:30 +0100 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Use GLEP27! In-Reply-To: References: <22c8fc780e34e11cc460dcadda4202b4@omrb.pnpi.spb.ru> X-Mailer: VM 8.2.0b under 24.3.1 (x86_64-pc-linux-gnu) From: Ulrich Mueller 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 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="pgp+signed+0DU5QQxOor2NNwe"; micalg=pgp-sha256; protocol="application/pgp-signature" X-Archives-Salt: 1a2fe151-89b0-45e7-b4cb-4907a5cea0e7 X-Archives-Hash: 03849a184451d39eccd9768475be43fb This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --pgp+signed+0DU5QQxOor2NNwe Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable >>>>> On Mon, 14 Dec 2015, Micha=B3 G=F3rny wrote: > As far as I can see, this GLEP predates EAPI and does not meet > modern standards. It needs to be updated or killed with fire. > For a start, relation to EAPI needs to be defined. This will likely > require both profiles and ebuilds to use the new EAPI. Certainly this is true for ebuilds. We could introduce EUSERS and EGROUPS variables as well as FEATURES=3Dnoautoaccts in EAPI 7. I'd rather avoid bumping all profiles to EAPI 7, though. From a pragmatic point of view, I think nothing bad would happen if we would add user and group definition files to an existing (EAPI 5) profile, as old package managers would simple ignore these files. > Also, the contents of 'backwards compatibility' section are > unacceptable. But that's probably going to be covered by EAPI. > The spec itself is hard to follow, though the idea seems simple.=20 > It makes me wonder if we aren't missing something important there. The spec seems incomplete. I cannot find a description of the user and group files' format. (But in fact, there is a standard format which suggests itself, namely that of the passwd(5) and group(5) files.) Also having whole directory trees seems wasteful and doesn't fit so well into the existing design of profiles. It might be simpler to put "user" (or "passwd") and "group" files directly in the profile. (If directories are really needed, we could use the scheme foreseen in [1] for package.* and use.* files.) Also a mechanism how a subprofile could undefine a user or group defined in its parent seems to be missing. Ulrich [1] https://bugs.gentoo.org/282296 --pgp+signed+0DU5QQxOor2NNwe Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBCAAGBQJWbyTPAAoJEMMJBoUcYcJzsZoH/3OJQyBYrMp2wn2PEEWlyDR1 o/pLFDf9zNJT+sOzRhv5tX8Gu7nSOfRqX8/Pci9dJTPJGYZuTYTPPETLAuaAEW2X ZYI4tfrPCNA6EkCoX4shXacbtGjl0VqQ4/AWl7+gmrMG+//78C0nkR6NoIBwOaGj HXKfYqRPVxvhjO0CJ76yAxluuvGS84WS2ONoyCnAFPouSMBy1zw48Dg1ehxS1ZL2 vlcHc5hGt7A61P38pUy14qVK0qv2rwOHkkFXgrFjoI6QxDEAcyra8Uw2VpckXQUy +AC0HksijrOD1EGeq6cgYZ5skaBacYzlGnIGhPL1YiUx7sICcnnJMeMMWZnuUj4= =1cP7 -----END PGP SIGNATURE----- --pgp+signed+0DU5QQxOor2NNwe--