virt-manager/virtman-libvirtd-not-running.patch

17 lines
889 B
Diff
Raw Normal View History

Use the correct systemd to start libvirt.
Index: virt-manager-1.2.0/virtManager/packageutils.py
===================================================================
--- virt-manager-1.2.0.orig/virtManager/packageutils.py
+++ virt-manager-1.2.0/virtManager/packageutils.py
@@ -154,8 +154,8 @@ def start_libvirtd():
logging.debug("libvirtd not running, asking system-config-services "
"to start it")
scs = Gio.DBusProxy.new_sync(bus, 0, None,
- "org.fedoraproject.Config.Services",
- "/org/fedoraproject/Config/Services/systemd1",
+ "org.freedesktop.systemd1",
+ "/org/freedesktop/systemd1",
"org.freedesktop.systemd1.Manager", None)
scs.StartUnit("(ss)", unitname, "replace")
time.sleep(2)