[PATCH] Start daemon only after filesystems are mounted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When images are on mounted filesystems, there is no guarantee libvirtd
will start before they are mounted.  In systemd world, this is done
with 'After=systemd.mount' in the service file.

Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx>
---
 daemon/libvirtd.service.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/daemon/libvirtd.service.in b/daemon/libvirtd.service.in
index 1759ac8a0946..c461f9462ae5 100644
--- a/daemon/libvirtd.service.in
+++ b/daemon/libvirtd.service.in
@@ -5,6 +5,7 @@ After=network.target
 After=dbus.service
 After=iscsid.service
 After=apparmor.service
+After=systemd.mount
 Documentation=man:libvirtd(8)
 Documentation=http://libvirt.org

-- 
2.5.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]