I side-stepped this issue and just hard-coded the
portage_uid and
portage_gid to my user and group IDs obtained from our
distrubuted
authentication system.
If there is a more permanent / better way to fix this,
please let me know.
Thanks!!
On Wed, 18 Jul 2007 12:10:48 -0500, Marshall McMullen
<marshall zentire.com> wrote:
> Well, I tried manually overriding the file in
question:
>
> $EPREFIX/usr/lib/portage/pym/portage/data.py line 70
and setting the
> wheelgid explicitly, and it fails now with:
>
>
> portage: mdmcmull user or group missing. Please update
baselayout
> and merge portage user(250) and group(250)
into your passwd
> and group files. Non-root compilation is
disabled until then.
>
> Is there any way around this other than adding my
uid/gid to /etc/passwd
> and /etc/group ??
>
> Thanks!
>
> On Wed, 18 Jul 2007 12:06:04 -0500, Marshall McMullen
> <marshall.mcmullen gmail.com> wrote:
>> So, still trying to get this working....
>>
>> Looks like this is set up in
$EPREFIX/usr/lib/portage/const_autotool.py,
>> and is setting rootuid to my user id, and wheelgid
is set to my group
> id.
>> Problem is that the user and group ids in this case
don't exist in the
>> /etc/passwd and /etc/group files, as we have some
distributed
>> authentication on this system. Any ideas how to
get around this ?
>>
>> On Tue, 17 Jul 2007 15:55:12 -0500, Marshall
McMullen
>> <marshall zentire.com> wrote:
>>> I'm trying to get prefixed portage set up on a
new AIX 5.3 box, but it
>>> fails right off the bat with this following
error:
>>>
>>> $ emerge --oneshot sed
>>> Traceback (most recent call last):
>>> File
"/gsa/ausgsa/home/m/d/mdmcmull/.overlay/usr/bin/emerge&
quot;, line
> 12,
>>> in
>>> ?
>>> from emerge import *
>>> File
>>>
>>
>
"/gsa/ausgsa-h2/00/mdmcmull/.overlay/usr/lib/portage/py
m/emerge/__init__.py",
>>> line 27, in ?
>>> import portage
>>> File
>>>
>>
>
"/gsa/ausgsa-h2/00/mdmcmull/.overlay/usr/lib/portage/py
m/portage/__init__.py",
>>> line 77, in ?
>>> from portage.data import ostype, lchown,
userland, secpass, uid,
>>> wheelgid,
>>> File
>>>
>>
>
"/gsa/ausgsa-h2/00/mdmcmull/.overlay/usr/lib/portage/py
m/portage/data.py",
>>> line 70, in ?
>>> wheelgroup=grp.getgrgid(wheelgid)[0]
>>> KeyError: 'getgrgid(): gid not found: 481958'
>>>
>>> Has anyone seen this problem before?
--
gentoo-alt gentoo.org mailing list
|