]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Start daemon only after filesystems are mounted
authorMartin Kletzander <mkletzan@redhat.com>
Tue, 25 Aug 2015 15:07:46 +0000 (17:07 +0200)
committerCole Robinson <crobinso@redhat.com>
Tue, 22 Sep 2015 00:18:02 +0000 (20:18 -0400)
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 <mkletzan@redhat.com>
(cherry picked from commit 3418e7815a9fc9245aa6476415a353790ed3cb8b)

daemon/libvirtd.service.in

index 1759ac8a09461549288bd5409962d8c9bf32c060..9e67e433adcfacba27ec359d4e77784c2aaad97b 100644 (file)
@@ -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