I'm running a private Koji instance (have been for a while) and have started to see that newRepo/createRepo tasks are writing out repos with the wrong permissions on files or directories, which leads to failures:
OSError: [Errno 13] Permission denied: '/mnt/koji/repos/f26-build/9294'
drwx------. 4 apache apache 4096 Aug 24 17:45 9291 drwx------. 4 apache apache 4096 Aug 24 17:45 9292 drwxr-xr-x. 4 apache apache 4096 Aug 24 17:48 9293 drwx------. 4 apache apache 4096 Aug 24 17:48 9294
My Koji hub and builders are fully updated F26 x86_64 machines. Has anyone seen this? Andy pointers on where to start debugging this issue?
Thanks in advance. -A
On Thursday, August 24, 2017 5:53:56 PM CDT Anthony Joseph Messina wrote:
I'm running a private Koji instance (have been for a while) and have started to see that newRepo/createRepo tasks are writing out repos with the wrong permissions on files or directories, which leads to failures:
OSError: [Errno 13] Permission denied: '/mnt/koji/repos/f26-build/9294'
drwx------. 4 apache apache 4096 Aug 24 17:45 9291 drwx------. 4 apache apache 4096 Aug 24 17:45 9292 drwxr-xr-x. 4 apache apache 4096 Aug 24 17:48 9293 drwx------. 4 apache apache 4096 Aug 24 17:48 9294
My Koji hub and builders are fully updated F26 x86_64 machines. Has anyone seen this? Andy pointers on where to start debugging this issue?
Thanks in advance. -A
[f26-build]# cd 9296/x86_64/ [x86_64]# ls -al total 28 drwxr-xr-x. 3 apache apache 4096 Aug 24 17:58 . drwxr-xr-x. 4 apache apache 4096 Aug 24 17:55 .. -rw-r--r--. 1 apache apache 97 Aug 24 17:55 blocklist -rw-r--r--. 1 apache apache 10771 Aug 24 17:55 pkglist drwx------. 2 apache apache 4096 Aug 24 17:58 repodata lrwxrwxrwx. 1 apache apache 11 Aug 24 17:55 toplink -> ../../../..
The repodata subfolder in this case will be unavailable to the builders when accessing /mnt/koji via NFS
-A
On Thursday, August 24, 2017 6:00:54 PM CDT Anthony Joseph Messina wrote:
On Thursday, August 24, 2017 5:53:56 PM CDT Anthony Joseph Messina wrote:
I'm running a private Koji instance (have been for a while) and have started to see that newRepo/createRepo tasks are writing out repos with the wrong permissions on files or directories, which leads to failures:
OSError: [Errno 13] Permission denied: '/mnt/koji/repos/f26-build/9294'
drwx------. 4 apache apache 4096 Aug 24 17:45 9291 drwx------. 4 apache apache 4096 Aug 24 17:45 9292 drwxr-xr-x. 4 apache apache 4096 Aug 24 17:48 9293 drwx------. 4 apache apache 4096 Aug 24 17:48 9294
My Koji hub and builders are fully updated F26 x86_64 machines. Has anyone seen this? Andy pointers on where to start debugging this issue?
[f26-build]# cd 9296/x86_64/ [x86_64]# ls -al total 28 drwxr-xr-x. 3 apache apache 4096 Aug 24 17:58 . drwxr-xr-x. 4 apache apache 4096 Aug 24 17:55 .. -rw-r--r--. 1 apache apache 97 Aug 24 17:55 blocklist -rw-r--r--. 1 apache apache 10771 Aug 24 17:55 pkglist drwx------. 2 apache apache 4096 Aug 24 17:58 repodata lrwxrwxrwx. 1 apache apache 11 Aug 24 17:55 toplink -> ../../../..
The repodata subfolder in this case will be unavailable to the builders when accessing /mnt/koji via NFS
Following up to myself and the list...
I had been trying out Apache's mpm_event_module to enable HTTP/2 features. After I reverted to using mpm_prefork_module Koji no longer exhibits this behavior.
Is there something specific about Koji's design that requires mpm_prefork_module?
buildsys@lists.fedoraproject.org