[Bug 560110] Re: kvm module does not get loaded unless SLEEP_MILLISECS is defined

Kees Cook kees at ubuntu.com
Sat Apr 10 17:57:13 BST 2010


I recommend just adding "true" before the "end script", otherwise the
prior exit code is used on exit from the script (i.e. potential failure
of writing SLEEP_MILLISECS):

...
        else
                [ -w /sys/kernel/mm/ksm/run ] && echo 0 > /sys/kernel/mm/ksm/run
        fi
        true
end script

(or, I guess, "exit 0" if you want too)

-- 
kvm module does not get loaded unless SLEEP_MILLISECS is defined
https://bugs.launchpad.net/bugs/560110
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.



More information about the Ubuntu-server-bugs mailing list