Package: initramfs-tools
Version: 0.133
Severity: normal
Tags: patch

The panic()-function in /scripts/function tries to reboot the system.
When this fails, a kernel panic is generated by exiting PID 1.

At least for me, the reboot always fails. AFAIK "reboot" would not work at all
because there is no reboot handler at this stage...

Patch:

--- a/scripts/functions
+++ b/scripts/functions
@@ -47,3 +47,3 @@ panic()
                sleep "${panic}"
-               reboot
+               reboot -f
                exit  # in case reboot fails, force kernel panic

Reply via email to