mirror of
https://github.com/siderolabs/talos.git
synced 2025-10-25 06:21:36 +02:00
machined's main.go waits for boot sequence to finish, while metal platform initializer tries to send a message to the event bus without any listeners, so this is pure deadlock. Resolve that by panicking from initializer, this aborts phase and sequence, and leads to reboot on panic. Not really clean as it leaves scary stacktraces in the dmesg, but it works. Cleanup might be done by introducing error value for reboot, and ignoring it when printing the errors. Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>