[PATCH 2/2] libvirt-guests: Add systemd odering dependency to virtproxyd

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

 



It's possible to configure a system such that libvirt-guests connects
to the legacy /run/libvirt/libvirt-sock when running modular daemons,
in which case it connects to virtproxyd. If virtproxyd is stopped before
libvirt-guests, the latter will fail to connect and no running guests
will be stopped/suspended. Likewise on startup, virtproxyd must be
availabel before libvirt-guests. Ensure these conditions are met by
adding an 'After=virtproxyd.socket' ordering dependency to libvirt-guests.

Signed-off-by: Jim Fehlig <jfehlig@xxxxxxxx>
---
 tools/libvirt-guests.service.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/libvirt-guests.service.in b/tools/libvirt-guests.service.in
index c547218f2a..29607bbd66 100644
--- a/tools/libvirt-guests.service.in
+++ b/tools/libvirt-guests.service.in
@@ -9,6 +9,7 @@ After=virtlxcd.socket
 After=virtvboxd.socket
 After=virtvzd.socket
 After=virtxend.socket
+After=virtproxyd.socket
 After=virt-guest-shutdown.target
 Documentation=man:libvirt-guests(8)
 Documentation=https://libvirt.org
-- 
2.41.0





[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]

  Powered by Linux