Commit 86e27b35 authored by Martin Kletzander's avatar Martin Kletzander 🇨🇿
Browse files

Remove Before=libvirt-guests.service from other services



libvirt-guests has After= dependency for all the sockets and that is enough.
With the extra Before= in the service file systemd postpones the start of the
socket activated service (when libvirt-guests is trying to connect to the
socket) until after libvirt-guests is stopped effectively making `systemctl stop
libvirt-guests` deadlock.  The reason for that is that all stop jobs are
scheduled before any start job.  Removing the redundant Before= specification
fixes this behaviour.

Signed-off-by: default avatarMartin Kletzander <mkletzan@redhat.com>
Reviewed-by: default avatarMichal Privoznik <mprivozn@redhat.com>
parent 92e78dab
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment