Problems using mock on Fedora 15
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@brad-home ~]$ groups
>> [bradbell@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"
Yes, the only group bradbell belonged to was mock.
I changed the groups so that now
[bradbell@brad-home diabetes]$ groups
[bradbell@brad-home diabetes]$ getent group mock
I was able to build the a package in mock with these group settings.
packaging mailing list