RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1393488 - firewall-cmd logs errors in absence of polkitd
Summary: firewall-cmd logs errors in absence of polkitd
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: python-slip
Version: 7.2
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Charalampos Stratakis
QA Contact: Vaclav Danek
URL:
Whiteboard:
Depends On:
Blocks: 1420851 1465891 1466363
TreeView+ depends on / blocked
 
Reported: 2016-11-09 16:37 UTC by jigar
Modified: 2022-04-19 13:28 UTC (History)
9 users (show)

Fixed In Version: python-slip-0.4.0-3.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-10 11:44:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0728 0 None None None 2018-04-10 11:44:18 UTC

Internal Links: 2076606

Description jigar 2016-11-09 16:37:09 UTC
Description of problem: firewall-cmd commands log errors in /var/log/messages in absence of polkitd :

Nov  2 17:46:06 localhost dbus-daemon: dbus[608]: [system] Rejected send message, 3 matched rules; type="error", sender=":1.3" (uid=0 pid=618 comm="/usr/bin/python -Es /usr/sbin/firewalld --nofork -") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.ServiceUnknown" requested_reply="0" destination=":1.8" (uid=0 pid=2408 comm="/usr/bin/python -Es /usr/bin/firewall-cmd --list-a")

firewalld does not have a dependency on polkitd, so in absence of polkitd , errors should not be logged when running commands as root.

Version-Release number of selected component (if applicable): firewalld-0.4.3.2-8.el7


How reproducible: Always


Steps to Reproduce:
1. On RHEL 7, remove polkitd ( if installed )
2. Run following firewalld command as root/sudo :

$ firewall-cmd --list-all

3. Check /var/log/messages

Actual results: dbus error messages are logged in /var/log/messages


Expected results: Either polkitd should be a dependency of firewalld or the error messages should not appear in absence of polkitd

Comment 5 Thomas Woerner 2017-05-15 16:49:45 UTC
This is a python-slip issue.

Here is the upstream pull request for the fix: https://github.com/nphilipp/python-slip/pull/4

Here is the proposed fix: https://github.com/t-woerner/python-slip/commit/7ad888e7f92ea3fd6b5c003f3fd7b540d913045e

Comment 16 errata-xmlrpc 2018-04-10 11:44:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0728

Comment 17 Mai Ling 2022-04-19 13:28:37 UTC
issue has been somehow propagated to EL8 where it still occurs.
filed https://bugzilla.redhat.com/show_bug.cgi?id=2076606


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