mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-02 05:43:02 +02:00
statd: reduce log warning to debug
This fixes the following log message on systems w/o firewall enabled dumping operational data: Dec 2 09:24:57 test-00-02-00 yanger[5352]: Failed to connect to firewalld D-Bus: org.freedesktop.DBus.Error.ServiceUnknown: The name org.fedoraproject.FirewallD1 was not provided by any .service files [skip ci] Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -19,7 +19,8 @@ def get_interface(interface="org.fedoraproject.FirewallD1"):
|
||||
return dbus.Interface(obj, dbus_interface=interface)
|
||||
|
||||
except dbus.exceptions.DBusException as e:
|
||||
common.LOG.warning("Failed to connect to firewalld D-Bus: %s", e)
|
||||
# Firewall service may not be running, this is not an error
|
||||
common.LOG.debug("Firewalld not available: %s", e)
|
||||
return None
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user