]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Stash the subscriber list when we disconenct from the bus (#35406)
authorLennart Poettering <lennart@poettering.net>
Thu, 9 Jan 2025 13:34:55 +0000 (14:34 +0100)
committerGitHub <noreply@github.com>
Thu, 9 Jan 2025 13:34:55 +0000 (14:34 +0100)
If we unexpectly disconnect from the bus, systemd would end up dropping
the list of subscribers, which breaks the ability of clients like logind
to monitor the state of units.

Stash the list of subscribers into the deserialized state in the event
of a disconnect so that when we recover we can renew the broken
subscriptions.

---

Fixes: #8672 #26744
1  2 
src/core/manager-serialize.c
src/core/manager.c
src/shared/bus-util.c

Simple merge
Simple merge
Simple merge