diff --git a/libvirt-supportconfig b/libvirt-supportconfig index 4e9577d..118a8ae 100644 --- a/libvirt-supportconfig +++ b/libvirt-supportconfig @@ -71,7 +71,7 @@ if ! rpm_verify libvirt-daemon; then exit 0 fi -if systemctl is-enabled libvirtd.service 2>&1 > /dev/null; then +if systemctl is-active --quiet libvirtd.service; then plugin_command "virsh version" plugin_command "virsh capabilities" plugin_command "virsh domcapabilities" diff --git a/libvirt.changes b/libvirt.changes index 899f361..4a919e7 100644 --- a/libvirt.changes +++ b/libvirt.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Oct 18 15:44:15 UTC 2021 - James Fehlig + +- supportconfig: Use systemctl command 'is-active' instead of + 'is-enabled' when checking if libvirtd is active + ------------------------------------------------------------------- Fri Oct 15 21:38:21 UTC 2021 - James Fehlig