[libvirt] [PATCH 1/4] configure: Change RHEL default from systemd+redhat to systemd

Andrea Bolognani abologna at redhat.com
Tue May 3 09:35:36 UTC 2016


We don't want to install legacy init scripts on modern,
systemd-native hosts.
---
I was under the impression that systemd+redhat was needed to
install /etc/sysconfig/libvirtd, but after taking a better look
at the code that turned out not to be the case.

 m4/virt-init-script.m4 | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/m4/virt-init-script.m4 b/m4/virt-init-script.m4
index 9d0d5c7..d6a52e7 100644
--- a/m4/virt-init-script.m4
+++ b/m4/virt-init-script.m4
@@ -41,9 +41,6 @@ AC_DEFUN([LIBVIRT_CHECK_INIT_SCRIPT],[
         fi
     fi
     if test -f /etc/redhat-release; then
-        if test "$with_init_script" = systemd; then
-            with_init_script=systemd+redhat
-        fi
         if test "$with_init_script" = check; then
             with_init_script=redhat
         fi
-- 
2.5.5




More information about the libvir-list mailing list