When attempting to use fedpkg, I was running into the authentication issue described at the fourth bullet point under General problems at https://docs.pagure.org/koji/kerberos_gssapi_debug/. As instructed, I checked my /etc/krb5.conf to see whether it contained the line dns_canonicalize_hostname = true. It did. After checking the rest of the config file as well as /etc/krb5.conf.d/fedoraproject_org and not seeing anything suspicious, I tried setting dns_canonicalize_hostname to fallback, which solved the issue. After further experimentation, I found out that dns_canonicalize_hostname needs to be set to fallback or false. The authentication fails if it's set to true, or if the line is missing altogether. I'm not sure whether the documentation is factually wrong, clumsily worded, outdated, or whether I was perhaps running into a different problem which happened to manifest itself this same way.
fedpkg
/etc/krb5.conf
dns_canonicalize_hostname = true
/etc/krb5.conf.d/fedoraproject_org
dns_canonicalize_hostname
fallback
false
true
I can reliably reproduce the problem by either setting dns_canonicalize_hostname to true or deleting the line from the config file.
It is a different type of setup. I'll add some clarification there to test also fallback/false.
Metadata Update from @tkopecek: - Custom field Size adjusted to None - Issue set to the milestone: 1.30 - Issue tagged with: doc, no_qe
PR #3472
Commit a5a2ac38 fixes this issue
Commit 92f5554b relates to this ticket
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/koji/issues/3471
Please continue any further discussion there.