Bug 1655091

Summary: dnf incorrectly installs dbus service on netinstall/minimal install.
Product: [Fedora] Fedora Reporter: Alexandru Barborica <alex.barborica>
Component: setroubleshootAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 29CC: alex.barborica, dmach, dwalsh, mblaha, mgrepl, mhatina, packaging-team-maint, plautrba, rpm-software-management, vmojzis, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-03 13:21:52 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
Strace log none

Description Alexandru Barborica 2018-11-30 15:06:41 UTC
Created attachment 1510180 [details]
Strace log

Description of problem:
Installing setroubleshoot on a minimal or server install (or possibly any non-GUI flavor) will not install the correct dependencies for running in GUI mode. It will crash with error 
"ERROR:dbus.proxies:Introspect error on :1.51:/org/fedoraproject/Setroubleshootd: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
could not attach to desktop process"
I believe only the "could not attach to desktop process" is related to the bug.

Version-Release number of selected component (if applicable):
setroubleshoot-3.3.18-1.fc29.x86_64

How reproducible:
Install setroubleshoot on a headless install, install a GUI interface, either manually or using dnf groupinstall the try to run the sealert app.

Steps to Reproduce:
1.Install a fresh fedora minimal installation.
2.Log in and install X server and a desktop environment (ex: cinnamon)
3.Restart
4.Log in
5.Start the SeLinux Troubleshooter (terminal command: sealert)

Actual results:
The application will not run in GUI mode. It works just fine in CLI if given an input file ex: sealert -a /var/log/audit/audit.log

Expected results:
The setroubleshooter GUI should start.

Additional info:
Strace attached.

Comment 1 Alexandru Barborica 2018-12-01 10:37:28 UTC
I believe this may be a duplicate and/or related to this bug https://bugzilla.redhat.com/show_bug.cgi?id=1641456

Comment 2 Alexandru Barborica 2018-12-01 10:45:46 UTC
Solved by running dnf reinstall dbus. Bug clearly related to incorrect install of dbus on netinstall/minimal install of fedora 29.

Comment 3 Daniel Mach 2018-12-03 12:59:53 UTC
This is most likely a packaging issue.
Something like Requires(pre): dbus might be needed to make it work correctly (just guessing).

Comment 4 Petr Lautrbach 2018-12-03 13:21:52 UTC

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