Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at 2026-04-08 17:13:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bluez (Old) and /work/SRC/openSUSE:Factory/.bluez.new.21863 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bluez" Wed Apr 8 17:13:32 2026 rev:213 rq:1344855 version:5.82 Changes: -------- --- /work/SRC/openSUSE:Factory/bluez/bluez.changes 2026-03-28 20:14:11.583507918 +0100 +++ /work/SRC/openSUSE:Factory/.bluez.new.21863/bluez.changes 2026-04-08 17:13:42.618937668 +0200 @@ -1,0 +2,7 @@ +Tue Apr 7 05:33:16 UTC 2026 - Joey Lee <[email protected]> + +- Add bluez-mainloop-Only-connect-to-NOTIFY_SOCKET-if-STATUS-Sta.patch + to fix that systemd 259.3 causes timeout in starting home-assistant + using podman systemd unit / quadlet. (bsc#1259656) + +------------------------------------------------------------------- New: ---- bluez-mainloop-Only-connect-to-NOTIFY_SOCKET-if-STATUS-Sta.patch ----------(New B)---------- New: - Add bluez-mainloop-Only-connect-to-NOTIFY_SOCKET-if-STATUS-Sta.patch to fix that systemd 259.3 causes timeout in starting home-assistant ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bluez.spec ++++++ --- /var/tmp/diff_new_pack.ZdjQCB/_old 2026-04-08 17:13:43.394969574 +0200 +++ /var/tmp/diff_new_pack.ZdjQCB/_new 2026-04-08 17:13:43.394969574 +0200 @@ -62,6 +62,8 @@ Patch15: hcidump-Fix-memory-leak-with-malformed-packet.patch # bsc#1013712 CVE-2016-9798 Patch16: hcidump-Fixed-malformed-segment-frame-length.patch +# Bug 1259656 - systemd 259.3 causes timeout in starting home-assistant using podman systemd unit / quadlet +Patch17: bluez-mainloop-Only-connect-to-NOTIFY_SOCKET-if-STATUS-Sta.patch # Upstream suggests to use btmon instead of hcidump and does not want those patches # => PATCH-FIX-OPENSUSE for those two :-) # fix some memory leak with malformed packet (reported upstream but not yet fixed) ++++++ bluez-mainloop-Only-connect-to-NOTIFY_SOCKET-if-STATUS-Sta.patch ++++++ >From 57df14b8f8b15e7936568694bba1f1083c7e69b1 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz <[email protected]> Date: Fri, 2 May 2025 12:12:43 -0400 Subject: [PATCH] mainloop: Only connect to NOTIFY_SOCKET if STATUS=Starting up This makes the handling of NOYIFY_SOCKET conditional to only when application attempts to set STATUS=Starting up which means it is intentionally requiring it. Fixes: https://github.com/bluez/bluez/issues/996 --- src/shared/mainloop-glib.c | 1 - src/shared/mainloop-notify.c | 11 +++++++++-- src/shared/mainloop.c | 2 -- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/shared/mainloop-glib.c b/src/shared/mainloop-glib.c index 7d4b057bf..042119baf 100644 --- a/src/shared/mainloop-glib.c +++ b/src/shared/mainloop-glib.c @@ -33,7 +33,6 @@ static int exit_status; void mainloop_init(void) { main_loop = g_main_loop_new(NULL, FALSE); - mainloop_notify_init(); } void mainloop_quit(void) diff --git a/src/shared/mainloop-notify.c b/src/shared/mainloop-notify.c index 11989512e..5100a4e89 100644 --- a/src/shared/mainloop-notify.c +++ b/src/shared/mainloop-notify.c @@ -111,8 +111,15 @@ int mainloop_sd_notify(const char *state) { int err; - if (notify_fd <= 0) - return -ENOTCONN; + if (notify_fd <= 0) { + if (strcmp(state, "STATUS=Starting up")) + return -ENOTCONN; + + /* Auto init only when starting up */ + mainloop_notify_init(); + if (notify_fd <= 0) + return -ENOTCONN; + } err = send(notify_fd, state, strlen(state), MSG_NOSIGNAL); if (err < 0) diff --git a/src/shared/mainloop.c b/src/shared/mainloop.c index b71707cae..9a2e1eee6 100644 --- a/src/shared/mainloop.c +++ b/src/shared/mainloop.c @@ -65,8 +65,6 @@ void mainloop_init(void) mainloop_list[i] = NULL; epoll_terminate = 0; - - mainloop_notify_init(); } void mainloop_quit(void) -- 2.43.0
