<p>On 6 May 2012 03:19, &quot;Braden McDaniel&quot; &lt;<a href="mailto:braden@endoframe.com">braden@endoframe.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Does mock have problems with non-local user accounts?  When I do<br>
&gt;<br>
&gt;        $ fedpkg mockbuild<br>
&gt;<br>
&gt; I get:<br>
&gt;<br>
&gt;        ERROR: Must be member of &#39;mock&#39; group to run mock! ([&#39;users&#39;])<br>
&gt;        Traceback (most recent call last):<br>
&gt;          File &quot;/usr/sbin/mock&quot;, line 520, in &lt;module&gt;<br>
&gt;            def do_buildsrpm(config_opts, chroot, options, args):<br>
&gt;          File &quot;/usr/sbin/mock&quot;, line 619, in main<br>
&gt;            groupcheck(unprivGid)<br>
&gt;          File &quot;/usr/sbin/mock&quot;, line 576, in groupcheck<br>
&gt;            raise RuntimeError, &quot;Must be member of &#39;mock&#39; group to run mock! (%s)&quot; % sorted(set(members))<br>
&gt;        RuntimeError: Must be member of &#39;mock&#39; group to run mock! ([&#39;users&#39;])</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>&gt; And, yet:<br>
&gt;<br>
&gt;        $ groups<br>
&gt;        users desktop_admin_r ccache mock<br>
&gt;<br>
&gt; Does mock have a problem with the fact that my user account information<br>
&gt; is coming from LDAP?</p>
<p>It should not matter. Although I don&#39;t know what the ordering of the paths changed. I&#39;ve hit this problem once too, local users only. </p>
<p>&gt; (And where is the proper place to report mock bugs?  fedorahosted trac<br>
&gt; 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&#39;t seen to have this problem on all my systems. </p>
<p>Hth,<br>
Niels</p>
<p>&gt;<br>
&gt; --<br>
&gt; Braden McDaniel &lt;<a href="mailto:braden@endoframe.com">braden@endoframe.com</a>&gt;<br>
&gt;<br>
&gt; --<br>
&gt; devel mailing list<br>
&gt; <a href="mailto:devel@lists.fedoraproject.org">devel@lists.fedoraproject.org</a><br>
&gt; <a href="https://admin.fedoraproject.org/mailman/listinfo/devel">https://admin.fedoraproject.org/mailman/listinfo/devel</a></p>