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 1648579

Summary: firewall-config in menu fails to prompt for elevated privileges
Product: [Fedora] Fedora Reporter: Dan Simmons <monetaryabyss>
Component: lxqt-policykitAssignee: Zamir SUN <sztsian>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: egarver, helio, jpopelka, lxqt-sig, projects.rg, rdieter, ti.eugene, twoerner
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: lxqt-policykit-0.13.0-2.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-05 02:34:53 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:

Description Dan Simmons 2018-11-10 18:56:20 UTC
Description of problem:
Selecting the firewall menu item in Preferences results in an error Authorization Failed.

Version-Release number of selected component (if applicable):
0.6.2-1.fc29

How reproducible:
Select the Firewall menu item in Preferences

Steps to Reproduce:
1.Click "f" to open menu
2.select Preferences
3.select firewall

Actual results:
Error Authorization Failed

Expected results:
Elevated authorization prompt --> ability to manage the firewall config.

Additional info:
Adding the following to the firewall-config.desktop file in /usr/share/applications/ serves as a workaround if not fix:
change "Exec=/usr/bin/firewall-config" 
to  "Exec=lxqt-sudo /usr/bin/firewall-config"

Comment 1 Raphael Groner 2018-11-10 19:13:09 UTC
Thanks for the report.

The LXQt SIG can't modify firewall-config.desktop because it's part of firewalld, a general system package. First, we need to know if the maintainers of firewalld (or system-config-firewalld as an alternative) can support LXQt with its menu, maybe it's just a missing if statement or the like in the start script. 
Reassigning.

Comment 2 Zamir SUN 2018-11-26 08:50:13 UTC
Actually this is caused by lxqt-policykit. A fix is coming soon.

Comment 3 Fedora Update System 2018-11-26 15:17:20 UTC
lxqt-policykit-0.13.0-2.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-74613f5668

Comment 4 Fedora Update System 2018-11-27 05:13:53 UTC
lxqt-policykit-0.13.0-2.fc29 has been pushed to the Fedora 29 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-2018-74613f5668

Comment 5 Fedora Update System 2018-12-05 02:34:53 UTC
lxqt-policykit-0.13.0-2.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.