[Fedora-packaging] Problems using mock on Fedora 15

Brad Bell bradbell at seanet.com
Thu Oct 20 15:23:18 UTC 2011


On 01/-10/-28163 11:59 AM, Daniel Piddock wrote:
> On 19/10/11 13:18, Brad Bell wrote:
>> I rebooted the machine and still have the same problem
>>
>> [bradbell at brad-home ~]$ groups
>> mock
>> [bradbell at brad-home ~]$ mock --version
>> ERROR: Must be member of 'mock' group to run mock! ([])
>> ... snip ...
> I'm guessing bradbell has mock assigned as their default group as groups
> is only returning the one result?
>
> "bradbell" must be a member of "mock" in /etc/group for mock to work.
> Try running "getent group mock" instead. You want it to return something
> like "mock:x:448:bradbell"
>
> HTH
>
> Dan
>
Yes, the only group bradbell belonged to was mock.

I changed the groups so that now
     [bradbell at brad-home diabetes]$ groups
     bradbell mock
and
     [bradbell at brad-home diabetes]$ getent group mock
     mock:x:491:bradbell
I was able to build the a package in mock with these group settings.

Thanks




More information about the packaging mailing list