Hello community,

here is the log from the commit of package libvirt for openSUSE:Factory checked 
in at 2013-10-11 08:55:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libvirt (Old)
 and      /work/SRC/openSUSE:Factory/.libvirt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libvirt"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libvirt/libvirt.changes  2013-10-03 
16:04:54.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libvirt.new/libvirt.changes     2013-10-11 
08:55:03.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Oct  3 11:04:26 MDT 2013 - [email protected]
+
+- Fix condrestart|try-restart invocation of virtlockd init script
+  Modifed virtlockd-init-script.patch
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ virtlockd-init-script.patch ++++++
--- /var/tmp/diff_new_pack.MWed9f/_old  2013-10-11 08:55:04.000000000 +0200
+++ /var/tmp/diff_new_pack.MWed9f/_new  2013-10-11 08:55:04.000000000 +0200
@@ -34,7 +34,7 @@
  ### END INIT INFO
  
  # the following is chkconfig init header
-@@ -23,35 +25,31 @@
+@@ -23,35 +25,33 @@
  # pidfile: @localstatedir@/run/libvirt/virtlockd.pid
  #
  
@@ -45,8 +45,10 @@
  
  SERVICE=virtlockd
 -PROCESS=virtlockd
+-PIDFILE=@localstatedir@/run/libvirt/lockd/$SERVICE.pid
 +PROCESS=@sbindir@/virtlockd
- PIDFILE=@localstatedir@/run/libvirt/lockd/$SERVICE.pid
++PIDDIR=@localstatedir@/run/libvirt/lockd/
++PIDFILE=$PIDDIR/$SERVICE.pid
  
  VIRTLOCKD_ARGS=
  
@@ -58,7 +60,8 @@
 -    echo -n $"Starting $SERVICE daemon: "
 -    daemon --pidfile $PIDFILE --check $SERVICE $PROCESS --daemon 
$VIRTLOCKD_ARGS
 +    echo -n $"Starting $SERVICE "
-+    startproc $PROCESS --daemon $VIRTLOCKD_ARGS
++    test -d $PIDDIR || mkdir -p $PIDDIR
++    startproc -p $PIDFILE $PROCESS --pid-file $PIDFILE --daemon 
$VIRTLOCKD_ARGS
      RETVAL=$?
 -    echo
 -    [ $RETVAL -eq 0 ] && touch @localstatedir@/lock/subsys/$SERVICE
@@ -79,7 +82,7 @@
          rm -f $PIDFILE
      fi
  }
-@@ -65,9 +63,7 @@ reload() {
+@@ -65,9 +65,7 @@ reload() {
      echo -n $"Reloading $SERVICE configuration: "
  
      killproc -p $PIDFILE $PROCESS -HUP
@@ -90,7 +93,7 @@
  }
  
  # See how we were called.
-@@ -76,18 +72,20 @@ case "$1" in
+@@ -76,18 +74,20 @@ case "$1" in
          $1
          ;;
      status)
@@ -105,7 +108,7 @@
          ;;
      condrestart|try-restart)
 -        [ -f @localstatedir@/lock/subsys/$SERVICE ] && restart || :
-+        status >/dev/null && restart || :
++        $0 status >/dev/null && restart || :
          ;;
      *)
          echo $"Usage: $0 
{start|stop|status|restart|condrestart|reload|force-reload|try-restart}"

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to