Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -u system stomping on /etc/*?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
kirvero
n00b
n00b


Joined: 29 May 2003
Posts: 12

PostPosted: Thu May 29, 2003 1:15 am    Post subject: emerge -u system stomping on /etc/*? Reply with quote

Hi-

I've been a happy gentoo user for several months. I originally bought a 1.4rc2 cd and was until yesterday was running happily on a system that was current as of probably February.

Yesterday I decided to update using

emerge sync
emerge -u system

After having a series of strange problems I rebooted, and when the machine didn't come back up I discovered that something stomped on most everything of value in /etc during the upgrade process. Among others, /etc/hosts, /etc/resolv.conf, /etc/fstab (!) contain their original gentoo-installation values. /etc/fstab for instance references /dev/BOOT, /dev/ROOT. Yikes.

I had to merge a bunch of config files during the upgrade, but I didn't notice any of those critical files mentioned.

What happened? What did I miss? What can I do to keep this from happening in the future?

Thanks-

Jonah
Back to top
View user's profile Send private message
Cheesefoam
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 89

PostPosted: Thu May 29, 2003 11:51 am    Post subject: Reply with quote

It sounds like your CONFIG_PROTECT variable got set to "-*" or something like that, and when portage went to update your etc files, figured there was nothing there worth keeping and overwrote it with the new package files.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum