From 27e4c353b2c3d5106d0fbdeb0ded5ea34ec987c3 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Fri, 1 Mar 2019 09:27:50 -0500 Subject: [PATCH] daemon/sysroot: Fix ActiveTransaction property Minor regression from #1755. Noticed this after seeing the following in the journal: ``` Mar 01 02:41:03 f29-ros rpm-ostree[3931]: Failed to GetConnectionUnixUser for client /org/projectatomic/rpmostree1/fedora_atomic: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name '/org/projectatomic/rpmostree1/fedora_atomic': no such name Mar 01 02:41:03 f29-ros rpm-ostree[3931]: Failed to GetConnectionUnixProcessID for client /org/projectatomic/rpmostree1/fedora_atomic: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get PID of name '/org/projectatomic/rpmostree1/fedora_atomic': no such name ``` Closes: #1769 Approved by: cgwalters --- src/daemon/rpmostreed-sysroot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/daemon/rpmostreed-sysroot.c b/src/daemon/rpmostreed-sysroot.c index ea15afdd..33bc901d 100644 --- a/src/daemon/rpmostreed-sysroot.c +++ b/src/daemon/rpmostreed-sysroot.c @@ -898,8 +898,8 @@ rpmostreed_sysroot_set_txn (RpmostreedSysroot *self, GDBusMethodInvocation *invocation = rpmostreed_transaction_get_invocation (self->transaction); g_autoptr(GVariant) v = g_variant_ref_sink (g_variant_new ("(sss)", g_dbus_method_invocation_get_method_name (invocation), - g_dbus_method_invocation_get_object_path (invocation), - g_dbus_method_invocation_get_sender (invocation))); + g_dbus_method_invocation_get_sender (invocation), + g_dbus_method_invocation_get_object_path (invocation))); rpmostree_sysroot_set_active_transaction ((RPMOSTreeSysroot*)self, v); rpmostree_sysroot_set_active_transaction_path ((RPMOSTreeSysroot*)self, rpmostreed_transaction_get_client_address (self->transaction));