From: Martin Kletzander Date: Tue, 25 Aug 2015 15:07:46 +0000 (+0200) Subject: Start daemon only after filesystems are mounted X-Git-Tag: v1.2.18.1~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c1a8f02bf41c73d61740d7055731e62313a6318;p=thirdparty%2Flibvirt.git Start daemon only after filesystems are mounted When images are on mounted filesystems, there is no guarantee libvirtd will start before they are mounted. Since we want to start after both local and remote filesystems are mounted, we need to add both local-fs and remote-fs as targets that should precede starting libvirtd service. Signed-off-by: Martin Kletzander (cherry picked from commit 3418e7815a9fc9245aa6476415a353790ed3cb8b) --- diff --git a/daemon/libvirtd.service.in b/daemon/libvirtd.service.in index 1759ac8a09..9e67e433ad 100644 --- a/daemon/libvirtd.service.in +++ b/daemon/libvirtd.service.in @@ -5,6 +5,8 @@ After=network.target After=dbus.service After=iscsid.service After=apparmor.service +After=local-fs.target +After=remote-fs.target Documentation=man:libvirtd(8) Documentation=http://libvirt.org