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 1655091 - dnf incorrectly installs dbus service on netinstall/minimal install.
Summary: dnf incorrectly installs dbus service on netinstall/minimal install.
Keywords:
Status: CLOSED DUPLICATE of bug 1641456
Alias: None
Product: Fedora
Classification: Fedora
Component: setroubleshoot
Version: 29
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-30 15:06 UTC by Alexandru Barborica
Modified: 2018-12-03 13:21 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-12-03 13:21:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Strace log (643.17 KB, text/plain)
2018-11-30 15:06 UTC, Alexandru Barborica
no flags Details

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 ***


Note You need to log in before you can comment on or make changes to this bug.