Bug 1368404

Summary: lshw-gui does not start from gnome-shell-extension-apps-menu
Product: [Fedora] Fedora Reporter: Keith Dixon <kldixon>
Component: lshwAssignee: Terje Røsten <terje.rosten>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: terje.rosten
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lshw-B.02.18-5.fc25 lshw-B.02.18-5.fc23 lshw-B.02.18-5.fc24 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-29 08:04:03 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:

Description Keith Dixon 2016-08-19 09:59:49 UTC
Description of problem:
Running lshw-gui from the menu I get the following from journalctl -f

lshw.desktop[2223]: Refusing to render service to dead parents.

and I do not get the authentication dialog.

Version-Release number of selected component (if applicable):
lshw-gui-B.02.18-3.fc24.x86_64


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

After little duckduckgoing I found this:
http://askubuntu.com/questions/641593/pkexec-command-in-a-desktop-file

After comparing /usr/share/polkit-1/actions/org.ezix.lshw.gui.policy and /usr/bin/lshw-gui, I made a guess (I do not understand this stuff) that the contents of /usr/bin/lshw-gui should be:

#! /bin/bash

/usr/bin/pkexec /usr/sbin/gtk-lshw

rather than:

#! /bin/bash

exec /usr/bin/pkexec /usr/sbin/gtk-lshw

and it now seems to work.

Comment 1 Terje Røsten 2016-08-24 18:27:07 UTC
Seems to work both ways for me, however I will add your fix, thanks!

Comment 2 Fedora Update System 2016-08-24 19:57:28 UTC
lshw-B.02.18-5.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-fbdb599590

Comment 3 Fedora Update System 2016-08-24 19:57:34 UTC
lshw-B.02.18-5.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-dfdbdc91a9

Comment 4 Fedora Update System 2016-08-24 19:57:39 UTC
lshw-B.02.18-5.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-041537a100

Comment 5 Fedora Update System 2016-08-25 09:28:06 UTC
lshw-B.02.18-5.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-dfdbdc91a9

Comment 6 Fedora Update System 2016-08-25 10:28:06 UTC
lshw-B.02.18-5.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-fbdb599590

Comment 7 Fedora Update System 2016-08-25 10:31:28 UTC
lshw-B.02.18-5.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-041537a100

Comment 8 Fedora Update System 2016-08-29 08:04:00 UTC
lshw-B.02.18-5.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2016-09-04 00:49:59 UTC
lshw-B.02.18-5.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2016-09-04 00:52:03 UTC
lshw-B.02.18-5.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.