From 51f289a2735d1b72ab723ea9e6608dd6b126b548 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Tue, 2 Dec 2025 11:02:06 +0100 Subject: [PATCH] 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 --- src/statd/python/yanger/infix_firewall.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/statd/python/yanger/infix_firewall.py b/src/statd/python/yanger/infix_firewall.py index 2d301d78..b06746ae 100644 --- a/src/statd/python/yanger/infix_firewall.py +++ b/src/statd/python/yanger/infix_firewall.py @@ -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