]> xenbits.xensource.com Git - libvirt.git/commit
rpc: make virNetDaemonCallInhibit a no-op with no logind
authorJán Tomko <jtomko@redhat.com>
Tue, 13 Aug 2019 14:43:27 +0000 (16:43 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 14 Aug 2019 14:22:13 +0000 (16:22 +0200)
commit257f96eb1edfd859a82ca514ae7e3ffa4b49023e
tree14847b2981a648a2a5c1b302b78c24ea39ea8f0c
parentdd16434a2ac1deb403a3d802a9a6cc22f64e0b6d
rpc: make virNetDaemonCallInhibit a no-op with no logind

As a side effect, this also silences the possible:
  internal error: Unable to get DBus system bus connection:
  Failed to connect to socket /run/dbus/system_bus_socket:
  No such file or directory
error, since we check upfront whether dbus is available.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/libvirt_private.syms
src/rpc/virnetdaemon.c
src/util/virsystemd.c
src/util/virsystemd.h