]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/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)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 26 Aug 2015 14:27:49 +0000 (16:27 +0200)
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>
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