<p>On 6 May 2012 03:19, "Braden McDaniel" <<a href="mailto:braden@endoframe.com">braden@endoframe.com</a>> wrote:<br>
><br>
> Does mock have problems with non-local user accounts? When I do<br>
><br>
> $ fedpkg mockbuild<br>
><br>
> I get:<br>
><br>
> ERROR: Must be member of 'mock' group to run mock! (['users'])<br>
> Traceback (most recent call last):<br>
> File "/usr/sbin/mock", line 520, in <module><br>
> def do_buildsrpm(config_opts, chroot, options, args):<br>
> File "/usr/sbin/mock", line 619, in main<br>
> groupcheck(unprivGid)<br>
> File "/usr/sbin/mock", line 576, in groupcheck<br>
> raise RuntimeError, "Must be member of 'mock' group to run mock! (%s)" % sorted(set(members))<br>
> RuntimeError: Must be member of 'mock' group to run mock! (['users'])</p>
<p>I guess you have /usr/sbin before /usr/bin in your path. You should be able to execute /usr/bin/mock without issues.</p>
<p>> And, yet:<br>
><br>
> $ groups<br>
> users desktop_admin_r ccache mock<br>
><br>
> Does mock have a problem with the fact that my user account information<br>
> is coming from LDAP?</p>
<p>It should not matter. Although I don't know what the ordering of the paths changed. I've hit this problem once too, local users only. </p>
<p>> (And where is the proper place to report mock bugs? fedorahosted trac<br>
> or Red Hat Bugzilla?)</p>
<p>It depends on the component that causes the path ordering issue. I did not look into the cause yet, and don't seen to have this problem on all my systems. </p>
<p>Hth,<br>
Niels</p>
<p>><br>
> --<br>
> Braden McDaniel <<a href="mailto:braden@endoframe.com">braden@endoframe.com</a>><br>
><br>
> --<br>
> devel mailing list<br>
> <a href="mailto:devel@lists.fedoraproject.org">devel@lists.fedoraproject.org</a><br>
> <a href="https://admin.fedoraproject.org/mailman/listinfo/devel">https://admin.fedoraproject.org/mailman/listinfo/devel</a></p>