View previous topic :: View next topic |
Author |
Message |
mogorman n00b
Joined: 15 Sep 2002 Posts: 46
|
Posted: Wed Sep 17, 2003 2:23 pm Post subject: etc-update killed my box please help |
|
|
Okay I admit I am an idiot i didnt read the fuckin manual before i ran my first etc-updat, and selected auto merge. I had just intstalled gentoo a week ago on a fresh system so the etc-update didnt killl alot but it did mess up some things for me. first off it killed my fstab, but i fixed that in time , and then it killed my profile, but i put back in the paths that I needed, my big problem is it seems to have played with my file permissions? I couldnt use locate from my main user. it gives me the error
warning: locate: Could not find the group: slocate in the /etc/group file.
fatal error: This is a result of the group missing or a corrupted group file.
I checked the group file and everything seemed fine. then i ran groups on my user and got
id: cannot find name for group ID 100
100 id: cannot find name for group ID 10
10 id: cannot find name for group ID 11
11 id: cannot find name for group ID 18
18 id: cannot find name for group ID 19
19 id: cannot find name for group ID 27
27 id: cannot find name for group ID 35
35
however from root i get the correct results
syndicate : users wheel floppy audio cdrom video games
I fixed the locate problem by chmod 755 * in the /etc directory. What happened with the file permissions? |
|
Back to top |
|
|
rogue Tux's lil' helper
Joined: 15 May 2002 Posts: 99 Location: Falls Church, VA
|
Posted: Wed Sep 17, 2003 2:33 pm Post subject: |
|
|
does your user still exist in the /etc/passwd file? _________________ (rob) |
|
Back to top |
|
|
mogorman n00b
Joined: 15 Sep 2002 Posts: 46
|
Posted: Wed Sep 17, 2003 2:36 pm Post subject: yes |
|
|
yeah I fixed all the stuff i think by chmoding the etc files but my question is what happened and why im confused by the method. |
|
Back to top |
|
|
sgtrock Tux's lil' helper
Joined: 21 Feb 2003 Posts: 87
|
Posted: Wed Sep 17, 2003 5:27 pm Post subject: |
|
|
I noticed after doing something similar that I had both a 'group' and a 'group-' file in /etc. It turned out that 'group-' was my original file. Do you have something similar on your system? |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Fri Sep 19, 2003 2:03 am Post subject: |
|
|
Moved from Installing Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
xentric Guru
Joined: 16 Mar 2003 Posts: 410 Location: Netherlands
|
Posted: Wed Sep 24, 2003 9:58 pm Post subject: |
|
|
Just use the script in this post: Replacement for etc-update: cfg-update
for easy interactive merging of the new config files in a GUI diff tool
after a world update! |
|
Back to top |
|
|
|