Description of problem: systemd is failing in unpacking phase during buildroot initialization: DEBUG util.py:421: Running transaction DEBUG util.py:421: error: unpacking of archive failed on file /etc/dbus-1/system.d/org.freedesktop.hostname1.conf;581cbd74: cpio: open DEBUG util.py:421: error: systemd-232-2.fc26.x86_64: install failed DEBUG util.py:421: updmap [WARNING]: resetting $HOME value (was /builddir) to root's actual home (/root). DEBUG util.py:421: Error unpacking rpm package systemd-232-2.fc26.x86_64 DEBUG util.py:421: Error unpacking rpm package systemd-232-2.fc26.x86_64 DEBUG util.py:421: systemd-232-2.fc26.x86_64 was supposed to be installed but is not! It seems pointless to continue. Version-Release number of selected component (if applicable): Not entirely sure, this is on koshei. The log says: INFO buildroot.py:318: Mock Version: 1.2.21 How reproducible: Not 100%, I cannot reproduce this locally. http://koji.fedoraproject.org/koji/taskinfo?taskID=16289297 http://koji.fedoraproject.org/koji/taskinfo?taskID=16289303 http://koji.fedoraproject.org/koji/taskinfo?taskID=16289308 http://koji.fedoraproject.org/koji/taskinfo?taskID=16289313 http://koji.fedoraproject.org/koji/taskinfo?taskID=16289311
It's not clear if dnf exits with an error or not. Sometimes it seems to, but sometimes not: https://kojipkgs.fedoraproject.org//work/tasks/9161/16289161/root.log: DEBUG util.py:421: Running transaction DEBUG util.py:421: error: unpacking of archive failed on file /etc/dbus-1/system.d/org.freedesktop.hostname1.conf;581cbd74: cpio: open DEBUG util.py:421: error: systemd-232-2.fc26.x86_64: install failed DEBUG util.py:421: updmap [WARNING]: resetting $HOME value (was /builddir) to root's actual home (/root). DEBUG util.py:421: Error unpacking rpm package systemd-232-2.fc26.x86_64 DEBUG util.py:421: Error unpacking rpm package systemd-232-2.fc26.x86_64 DEBUG util.py:421: systemd-232-2.fc26.x86_64 was supposed to be installed but is not! ... DEBUG util.py:421: Failed: DEBUG util.py:421: systemd.x86_64 232-2.fc26 DEBUG util.py:421: Complete! DEBUG util.py:557: Child return code was: 0
http://koji.fedoraproject.org/koji/taskinfo?taskID=16288989 https://kojipkgs.fedoraproject.org//work/tasks/8989/16288989/root.log ... DEBUG util.py:557: Child return code was: 1 and that build does not continue. So mock seems to fail the build properly when a subcommand returns an error. Reassigning to dnf.
The return code should be fixed by pull-request: https://github.com/rpm-software-management/dnf/pull/552 Hope that it solve sufficiently your problem *** This bug has been marked as a duplicate of bug 1341086 ***