Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1483854

Summary: systemd breaks dnf ugprade in containers
Product: [Fedora] Fedora Reporter: Standa Laznicka <slaznick>
Component: systemdAssignee: systemd-maint
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 27CC: johannbg, lnykryn, lslebodn, msekleta, muadda, ssahani, s, systemd-maint, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-18 12:14:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
dnf upgrade log none

Description Standa Laznicka 2017-08-22 07:01:13 UTC
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):
systemd-234-5.fc27.x86_64

How reproducible:
Always

Steps to Reproduce:
1. # docker run -ti --rm registry.fedoraproject.org/fedora:rawhide
2. # sudo dnf upgrade -y --nogpgcheck

Actual results:
"""
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'.
"""

Expected results:
Successful upgrade.

Additional information:
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.

Comment 1 Standa Laznicka 2017-08-22 07:13:04 UTC
Created attachment 1316542 [details]
dnf upgrade log

Comment 2 Lukas Slebodnik 2017-09-15 08:24:20 UTC
I assume it is a duplicate of 
https://bugzilla.redhat.com/show_bug.cgi?id=1483553

Comment 3 Standa Laznicka 2017-09-18 12:14:23 UTC
Most probably.

*** This bug has been marked as a duplicate of bug 1483553 ***