Package: kvm
Version: 85+dfsg-4.1
Severity: minor
Tags: patch

When loading the kvm module fails, there's a message like this:

FATAL: Error inserting kvm_intel 
(/lib/modules/2.6.26-2-amd64/kernel/arch/x86/kvm/kvm-intel.ko): Operation not 
supported, Module kvm_intel failed to load failed!, invoke-rc.d: initscript 
kvm, action "start" failed.

"failed to load failed!" doesn't really make sense.

The lsb log_failure_msg function adds its own "fail", so we can
probably use the same text as in the log_success_msg() counterpart.

--- kvm-85+dfsg/debian/kvm.init.orig    2009-10-14 09:43:50.000000000 -0600
+++ kvm-85+dfsg/debian/kvm.init 2009-10-14 09:45:19.000000000 -0600
@@ -38,7 +38,7 @@
        then
                log_success_msg "Loading kvm module $module"
        else
-               log_failure_msg "Module $module failed to load"
+               log_failure_msg "Loading kvm module $module"
                exit 1
        fi
        ;;



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to