View previous topic :: View next topic |
Author |
Message |
Raymond R n00b
Joined: 13 Apr 2003 Posts: 36 Location: Swift Current, Saskatchewan
|
Posted: Fri May 23, 2003 2:12 am Post subject: etc-update wrecked my configuration |
|
|
Greetings.
Tonight I though it would be a good idea to update my packages.
emerge sync
emerge -up system
emerge -u system
There was five packages to update, and it did so happily.
I was then informed I had to update some configuration files.
So I ran:
etc-update
It would not let me say "no" to make the changes. Here is what it updated:
/etc/hosts
/etc/fstab
/etc/group
/etc/modules.autoload
/etc/conf.d
/etc/conf.d/local.start
/etc/conf.d/net
So now I am re-editing my configuration files.
Am I not supposed to run etc-update?
Why did it restore all of these files to their defaults? |
|
Back to top |
|
|
woboz n00b
Joined: 24 Oct 2002 Posts: 65
|
Posted: Fri May 23, 2003 2:20 am Post subject: |
|
|
so did you type
and then automatically all your files were updated or was there more user input such as
or some other code typed in? |
|
Back to top |
|
|
Raymond R n00b
Joined: 13 Apr 2003 Posts: 36 Location: Swift Current, Saskatchewan
|
Posted: Fri May 23, 2003 2:42 am Post subject: |
|
|
I think I did -3. |
|
Back to top |
|
|
ctford0 l33t
Joined: 25 Oct 2002 Posts: 774 Location: Lexington, KY,USA
|
Posted: Fri May 23, 2003 3:14 am Post subject: |
|
|
I learned my lesson with doing emerge -u world and system when I killed my dns on my router. I still don't have the thing working.
I never do those because you can totally kill your system so easily. I usually keep an eye open for security updates and such, but never do an emerge -u world or system......
Chris |
|
Back to top |
|
|
Raymond R n00b
Joined: 13 Apr 2003 Posts: 36 Location: Swift Current, Saskatchewan
|
Posted: Fri May 23, 2003 3:17 am Post subject: |
|
|
Thanks.
I will stay away from that option.
On a positive note I found the file that sets extra options on startup:
/etc/conf.d/local.start
I added "vncserver" there. Sweetness. |
|
Back to top |
|
|
|