Description of problem: After the patch https://github.com/rpm-software-management/libdnf/commit/fbcd3ce3e77b2119c2298e89b07a0798a9991e85 was merged the --config option of microdnf does not work any more. The problem is that the patch caused the /etc/dnf/dnf.conf file is read in dnf_context_init() - before microdnf could set the config path.
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle. Changing version to 33.
Prepared fix PR: https://github.com/rpm-software-management/libdnf/pull/1017
Added a test here: https://github.com/rpm-software-management/ci-dnf-stack/pull/864
FEDORA-2020-210ee4a384 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-210ee4a384
FEDORA-2020-210ee4a384 has been pushed to the Fedora 33 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-210ee4a384` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-210ee4a384 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2020-210ee4a384 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.