- supportconfig: Use systemctl command 'is-active' instead of

'is-enabled' when checking if libvirtd is active

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=910
This commit is contained in:
James Fehlig 2021-10-18 16:06:31 +00:00 committed by Git OBS Bridge
parent 37f92ae699
commit c3b5921c8b
2 changed files with 7 additions and 1 deletions

View File

@ -71,7 +71,7 @@ if ! rpm_verify libvirt-daemon; then
exit 0 exit 0
fi 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 version"
plugin_command "virsh capabilities" plugin_command "virsh capabilities"
plugin_command "virsh domcapabilities" plugin_command "virsh domcapabilities"

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Oct 18 15:44:15 UTC 2021 - James Fehlig <jfehlig@suse.com>
- 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 <jfehlig@suse.com> Fri Oct 15 21:38:21 UTC 2021 - James Fehlig <jfehlig@suse.com>