Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] News Item: Portage rsync tree verification unstable
Date: Sat, 10 Mar 2018 21:42:28
Message-Id: 1520718135.10876.1.camel@gentoo.org
In Reply to: [gentoo-dev] News Item: Portage rsync tree verification unstable by Zac Medico
1 W dniu sob, 10.03.2018 o godzinie 13∶22 -0800, użytkownik Zac Medico
2 napisał:
3 > Please review. This is needed in order to resolve
4 > https://bugs.gentoo.org/650072.
5 >
6 > Title: Portage rsync tree verification unstable
7 > Author: Zac Medico <zmedico@g.o>
8 > Posted: 2018-03-13
9 > Revision: 1
10 > News-Item-Format: 2.0
11 > Display-If-Installed: sys-apps/portage
12 >
13 > Starting with sys-apps/portage-2.3.24, Portage will no longer verify
14 > the Gentoo repository after rsync by default, which contradicts the
15 > earlier "Portage rsync tree verification" news item.
16 >
17 > If users wish to enable the 'rsync-verify' USE flag for sys-apps/portage,
18 > they need to follow these steps:
19 >
20 > 1) In order to unmask the 'rsync-verify' USE flag, create a file named
21 > /etc/portage/profile/package.use.mask containing a line like the
22 > following:
23 >
24 > sys-apps/portage -rsync-verify
25
26 Why do you need to mask it in the first place? The dependencies are
27 stable, and it's not like having it unmasked-but-off-by-default is going
28 to cause any major harm.
29
30 >
31 > 2) Once the 'rsync-verify' USE flag has been unmasked as described
32 > in step 1, it can be enabled with a line like the folling in
33 > /etc/portage/package.use:
34 >
35 > sys-apps/portage rsync-verify
36 >
37 > 3) After the configuration changes in steps 1 and 2 have been made, run
38 > the following command:
39 >
40 > emerge --oneshot --newuse '>=sys-apps/portage-2.3.24'
41 >
42 > After all above steps are successfully completed, a line like the
43 > following should appear in the emerge --info output for the gentoo
44 > repository:
45 >
46 > sync-rsync-verify-metamanifest: yes
47 >
48 > If you wish to disable it for some reason, you can set
49 > 'sync-rsync-verify-metamanifest = no' in your repos.conf.
50 >
51 > Problems related to the 'rsync-verify' USE flag are tracked here:
52 >
53 > https://bugs.gentoo.org/650144
54 >
55
56 --
57 Best regards,
58 Michał Górny

Replies