Daan De Meyer
aaa27e2e21
core: Check if any init exists before switching root
...
If we switch root and can't execute an init program afterwards, we're
completely stuck as we can't go back to the initramfs to start
emergency.service as it will have been completely removed by the switch
root operation.
To prevent leaving users with a completely undebuggable system, let's
at least check before we switch root whether at least one of the init
programs we might want to execute actually exist, and fail early if
none of them exists.
2023-05-12 07:48:50 +02:00
..
2023-03-29 10:34:41 +09:00
2023-04-13 11:17:28 +02:00
2023-04-07 10:55:30 +02:00
2023-05-10 15:06:24 +09:00
2023-05-05 18:42:37 +02:00
2023-04-11 11:45:26 +09:00
2023-03-29 10:34:41 +09:00
2023-05-12 07:48:50 +02:00
2023-04-14 13:49:04 +09:00
2023-04-25 18:34:49 +02:00
2023-05-11 13:12:08 +01:00
2023-05-06 21:55:05 +01:00
2023-03-24 13:43:51 +01:00
2023-04-20 21:54:59 +02:00
2023-04-13 11:17:28 +02:00
2023-04-17 19:56:06 +01:00
2023-05-11 14:44:16 +02:00
2023-04-24 22:03:06 +02:00
2023-04-11 09:14:34 +02:00
2023-04-18 10:38:38 +02:00
2023-04-18 11:58:33 +02:00
2023-04-28 18:46:36 +09:00
2023-04-28 14:06:00 +09:00
2023-04-27 21:42:38 +02:00
2023-05-09 06:09:43 +09:00
2023-05-02 12:17:41 +02:00
2023-05-05 18:42:37 +02:00
2023-05-10 14:21:01 +09:00
2023-05-09 14:41:55 +01:00
2023-05-01 15:40:18 +09:00
2023-04-26 08:15:17 +02:00
2023-04-28 18:46:36 +09:00
2023-04-12 13:46:08 +02:00
2023-04-13 11:17:28 +02:00
2023-03-24 13:43:51 +01:00
2023-05-10 14:21:28 +09:00
2023-05-08 09:49:55 +02:00
2023-04-27 12:18:32 +02:00
2023-03-27 10:18:55 +02:00
2023-05-10 18:07:47 +02:00
2023-04-12 13:46:08 +02:00
2023-04-28 12:00:42 +02:00
2023-04-25 18:08:15 +02:00
2023-05-04 09:41:10 +08:00
2023-05-09 08:08:53 +09:00
2023-05-03 17:55:55 +02:00
2023-04-21 12:45:49 +02:00
2023-04-21 16:46:06 +02:00
2023-04-21 12:45:49 +02:00
2023-04-25 17:40:41 +02:00
2023-04-28 23:26:20 +01:00
2023-05-09 00:34:06 +09:00
2023-04-17 05:46:32 +08:00
2023-04-13 11:17:28 +02:00
2023-05-09 18:06:51 +09:00
2023-04-16 13:26:58 +09:00
2023-05-10 18:08:07 +02:00
2023-05-10 19:42:49 +08:00
2023-05-11 10:45:59 +01:00
2023-04-03 12:32:56 +02:00
2023-03-29 10:34:41 +09:00
2023-04-25 18:08:15 +02:00
2023-04-13 05:39:49 +02:00
2023-03-24 13:43:51 +01:00
2023-04-28 12:32:53 +08:00