Description of problem:
When dnf upgrade is run in a container, it fails when running systemd rpm scriptlet.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. # docker run -ti --rm registry.fedoraproject.org/fedora:rawhide
2. # sudo dnf upgrade -y --nogpgcheck
Running scriptlet: systemd-234-5.fc27.x86_64 351/351
Failed to connect to bus: No such file or directory
BDB1539 Build signature doesn't match environment
failed loading RPMDB
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
This seems to be the same issue as https://bugzilla.redhat.com/show_bug.cgi?id=1411299. On F27 it blocks building freeipa-docker container.
Created attachment 1316542 [details]
dnf upgrade log
I assume it is a duplicate of
*** This bug has been marked as a duplicate of bug 1483553 ***