Re: [libvirt] [PATCH] daemon: Remove deprecated HAL from init script dependencies

2012-03-02 Thread Eric Blake
On 03/02/2012 08:33 AM, Peter Krempa wrote:
 The init script for the daemon requests to start HAL although it has
 been deprecated long time ago. This patch removes the dependency.
 ---
  daemon/libvirtd.init.in |1 -
  1 files changed, 0 insertions(+), 1 deletions(-)
 
 diff --git a/daemon/libvirtd.init.in b/daemon/libvirtd.init.in
 index 3c49b1f..f66ddad 100644
 --- a/daemon/libvirtd.init.in
 +++ b/daemon/libvirtd.init.in
 @@ -8,7 +8,6 @@
  # Required-Start: $network messagebus
  # Should-Start: $named
  # Should-Start: xend
 -# Should-Start: hal

Should we make this a configure decision, as in:

configure.ac:
if test $with_hal = yes; then
  AC_SUBST([INIT_HAL], [Should-Start: hal])
else
  AC_SUBST([INIT_HAL], [])
fi

libvirtd.init.in:
# @INIT_HAL@

Then again, in typing it out, I think that's overkill.  So ACK to your
patch, as-is.

-- 
Eric Blake   ebl...@redhat.com+1-919-301-3266
Libvirt virtualization library http://libvirt.org



signature.asc
Description: OpenPGP digital signature
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH] daemon: Remove deprecated HAL from init script dependencies

2012-03-02 Thread Peter Krempa

On 03/02/2012 04:38 PM, Eric Blake wrote:

On 03/02/2012 08:33 AM, Peter Krempa wrote:

The init script for the daemon requests to start HAL although it has
been deprecated long time ago. This patch removes the dependency.
---
  daemon/libvirtd.init.in |1 -
  1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/daemon/libvirtd.init.in b/daemon/libvirtd.init.in
index 3c49b1f..f66ddad 100644
--- a/daemon/libvirtd.init.in
+++ b/daemon/libvirtd.init.in
@@ -8,7 +8,6 @@
  # Required-Start: $network messagebus
  # Should-Start: $named
  # Should-Start: xend
-# Should-Start: hal


Should we make this a configure decision, as in:


I was considering this option, but I don't think that anybody will ever 
try to use HAL with recent libvirt again.


configure.ac:
if test $with_hal = yes; then
   AC_SUBST([INIT_HAL], [Should-Start: hal])
else
   AC_SUBST([INIT_HAL], [])
fi

libvirtd.init.in:
# @INIT_HAL@

Then again, in typing it out, I think that's overkill.  So ACK to your
patch, as-is.


Thanks; pushed.

Peter

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list