Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 600572

Summary: app-portage/mirrorselect uses deprecated SYNC variable instead of repos.conf
Product: Gentoo Linux Reporter: charles17
Component: Current packagesAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED FIXED    
Severity: normal CC: fturco
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description charles17 2016-11-23 11:52:19 UTC
mirrorselect --rsync uses deprecated SYNC variable and make.conf if /etc/portage/repos.conf/gentoo.conf is missing

This should be replaced by a warning about the missing file, or even better, be changed to using repos.conf
Comment 1 Zac Medico gentoo-dev 2016-11-27 21:19:09 UTC
This happens when starting with a stage3, since repos.conf/gentoo.conf doesn't exist by default.

The portage ebuild has some logic to automatically generate repos.conf/gentoo.conf when upgrading from older portage. Maybe mirrorselect could do something like that.
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2016-11-27 22:48:58 UTC
I need to get repos.conf support into catalyst is what is needed.
Comment 4 Zac Medico gentoo-dev 2019-11-03 19:17:27 UTC
*** Bug 699232 has been marked as a duplicate of this bug. ***
Comment 5 Zac Medico gentoo-dev 2019-11-03 19:32:31 UTC
It's this get_conf_path method that needs to be fixed:

https://gitweb.gentoo.org/proj/mirrorselect.git/tree/mirrorselect/main.py?h=2.2.6#n335
Comment 6 Brian Dolbec (RETIRED) gentoo-dev 2022-05-31 02:10:28 UTC
I've removed the possibility of using make.conf for rsync.
It now will print an error if it fails to locate the repos.conf/gentoo.conf file and exit.