View previous topic :: View next topic |
Author |
Message |
dek l33t
Joined: 16 May 2002 Posts: 657 Location: Germany
|
Posted: Mon Nov 25, 2002 4:54 pm Post subject: "emerge -s" not working as user |
|
|
I noticed the problem after i upgraded to the latest baselayout.
"emerge -s" does not work for non-root users anymore. I get the following error message:
Code: |
$ emerge -s foo
portage initialization: your system doesn't have a "wheel" group.
Please fix this so that Portage can operate correctly (It's normally GID 10)
Traceback (most recent call last):
File "/usr/bin/emerge", line 2, in ?
import os,sys,portage,xpak,string,re,commands,time,threading,shutil
File "/usr/lib/python2.2/site-packages/portage.py", line 4098, in ?
os.chown(cachedir,uid,wheelgid)
NameError: global name 'wheelgid' is not defined
|
The group wheel exists and has GID 10. Furthermore my user is member of this group (su works).
Code: |
# cat /etc/group | grep wheel
wheel::10:root,dek,tv
|
Any ideas? _________________ Computer games don't affect kids. I mean if Pacman affected us as kids, we'd all be running around in darkened rooms, munching pills and listening to repetitive music. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20054
|
Posted: Mon Nov 25, 2002 7:04 pm Post subject: |
|
|
Did you change the /etc/group file after updating baselayout? Do you have any ._cfg????_* files left in /etc ? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
dek l33t
Joined: 16 May 2002 Posts: 657 Location: Germany
|
Posted: Mon Nov 25, 2002 7:46 pm Post subject: |
|
|
I kept my old /etc/group and removed ._cfg????_group. There are no more new configfiles in /etc left.
I extracted the new group file again and compared it with my current one.
The group "portage::250:portage" was missing. So i added the line. But it makes no difference, emerge gives the same error. _________________ Computer games don't affect kids. I mean if Pacman affected us as kids, we'd all be running around in darkened rooms, munching pills and listening to repetitive music. |
|
Back to top |
|
|
dek l33t
Joined: 16 May 2002 Posts: 657 Location: Germany
|
Posted: Sat Dec 07, 2002 6:44 pm Post subject: |
|
|
Problem solved. For some reason /etc/group was only readable to root. _________________ Computer games don't affect kids. I mean if Pacman affected us as kids, we'd all be running around in darkened rooms, munching pills and listening to repetitive music. |
|
Back to top |
|
|
|
|
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
|
|