Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1393488 - firewall-cmd logs errors in absence of polkitd
firewall-cmd logs errors in absence of polkitd
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: python-slip (Show other bugs)
7.2
x86_64 Linux
high Severity high
: rc
: ---
Assigned To: Charalampos Stratakis
Vaclav Danek
: Patch
Depends On:
Blocks: 1420851 1465891 1466363
  Show dependency treegraph
 
Reported: 2016-11-09 11:37 EST by jigar
Modified: 2018-04-10 07:44 EDT (History)
8 users (show)

See Also:
Fixed In Version: python-slip-0.4.0-3.el7
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-04-10 07:44:07 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0728 None None None 2018-04-10 07:44 EDT

  None (edit)
Description jigar 2016-11-09 11:37:09 EST
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 12:49:45 EDT
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 07:44:07 EDT
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

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