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
--
Anthony -
https://messinet.com/ -
https://messinet.com/~amessina/gallery
F9B6 560E 68EA 037D 8C3D D1C9 FF31 3BDB D9D8 99B6