bus-util: Drop fallback to system/user bus if manager bus doesn't work
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 9 Oct 2024 09:44:34 +0000 (11:44 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 11 Oct 2024 09:35:02 +0000 (11:35 +0200)
commita339495b1d67f69f49ffffdd96002164a28f1c93
treeb8aeed6e7fb7e38c2aa293cd4ee3e7b8e8833867
parentec9fd0d4f5f77404fbfabde9e7a9d01aaa1356ff
bus-util: Drop fallback to system/user bus if manager bus doesn't work

We have various callsites that explicitly need the manager bus and
won't work with the system bus, like daemon-reexec and friends which
can't properly wait until the operation has finished unless using the
manager bus.

If we silently fall back to the system bus for these operations, we
can end up with rather hard to debug issues so let's remove the fallback
as it was added back in 2013 in a6aa89122d2fa5e811a72200773068c13bfffea2
without a clear explanation of why it was needed (I expect as a fallback
if kdbus wasn't available but that's not a thing anymore these days).
src/shared/bus-util.c