I had this problem too. It looks like the SELinux policy is missing a rule. You can find the info about it in Cockpit.
You can try the solution and see if it helps for you:
# ausearch -c 'dnf' --raw | audit2allow -M my-dnf
******************** IMPO...