John Pilkington wrote:
Fedora 30 had several dnf-related updates today. Since then, mock
fails
with KeyError: 'yum.conf'
In the mockbuild directory, /var/lib/mock/Fedora.../root/etc/yum.conf is a
link to yum/yum.conf, which is a 0 byte file.
In the corresponding file for epel-7 builds, last used before the updates,
yum/yum.conf is 3.2 kB
In the F30 host /etc/yum.conf is now 816 bytes
Perhaps I should try to revert.
It might be worth running a --scrub=all on the affected
chroots as well as checking whether you have local overrides
to the mock config files (in /etc/mock or ~/.config/mock*).
There was a recent thread on fedora-buildsys about a similar
issue someone had with the mock 2.0 update.
--
Todd