Hello community,

here is the log from the commit of package hyper-v for openSUSE:Factory checked 
in at 2013-08-23 11:06:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hyper-v (Old)
 and      /work/SRC/openSUSE:Factory/.hyper-v.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hyper-v"

Changes:
--------
--- /work/SRC/openSUSE:Factory/hyper-v/hyper-v.changes  2013-08-07 
20:44:13.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.hyper-v.new/hyper-v.changes     2013-08-23 
11:06:19.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Aug 12 16:56:08 CEST 2013 - oher...@suse.de
+
+- Skip restart_on_update with old hyper-v.rpms while old
+  kernel is running (bnc#770763)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ hyper-v.init.sh ++++++
--- /var/tmp/diff_new_pack.IyRuiR/_old  2013-08-23 11:06:19.000000000 +0200
+++ /var/tmp/diff_new_pack.IyRuiR/_new  2013-08-23 11:06:19.000000000 +0200
@@ -29,8 +29,27 @@
 case "$1" in
     start)
        echo -n "Starting Hyper-V KVP daemon "
-       env PATH=/usr/lib/hyper-v/bin:$PATH \
-       startproc $HV_KVP_BIN
+       # The service can not be restarted
+       # IF the currently running kernel is too old, the new daemon is started
+       # anyway. Due to a flaw in the old kernel-user protocol the kernel 
+       # will flood /var/log/messages with messages like:
+       # "hv_utils: KVP: user-mode registering done."
+       # This is also caused by old hyper-v.rpms which have a restart command
+       # in their post install script. Catch those old kernels and avoid the
+       # flood, which will easily fill the root partition during an upgrade.
+       case "`uname -r`" in
+               2.*)      rc_failed 3 ;;
+               3.0.13-*) rc_failed 3 ;;
+               3.0.26-*) rc_failed 3 ;;
+               3.0.31-*) rc_failed 3 ;;
+               3.0.34-*) rc_failed 3 ;;
+               3.0.38-*) rc_failed 3 ;;
+               3.0.42-*) rc_failed 3 ;;
+               *)
+               env PATH=/usr/lib/hyper-v/bin:$PATH \
+               startproc $HV_KVP_BIN
+               ;;
+       esac
        rc_status -v
        ;;
     stop)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to