forked from pool/libvirt
f7a4f1af0a
4036aa91-systemd.patch bnc#767932 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=217
27 lines
928 B
Diff
27 lines
928 B
Diff
commit 4036aa91bff6482cf4c136c93277619fa8ec6f94
|
|
Author: Jim Fehlig <jfehlig@suse.com>
|
|
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
|