]> git.ipfire.org Git - thirdparty/systemd.git/commit
nspawn: free D-Bus error before fallback (#39131)
authorLuca Boccassi <bluca@debian.org>
Fri, 26 Sep 2025 05:00:48 +0000 (06:00 +0100)
committerGitHub <noreply@github.com>
Fri, 26 Sep 2025 05:00:48 +0000 (14:00 +0900)
commit996e6d0d8957653ff84387367e81ba5f9cbfbbf2
treecc5f7b317d642cc8e5276b5c72b9ce1251d55174
parent0f44a6c64aebc64a0611a605831206afee9cb730
nspawn: free D-Bus error before fallback (#39131)

Otherwise the next call fails:

Got message type=error sender=:1.5 destination=:1.470 path=n/a
    interface=n/a member=n/a cookie=151 reply_cookie=3 signature=s
    error-name=org.freedesktop.DBus.Error.UnknownMethod
    error-message=Unknown method CreateMachineEx or interface
    org.freedesktop.machine1.Manager. Assertion
'!bus_error_is_dirty(reterr_error)' failed at
    src/libsystemd/sd-bus/sd-bus.c:2396, function sd_bus_call(). Aborting.

Follow-up for d80af3b97b94e450a002ddac13874a953f0eab3e
src/nspawn/nspawn-register.c