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 A335D138334 for ; Mon, 6 Aug 2018 05:47:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6ABE6E081A; Mon, 6 Aug 2018 05:47:07 +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 29E47E081A for ; Mon, 6 Aug 2018 05:47:06 +0000 (UTC) Received: from [192.168.0.29] (ip68-4-233-67.oc.oc.cox.net [68.4.233.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: zmedico) by smtp.gentoo.org (Postfix) with ESMTPSA id 78018335CA3; Mon, 6 Aug 2018 05:47:03 +0000 (UTC) Subject: Re: [gentoo-portage-dev] [PATCH 2/2] Update /usr/portage references (bug 378603) To: Ulrich Mueller , gentoo-portage-dev@lists.gentoo.org Cc: Zac Medico References: <20180806002347.18237-1-zmedico@gentoo.org> <20180806002347.18237-3-zmedico@gentoo.org> <23399.54678.259278.201017@a1i15.kph.uni-mainz.de> From: Zac Medico Openpgp: preference=signencrypt Autocrypt: addr=zmedico@gentoo.org; prefer-encrypt=mutual; keydata= xsFNBFs7tmwBEADTzG+IcYtRfTfKryU7sUH7LlV1M+TdaCMfIkY4x6RyHXkaaqYuQ+U9HKn0 +m5FcZsZ1Ojik+We3Tz0F6kDbam6EWzBxmsLb/IHeUEsvsuLzuBQjiD9zzqGocZiPWr+uWJs AdbueS72R7FPXJPDUEPrJ9GdhGFyYARveY9cmdisOwcDOiSFfB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Z3D/0RFItQdaMZb6hEk8LzRGxJk772Bt2joBPwY/Qv dLUzrR38Lg+n2VPuwa83fVDaHj+LUAbPa+y+MDhFTC5Yj8zYXrrRmapu4sDgFtL+CMD5at9k HxMMSjLuTQg76BrQnoQ2DFI6TTDVlL4thWszyvsLvdlyQBTZqScY4e98h1Ghylvjrj8kD6OQ /wQ1xcDQ1VPXtN7orc7Gk3d8Gwc/vD3NthpXcTHey5eEvHT/7HGMs9N/ChsTLeRO/lCq6ao+ HtOVe9z/0q7gbCAAVSxwsblmGwNQshaxGvS3K6bQhgjeWlCczKRmIMKiKrscRNPAl5k+kmQ+ VVztDLLR6pwrKiKp3+22vm0/BEVaTg5iarNkWJlnqwbtnDrxRcoe6EJXUyBco+pLczxDpX6c Yv5nAsTUaS+rBo+Cfu7Mml874fOhaffLGM2+HmmWxlsz+SoJMzIHIHQtA9l2OQ7fQa9Xp1TB qZuViSnK2lnlyZshEhPOzE+Q65bBeQujPrLrrgl8f9N7fFVDaupmS4MIWvDLmc6qT3bDs5hY arIM5Ivi3IJ1yxdWgXkddwdAtO/lbMJDYwBBRbrN+XKKtjKBN8nd2zmaTn8nnZQoSEgc/Mkd zbpRt++jfxe4TQUmNvvGhnMKhJOkJVnYfR/Zwk4EsRU31udt6U2WanSbqY8Ad8Ot+xVH+w== Message-ID: Date: Sun, 5 Aug 2018 22:46:58 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: <23399.54678.259278.201017@a1i15.kph.uni-mainz.de> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ntFnAC2IxGq5os3OQ1ACpWwBcG5tUFzsT" X-Archives-Salt: c8edddac-9f4e-46b4-9023-e83c2241420a X-Archives-Hash: 2cf2e5dad73284ae7995c96637dc9965 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ntFnAC2IxGq5os3OQ1ACpWwBcG5tUFzsT Content-Type: multipart/mixed; boundary="oogSsrpsOmdqSIQtbSvJIMZEBUctX07ZJ"; protected-headers="v1" From: Zac Medico To: Ulrich Mueller , gentoo-portage-dev@lists.gentoo.org Cc: Zac Medico Message-ID: Subject: Re: [gentoo-portage-dev] [PATCH 2/2] Update /usr/portage references (bug 378603) References: <20180806002347.18237-1-zmedico@gentoo.org> <20180806002347.18237-3-zmedico@gentoo.org> <23399.54678.259278.201017@a1i15.kph.uni-mainz.de> In-Reply-To: <23399.54678.259278.201017@a1i15.kph.uni-mainz.de> --oogSsrpsOmdqSIQtbSvJIMZEBUctX07ZJ Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 08/05/2018 09:59 PM, Ulrich Mueller wrote: >>>>>> On Sun, 5 Aug 2018, Zac Medico wrote: >=20 >> --- a/cnf/make.conf.example >> +++ b/cnf/make.conf.example >> [...] >=20 >> @@ -119,16 +119,16 @@ >> # fetched on demand for a given build. If you would like to >> # selectively prune obsolete files from this directory, see >> # eclean from the gentoolkit package. Note that locations under >> -# /usr/portage are not necessarily safe for data storage. See the= >> +# /var/db/repos/gentoo are not necessarily safe for data storage.= See the >> # PORTDIR documentation for more information. >> -#DISTDIR=3D/usr/portage/distfiles >> +#DISTDIR=3D/var/db/repos/gentoo/distfiles >=20 > Shouldn't this be /var/cache/distfiles ... >=20 >> # >> # PKGDIR is the location of binary packages that you can have created= >> # with '--buildpkg' or '-b' while emerging a package. This can ge= t >> # up to several hundred megs, or even a few gigs. Note that >> -# locations under /usr/portage are not necessarily safe for data >> +# locations under /var/db/repos/gentoo are not necessarily safe f= or data >> # storage. See the PORTDIR documentation for more information. >> -#PKGDIR=3D/usr/portage/packages >> +#PKGDIR=3D/var/db/repos/gentoo/packages >=20 > ... and /var/cache/binpkgs? Thanks, I've fixed the /var/cache/{distfiles,binpkgs} locations in v2. >> --- a/lib/portage/cache/flat_hash.py >> +++ b/lib/portage/cache/flat_hash.py >> @@ -144,7 +144,7 @@ class database(fs_template.FsBased): >> # Only recurse 1 deep, in order to avoid iteration over >> # entries from another nested cache instance. This can >> # happen if the user nests an overlay inside >> - # /usr/portage/local as in bug #302764. >> + # /var/db/repos/gentoo/local as in bug #302764. >=20 > Shouldn't a local overlay be in /var/db/repos/local, but never inside > of the gentoo repo? Yes, but for a long time /usr/local/portage was somewhat standard, in fact it's still mentioned here: https://wiki.gentoo.org/wiki/Custom_repository Nowadays, repository verification will prevent that from working... >> --- a/man/make.conf.5 >> +++ b/man/make.conf.5 >> @@ -219,10 +219,10 @@ Use the \fBPORTAGE_RO_DISTDIRS\fR variable to sp= ecify one or >> more read-only directories containing distfiles. >> =20 >> Note >> -that locations under /usr/portage are not necessarily safe for data s= torage. >> +that locations under /var/db/repos/gentoo are not necessarily safe fo= r data storage. >=20 > IMHO this statement should be made much stronger. Yes, we could also say something about repository verification here. The old defaults set a really bad example, so we needed statements like this to steer people in the right direction. -- Thanks, Zac --oogSsrpsOmdqSIQtbSvJIMZEBUctX07ZJ-- --ntFnAC2IxGq5os3OQ1ACpWwBcG5tUFzsT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQKTBAEBCgB9FiEE8OgXaltWzqgSupCu0HX7jBBKPSAFAltn4NNfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEYw RTgxNzZBNUI1NkNFQTgxMkJBOTBBRUQwNzVGQjhDMTA0QTNEMjAACgkQ0HX7jBBK PSCtcxAAwVTLUM1MlKIAdf+jEiBNKHEB+83vuYE6xz3lVMtNQp7fSirWfB8GkpCU FsZI5xRrIRSVjQw8Ntk1WWFK+VBRzzwmRiD3LfVh4cU5PLyLSZCx7Xk8cUUy72Hk 3OkNkyzI6xImlcww5mZynGGYNmJwjrZhny68xe3FnHWMFDXPc6M55zNWPnlXo0/5 JFjFkNcD7X0HqF2JTPAcWr/ceE29vMWzohGGCSOWzLzJtoh4jQbiqEjEWkUTfR2l u2M/QuBUXVLRp9MT8HoutVZX17JanEz7n76Gljm1IR7LUiQDsi6Qt0VuGF9+svl4 fxVgqyZDtYd0TwJ0jGsXlehnp81VIOuH6/g2kzy6nt3LoPzy1xBt0wShyUfM42ds strBkS+AUxKxwcEDAfAXb6ZxMSOgykXUHU8LnWLnNvFg1Ezdoxzho0Sq48aJ7S/I fjgkjZiFuzm31jAEhSm2NgwIdW8i348U7vJis9LSXJfVRLi96W5Jp/yj+h0s2n/H BF9eioS5PKWcJkdZn3cvtdvLRSVNAnWWTZvQs7+r/cELlzv0BCIdv4Z9zuQJnGuc jh/b+C40sqx7o7XKev9HlXCMmMOhPHWnyDX0H3l45DF79Y5BYljsSVNu36NLDrgQ BUufP8ptZyxEc/vBxeZpEYQf4cu+aQARZs2XjeP4EdTz7LyBuLQ= =A1uG -----END PGP SIGNATURE----- --ntFnAC2IxGq5os3OQ1ACpWwBcG5tUFzsT--