From: Cédric Bosdonnat Date: Mon, 3 Mar 2014 10:26:43 +0000 (+0100) Subject: Make sure apparmor is started before libvirtd X-Git-Tag: v1.2.3-rc1~355 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3e4eeff527c59af13e4a8e27bb14caddee0f3a3;p=thirdparty%2Flibvirt.git Make sure apparmor is started before libvirtd If apparmor security driver is enabled in either qemu or lxc driver configuration and libvirtd starts before AppArmor, it will fail. --- diff --git a/daemon/libvirtd.service.in b/daemon/libvirtd.service.in index e1f2a0796a..086da367af 100644 --- a/daemon/libvirtd.service.in +++ b/daemon/libvirtd.service.in @@ -9,6 +9,7 @@ Before=libvirt-guests.service After=network.target After=dbus.service After=iscsid.service +After=apparmor.service Documentation=man:libvirtd(8) Documentation=http://libvirt.org