From a3dca10fd8f81a677e02af70186da22a70e50f59 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Tue, 25 Nov 2025 12:07:35 +0100 Subject: [PATCH] Fix blocking I/O call in DBusManager.load() (#6346) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Wrap SOCKET_DBUS.exists() call in sys_run_in_executor to avoid blocking os.stat() call in async context. This follows the same pattern already used in supervisor/resolution/evaluations/dbus.py. Fixes SUPERVISOR-11HC 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude --- supervisor/dbus/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervisor/dbus/manager.py b/supervisor/dbus/manager.py index ab40a50cf..201165f28 100644 --- a/supervisor/dbus/manager.py +++ b/supervisor/dbus/manager.py @@ -115,7 +115,7 @@ class DBusManager(CoreSysAttributes): async def load(self) -> None: """Connect interfaces to D-Bus.""" - if not SOCKET_DBUS.exists(): + if not await self.sys_run_in_executor(SOCKET_DBUS.exists): _LOGGER.error( "No D-Bus support on Host. Disabled any kind of host control!" )