Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23002 - 'emerge sync' executes code in make.conf
Summary: 'emerge sync' executes code in make.conf
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: John Mylchreest (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-17 09:39 UTC by Martin Svangren
Modified: 2011-10-30 22:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Svangren 2003-06-17 09:39:24 UTC
This was done using the Gentoo 1.4rc4 LiveCD, chrooted into a new installation 
with the pre-built stage3 binaries.

After emerging mirrorselect I tried to choose rsync mirrors by 
running 'mirrorselect -i -r', which caused mirrorselect to crash, giving me 
some blue stripes on the screen and sent me back to the bash prompt. I then 
tried running 'emerge sync' to check for a new version of mirrorselect. This 
gave me the same set of blue stripes I got when mirrorselect crashed.

I opened make.conf and it seems like mirrorselect wrote part of itself to the 
SYNC line when it crashed, which caused emerge to execute mirrorselect when 
running 'emerge sync'.

I removed the corrupt SYNC line and replaced it with a correct one and 'emerge 
sync' worked fine. After rebooting, 'mirrorselect -i -r' worked like a charm.

Reproducible: Didn't try
Steps to Reproduce:
1. Make a new installation of Gentoo 1.4rc4, using the pre-built stage3 
binaries.
2. When chrooted into your new installation, run 'emerge mirrorselect'.
3. Run 'mirrorselect -i -r'. If this causes mirrorselect to crash, run 'emerge 
sync'.
Actual Results:  
Running 'emerge sync' gave me exactly the same output on the screen as when 
mirrorselect crashed.

Expected Results:  
It should have updated my Portage tree.

Computer configuration:
AMD Athlon XP 2400+ 2GHz
Asus A7N8X-X motherboard (ViA chipset)
512 MB PC3200 RAM
Comment 1 John Mylchreest (RETIRED) gentoo-dev 2003-06-18 07:46:23 UTC
this was an issue with ncurses at one stage and should be all resolved now.