diff --git a/4036aa91-systemd.patch b/4036aa91-systemd.patch new file mode 100644 index 0000000..33872f0 --- /dev/null +++ b/4036aa91-systemd.patch @@ -0,0 +1,26 @@ +commit 4036aa91bff6482cf4c136c93277619fa8ec6f94 +Author: Jim Fehlig +Date: Mon Jul 9 09:52:55 2012 -0600 + + systemd: start libvirtd after network + + Domains configured with autostart may fail to start if the host + network stack has not been started. E.g. when using bridged + networking autostarting a domain can fail with + + libvirtd[1403]: 2012-06-20 13:23:49.833+0000: 1485: error : + qemuAutostartDomain:177 : Failed to autostart VM 'test': Cannot get + interface MTU on 'br0': No such device + +Index: libvirt-0.9.11.4/daemon/libvirtd.service.in +=================================================================== +--- libvirt-0.9.11.4.orig/daemon/libvirtd.service.in ++++ libvirt-0.9.11.4/daemon/libvirtd.service.in +@@ -6,6 +6,7 @@ + [Unit] + Description=Virtualization daemon + Before=libvirt-guests.service ++After=network.target + + [Service] + EnvironmentFile=-/etc/sysconfig/libvirtd diff --git a/libvirt.changes b/libvirt.changes index 3bc23d7..5a7a5c0 100644 --- a/libvirt.changes +++ b/libvirt.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jul 10 09:17:01 MDT 2012 - jfehlig@suse.com + +- libvirtd.service: ensure libvirtd starts after network + 4036aa91-systemd.patch + bnc#767932 + ------------------------------------------------------------------- Fri Jun 22 16:26:01 MDT 2012 - jfehlig@suse.com diff --git a/libvirt.spec b/libvirt.spec index 989e0ed..2844635 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -415,6 +415,7 @@ Patch0: revert-d8978c90.patch Patch1: 57349ffc-lxc-ctrl.patch Patch2: 0dda594d-libvirtd-shutdown-deadlock.patch Patch3: 9c77bf04-fix-virnetserver-refcnt.patch +Patch4: 4036aa91-systemd.patch # Need to go upstream Patch100: xen-name-for-devid.patch Patch101: clone.patch @@ -554,6 +555,7 @@ Authors: %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %patch100 -p1 %patch101 %patch102 -p1