Hey,<div><br></div><div>just my two cents: It&#39;s possible to run the builders completely without NFS. I use &quot;topurl=&quot; instead of &quot;topdir=&quot; in kojid.conf. The URL is  <a href="http://kojihub.domain.tld/kojimnt">http://kojihub.domain.tld/kojimnt</a> where kojimnt is apache aliased to the /mnt/koji on kojihub. Regen repos has to be run on kojihub in thatcase. It&#39;s the only one in the createrepo channel.</div>

<div><br></div><div>As for the NFS problem: Smells so much like Selinux. Maybe on the server-side? Do you use NFS4 ?</div><div><br></div><div>HTH</div><div>Andreas<br><br><div class="gmail_quote">On Thu, Apr 12, 2012 at 17:40, Moray Henderson <span dir="ltr">&lt;<a href="mailto:Moray.Henderson@ict-software.org">Moray.Henderson@ict-software.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is this the right place for questions on local koji installations?<br>
<br>
Fresh setup of koji on CentOS 6.2.  I&#39;ve got hub, web and builder all<br>
talking to each other, external repositories defined for the build tag and<br>
build groups set up.<br>
<br>
/mnt/koji is an nfs mount with root squashed to uid 48 (apache).  I&#39;ve<br>
tested that I can write to the subdirectories as root and the owner comes<br>
out as apache.  The directory looks like<br>
<br>
  # ll -R koji<br>
  koji:<br>
  total 16<br>
  drwxr-xr-x 2 apache apache 4096 Apr 12 11:13 packages<br>
  drwxr-xr-x 3 apache apache 4096 Apr 12 15:20 repos<br>
  drwxr-xr-x 2 apache apache 4096 Apr 12 11:13 scratch<br>
  drwxr-xr-x 2 apache apache 4096 Apr 12 11:13 work<br>
<br>
  koji/packages:<br>
  total 0<br>
<br>
  koji/repos:<br>
  total 0<br>
<br>
  koji/scratch:<br>
  total 0<br>
<br>
  koji/work:<br>
  total 0<br>
<br>
The Koji/ExternalRepoServerBootstrap document says &quot;Wait for the repo to<br>
regenerate, and you should now be able to run a build successfully.&quot;<br>
However, Koji-web lists the newRepo task as failed with result &quot;&lt;type<br>
&#39;exceptions.OSError&#39;&gt;: [Errno 13] Permission denied: &#39;/mnt/koji/repos&#39;&quot;.  On<br>
the builder, kojid.log reports:<br>
<br>
  2012-04-12 14:20:31,067 [INFO] koji.build: Starting up<br>
  2012-04-12 14:20:34,363 [INFO] koji.TaskManager: Attempting to take task<br>
176<br>
  2012-04-12 14:20:36,275 [INFO] koji.TaskManager: pids: {176: 17925}<br>
  2012-04-12 14:20:36,855 [WARNING] koji.TaskManager: FAULT:<br>
  Traceback (most recent call last):<br>
    File &quot;/usr/lib/python2.6/site-packages/koji/daemon.py&quot;, line 1114, in<br>
runTask<br>
      response = (handler.run(),)<br>
    File &quot;/usr/lib/python2.6/site-packages/koji/tasks.py&quot;, line 146, in run<br>
      return self.handler(*self.params,**self.opts)<br>
    File &quot;/usr/sbin/kojid&quot;, line 2491, in handler<br>
      repo_id, event_id = self.session.host.repoInit(tinfo[&#39;id&#39;], **kwargs)<br>
    File &quot;/usr/lib/python2.6/site-packages/koji/__init__.py&quot;, line 1510, in<br>
__call__<br>
      return self.__func(self.__name,args,opts)<br>
    File &quot;/usr/lib/python2.6/site-packages/koji/__init__.py&quot;, line 1760, in<br>
_callMethod<br>
      raise err<br>
  Fault: &lt;Fault 1: &quot;&lt;type &#39;exceptions.OSError&#39;&gt;: [Errno 13] Permission<br>
denied: &#39;/mnt/koji/repos&#39;&quot;&gt;<br>
<br>
  2012-04-12 14:20:37,110 [INFO] koji.TaskManager: open task: {&#39;waiting&#39;:<br>
None, &#39;id&#39;: 176, &#39;weight&#39;: 0.10000000000000001}<br>
<br>
<br>
I&#39;ve looked into the code, but my python is not up to debugging that.  It&#39;s<br>
not an SELinux problem (I tried permissive mode) and /mnt/koji is mounted<br>
read-write on the builder even though the documentation says that&#39;s not<br>
necessary.  Can someone point me in the right direction?<br>
<br>
<br>
Moray.<br>
&quot;To err is human; to purr, feline.&quot;<br>
<br>
<br>
--<br>
buildsys mailing list<br>
<a href="mailto:buildsys@lists.fedoraproject.org">buildsys@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/buildsys" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/buildsys</a></blockquote></div><br></div>