Lennart Poettering
13ffc60749
pid1: add "soft-reboot" reboot method
...
This adds a new mechanism for rebooting, a form of "userspace reboot"
hereby dubbed "soft-reboot". It will stop all services as in a usual
shutdown, possibly transition into a new root fs and then issue a fresh
initial transaction. The kernel is not replaced.
File descriptors can be passed over, thus opening the door for leaving
certain resources around between such reboots.
Usecase: this is an extremely quick way to reset userspace fully when
updating image based systems, without going through a full
hardware/firmware/boot loader/kernel/initrd cycle. It minimizes "grayout time"
for OS updates. (In particular when combined with kernel live patching)
2023-06-02 16:49:38 +02:00
..
2022-07-05 14:40:01 +02:00
2022-07-12 22:54:39 +01:00
2022-07-20 13:15:37 +09:00
2022-07-12 22:54:39 +01:00
2020-11-09 13:23:58 +09:00
2023-06-01 18:49:43 +02:00
2021-06-30 13:25:16 +02:00
2020-11-09 13:23:58 +09:00
2023-05-19 15:22:45 +02:00
2023-05-19 15:22:45 +02:00
2020-11-09 13:23:58 +09:00
2020-11-09 13:23:58 +09:00
2023-05-19 17:47:14 +02:00
2023-04-27 12:28:50 +09:00
2020-11-09 13:23:58 +09:00
2021-05-19 10:24:43 +09:00
2020-11-09 13:23:58 +09:00
2021-06-30 13:25:16 +02:00
2022-03-14 22:39:32 +00:00
2021-07-02 18:29:54 +02:00
2020-11-09 13:23:58 +09:00
2021-06-30 13:25:16 +02:00
2020-11-09 13:23:58 +09:00
2021-11-05 21:32:11 +00:00
2020-11-09 13:23:58 +09:00
2021-06-30 13:25:16 +02:00
2021-06-30 13:25:16 +02:00
2020-11-09 13:23:58 +09:00
2020-11-09 13:23:58 +09:00
2021-04-20 19:11:07 +02:00
2022-08-18 10:27:44 +02:00
2020-11-09 13:23:58 +09:00
2020-11-09 13:23:58 +09:00
2023-04-28 23:26:20 +01:00
2020-11-09 13:23:58 +09:00
2020-11-09 13:23:58 +09:00
2021-04-20 18:26:17 +02:00
2021-04-20 18:26:17 +02:00
2021-10-15 10:19:54 -05:00
2021-10-15 10:19:54 -05:00
2020-11-09 13:23:58 +09:00
2021-06-30 13:25:16 +02:00
2022-09-15 14:59:11 +02:00
2021-06-30 13:25:16 +02:00
2023-05-23 12:39:16 +02:00
2020-11-09 13:23:58 +09:00
2020-11-09 13:23:58 +09:00
2021-09-30 12:27:06 +02:00
2023-06-02 16:49:38 +02:00
2022-06-21 18:15:34 +02:00
2020-11-09 13:23:58 +09:00
2022-05-21 14:29:14 +02:00
2022-05-21 14:29:14 +02:00
2022-05-21 14:29:14 +02:00
2020-11-09 13:23:58 +09:00
2020-11-09 13:23:58 +09:00
2021-06-30 13:25:16 +02:00
2021-06-30 13:25:16 +02:00
2021-06-30 13:25:16 +02:00
2023-05-23 12:39:34 +02:00
2022-07-04 19:56:53 +02:00
2023-05-23 12:39:16 +02:00
2021-05-19 10:24:43 +09:00
2021-06-30 13:25:16 +02:00
2020-11-09 13:23:58 +09:00
2021-06-30 13:25:16 +02:00
2020-11-09 13:23:58 +09:00
2021-10-14 12:17:02 -05:00
2021-05-19 10:24:43 +09:00
2020-11-09 13:23:58 +09:00
2020-11-09 13:23:58 +09:00
2021-11-05 21:32:11 +00:00
2021-06-30 13:25:16 +02:00
2020-11-09 13:23:58 +09:00
2020-11-09 13:23:58 +09:00
2021-06-30 13:25:16 +02:00
2020-11-09 13:23:58 +09:00
2021-06-30 13:25:16 +02:00
2023-06-02 16:49:38 +02:00
2020-11-09 13:23:58 +09:00
2020-11-09 13:23:58 +09:00
2020-11-09 13:23:58 +09:00
2021-06-30 13:25:16 +02:00
2022-07-04 19:56:53 +02:00
2022-07-04 19:56:53 +02:00
2022-07-04 19:56:53 +02:00
2022-07-04 19:56:53 +02:00
2022-09-15 14:59:11 +02:00
2020-11-09 13:23:58 +09:00
2023-06-01 18:49:43 +02:00
2023-06-01 18:49:43 +02:00
2023-04-25 17:40:41 +02:00
2020-11-09 13:23:58 +09:00
2020-11-09 13:23:58 +09:00
2022-09-15 14:59:11 +02:00
2022-09-15 14:59:11 +02:00
2022-09-15 14:59:11 +02:00
2021-06-15 12:14:26 +01:00
2021-05-19 10:24:43 +09:00
2022-12-15 03:36:27 +09:00
2021-05-19 10:24:43 +09:00
2021-05-19 10:24:43 +09:00
2023-01-04 15:18:10 +01:00
2023-05-23 12:39:16 +02:00
2023-04-06 20:47:26 +09:00
2023-03-30 08:53:52 +09:00
2021-11-30 16:49:58 +00:00
2020-11-09 13:23:58 +09:00
2023-05-26 15:07:01 +02:00
2021-11-10 11:58:12 +01:00
2021-05-19 10:24:43 +09:00
2023-05-23 12:39:16 +02:00
2023-05-23 12:39:16 +02:00
2021-06-30 13:25:16 +02:00
2021-05-19 10:24:43 +09:00
2021-06-15 12:14:26 +01:00
2020-11-09 13:23:58 +09:00
2022-09-05 15:22:53 +02:00
2023-05-09 06:10:23 +09:00
2023-05-23 12:39:16 +02:00
2021-06-15 12:14:26 +01:00
2021-05-22 16:02:02 +09:00
2021-05-19 10:24:43 +09:00
2021-06-15 12:14:26 +01:00
2023-05-23 12:39:16 +02:00
2023-05-23 12:39:16 +02:00
2021-05-19 10:24:43 +09:00
2020-11-09 13:23:58 +09:00
2021-05-19 10:24:43 +09:00
2020-11-09 13:23:58 +09:00
2021-05-19 10:24:43 +09:00
2023-01-11 17:18:57 +01:00
2022-07-01 14:17:33 +09:00
2020-11-09 13:23:58 +09:00
2023-03-16 11:22:58 +01:00
2022-07-01 14:17:33 +09:00
2021-06-09 12:30:22 +09:00
2020-11-09 13:23:58 +09:00
2021-06-15 12:14:26 +01:00
2021-05-19 10:25:26 +09:00
2023-01-10 18:28:38 +01:00
2020-11-09 13:23:58 +09:00
2022-09-16 19:50:52 +01:00
2021-05-19 10:24:43 +09:00
2022-09-15 14:59:11 +02:00
2023-05-15 15:42:21 +02:00
2023-05-15 15:42:21 +02:00
2023-05-26 06:54:56 +08:00
2021-04-19 11:25:33 +09:00
2023-04-27 12:18:32 +02:00
2023-05-15 15:42:21 +02:00
2023-05-19 08:58:56 +02:00
2023-02-09 12:04:21 +00:00
2023-02-09 12:04:21 +00:00
2023-02-09 12:04:21 +00:00
2023-02-09 12:04:21 +00:00
2023-02-09 12:04:21 +00:00
2023-02-09 12:04:21 +00:00
2023-05-09 06:10:23 +09:00
2021-06-30 13:25:16 +02:00
2023-05-15 15:42:21 +02:00
2023-05-23 12:39:16 +02:00
2023-05-23 12:39:16 +02:00
2021-06-30 13:25:16 +02:00
2023-05-23 12:39:16 +02:00
2023-05-23 12:39:33 +02:00
2023-05-26 06:54:56 +08:00
2023-05-15 15:42:21 +02:00
2023-05-23 12:39:16 +02:00
2023-06-02 16:49:38 +02:00
2021-06-15 12:14:26 +01:00
2021-06-30 13:25:16 +02:00
2022-07-14 18:02:58 +02:00
2023-04-12 13:46:08 +02:00
2022-03-19 00:13:55 +01:00
2022-03-19 00:13:55 +01:00
2022-03-19 00:13:55 +01:00
2022-03-21 12:16:54 +01:00
2023-05-23 12:39:16 +02:00
2023-03-07 13:39:31 +01:00
2021-05-19 10:24:43 +09:00
2023-05-15 15:42:21 +02:00
2022-09-15 14:59:11 +02:00
2021-05-22 15:58:40 +09:00
2023-05-31 15:44:44 +02:00
2023-05-23 15:09:39 +02:00
2020-11-09 13:23:58 +09:00
2022-10-26 10:49:09 +02:00
2021-06-15 12:14:26 +01:00
2021-06-15 12:14:26 +01:00
2023-04-27 12:18:32 +02:00
2021-05-19 10:24:43 +09:00
2021-06-30 13:25:16 +02:00
2023-05-23 12:39:16 +02:00
2021-05-19 10:24:43 +09:00
2022-12-19 18:33:24 +01:00
2021-05-10 14:58:39 +02:00
2023-05-23 12:39:16 +02:00
2021-05-19 10:24:43 +09:00
2020-11-09 13:23:58 +09:00
2020-11-09 13:23:58 +09:00
2021-06-30 13:25:16 +02:00
2022-02-23 06:54:54 +09:00
2020-11-09 13:23:58 +09:00
2020-11-09 13:23:58 +09:00
2022-07-12 22:54:39 +01:00
2020-11-09 13:23:58 +09:00
2023-04-27 12:18:32 +02:00
2020-11-09 13:23:58 +09:00
2021-10-14 12:17:02 -05:00
2021-10-14 12:17:02 -05:00