First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 99632
Alias:
Product:
Component:
Status: CLOSED
Resolution: FIXED
Assigned To: Colin Kingsley (RETIRED) <tercel@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Duncan <1i5t5.duncan@cox.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
emerge.info emerge info output text/plain Duncan 2005-07-20 02:05 0000 1.88 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 99632 depends on: Show dependency tree
Bug 99632 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.




View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-07-20 01:30 0000
Marked critical due to loss of critical data -- /etc/make.conf! 
 
mirrorselect -oD causes deletion of /etc/make.conf, after the download stage  
(presumably when it would write to make.conf if -o wasn't set).  /etc/make.conf  
continues to exist during the download step.  
  
I'm not sure if shallow causes the deletion or not, since shallow doesn't work,  
here, due to a NAPT based router filtering the ICMP or whatever that netselect  
uses, so shallow always fails and never returns anything to be written.  I DID,  
however, try it, and it doesn't cause the deletion here.  
  

Reproducible: Always
Steps to Reproduce:
mirrorselect -oD 
Actual Results:  
/etc/make.conf is DELETED! 

Expected Results:  
-o is supposed to be output only.  It shouldn't /touch/ make.conf. 

emerge.info to be attached.

------- Comment #1 From Duncan 2005-07-20 02:05:25 0000 -------
Created an attachment (id=63866) [details]
emerge info output

------- Comment #2 From Colin Kingsley (RETIRED) 2005-07-20 13:02:37 0000 -------
Fixed in my local version, will be in a bugfix release within a few hours. Good
catch.

By the way, unless there is a second bug at play here, it should have moved your
make.conf to make.conf.backup. The real problem was that forgetting to create
the new make.conf afterwards. You should, therefore, be able to retrieve all
your old settings from /etc/make.conf.backup. If the backup was not made, please
file a bug on that as well.

Thanks.

------- Comment #3 From Duncan 2005-07-21 00:50:59 0000 -------
(In reply to comment #2) 
> [U]nless there is a second bug at play here, it should have moved your 
> make.conf to make.conf.backup. 
 
It was, and I had already caught that, only I thought it was one of my backup 
versions.  =8^) 
 
Anyway, all my make.conf is, is a bunch of "source" lines, including other 
files, which I've splitup in a more manageable way.  
(/etc/portage/make.conf/fs, cflags, features, and similar files.)  I really 
LIKE that feature, having put it to use almost immediately upon seeing it 
mentioned in -dev!  =8^) 
 
So, nothing serious here, at least once I figured out the reason portage 
suddenly wanted to downgrade everything back to stable wasn't due to the 
freshly merged version of portage, but to my screwing with mirrorselect.  I do 
keep backups, tho mine was a bit older than your automated one, and rewriting 
it from scratch wouldn't have been an issue anyway.  I was more concerned about 
others running into the issue that weren't as well equipped to handle it.  
So... glad it's fixed, now. 
 
I'm having some strange net connectivity issues ATM and am not going to attempt 
a sync and source d/l until that's fixed, but will set full CLOSED status once 
I get the new version merged and verify (unless I forget =8^(.  Thanks! 

------- Comment #4 From Duncan 2005-07-25 08:06:37 0000 -------
mirrorselect-1.1.4 verified fixed.  Full-closing as promised. 

First Last Prev Next    No search results available      Search page      Enter new bug