Learn more about these different git repos.
Other Git URLs
builder: names in certificates and order of add-host, running kojid after, etc.
Here are my notes from a single-host (soon a 2-host setup just to have a separate builder as advised) deployment using SSL certificates:
Maybe some of my comments about default configuration files are not true because I first installed RPMs for 1.15.1 then updated them to 1.16.1.
In https://docs.pagure.org/koji/server_howto/#koji-filesystem-skeleton we're told to create /mnt/koji, create dirs in it then chown all those dirs to apache.
In my setup, which is based on a default apache installation in CentOS 7, this was not sufficient.
Apache wouldn't allow accessing /kojifiles/repos/7.6-build/5/x86_64/toplink/packages/, because toplink is a symlink to /mnt/koji and /mnt/koji doesn't belong to apache. Changing owner to apache fixed it. Could be related to the SymLinksIfOwnerMatch option in apache. I couldn't find it in default configuration files, but maybe it's a default.
Other missing information in the docs:
On CentOS 7 mock fails because systemd-nspawn doesn't support the --chdir option. In mock_output.log: /usr/bin/systemd-nspawn: unrecognized option '--chdir=/chroot_tmpdir/scmroot/nfrotz'
Solutions: use a backported systemd, use a recent fedora or mageia for build nodes, disable nspawn in /etc/mock/site-defaults.cfg: config_opts['use_nspawn'] = False
config_opts['use_nspawn'] = False
You might want to warn somewhere in the docs.
Thank you very much for this list!
I set up a Koji environment recently following the docs and ran into some of these problems as well. I'm submitting PRs for each of them.
Metadata Update from @tkopecek: - Custom field Size adjusted to None - Issue tagged with: doc
Login to comment on this ticket.