From: Daan De Meyer Date: Fri, 3 Jan 2025 15:45:50 +0000 (+0100) Subject: core: do not disconnect from bus when failed to install signal match (#35779) X-Git-Tag: v258-rc1~1729 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=37ce3fd2b7dd8f81f6f4bca2003961a92b2963dc;p=thirdparty%2Fsystemd.git core: do not disconnect from bus when failed to install signal match (#35779) If bus_add_match_full() is called without install callback and we failed to install the signal match e.g. by timeout, then add_match_callback() will disconnect from the bus. Let's use a custom install handler and handle failures gracefully. This does not *solve* the root cause of issue https://github.com/systemd/systemd/issues/30573, but should improve the situation when the issue is triggered. --- 37ce3fd2b7dd8f81f6f4bca2003961a92b2963dc