Fix logd panic: hard-depend on randd (P58)
logd was starting before randd, causing a panic when the Rust std library tried to get random data from /scheme/rand which didn't exist yet. This cascaded into fbbootlogd failing (no log scheme) and vesad timing out, blocking the console/getty chain entirely. P58 adds: - 00_logd.service: requires = ["00_randd.service"] - 20_fbbootlogd.service: requires = ["00_logd.service"] Result: mini ISO boots to RedBear Login: prompt with working console, D-Bus, driver-manager, and all boot stage markers.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
diff --git a/init.initfs.d/00_logd.service b/init.initfs.d/00_logd.service
|
||||
index b2293176..87dd7a45 100644
|
||||
--- a/init.initfs.d/00_logd.service
|
||||
+++ b/init.initfs.d/00_logd.service
|
||||
@@ -3,0 +4 @@ default_dependencies = false
|
||||
+requires = ["00_randd.service"]
|
||||
diff --git a/init.initfs.d/20_fbbootlogd.service b/init.initfs.d/20_fbbootlogd.service
|
||||
index 199c112a..5f1178a5 100644
|
||||
--- a/init.initfs.d/20_fbbootlogd.service
|
||||
+++ b/init.initfs.d/20_fbbootlogd.service
|
||||
@@ -2,0 +3 @@ description = "Graphical bootlog"
|
||||
+requires = ["00_logd.service"]
|
||||
@@ -0,0 +1 @@
|
||||
../../../local/patches/base/P58-logd-requires-randd.patch
|
||||
@@ -67,6 +67,7 @@ patches = [
|
||||
"P19-init-startup-hardening.patch",
|
||||
"P19-acpid-startup-hardening.patch",
|
||||
"P20-ramfs-requires-randd.patch",
|
||||
"P58-logd-requires-randd.patch",
|
||||
"P21-boot-daemon-graceful-panic.patch",
|
||||
"P23-rootfs-hard-dep-on-drivers.patch",
|
||||
"P24-acpi-s5-derivation-shutdown-semantics.patch",
|
||||
|
||||
Reference in New Issue
Block a user