Dave Anderson on Nostr: !!! `systemctl soft-reboot` has landed! It's a userspace-only reboot: systemd shuts ...
!!! `systemctl soft-reboot` has landed! It's a userspace-only reboot: systemd shuts down as normal, but then instead of triggering a CPU reset or kexec, it pivots to a new rootfs and chainloads to systemd in that new root.
This could be kinda great for A/B immutable systems, especially because soft-reboot also supports services that persist _across_ the soft-reboot, or passing resources like server file descriptors across the reboot to minimize impact! So cool.
Published at
2023-07-07 02:09:05Event JSON
{
"id": "2260b70d6456de658725d739998f67758cb172f4572615044acac2e0463a36ca",
"pubkey": "d2bca0280c4620e67261dec7efe7eec4b1ca32ed37c84958d6c76b57526132c5",
"created_at": 1688695745,
"kind": 1,
"tags": [
[
"e",
"d87a1bffa593ec9f339fa39845f69b85fbc52fee383cd23bc8f004ac66e4fa4c",
"wss://relay.mostr.pub",
"reply"
],
[
"mostr",
"https://hachyderm.io/users/danderson/statuses/110670364409329436"
]
],
"content": "!!! `systemctl soft-reboot` has landed! It's a userspace-only reboot: systemd shuts down as normal, but then instead of triggering a CPU reset or kexec, it pivots to a new rootfs and chainloads to systemd in that new root.\n\nThis could be kinda great for A/B immutable systems, especially because soft-reboot also supports services that persist _across_ the soft-reboot, or passing resources like server file descriptors across the reboot to minimize impact! So cool.",
"sig": "cac1059d60a82d9a9a312bc25c6610993d4fcd7c97549f2beab2522d5b1b6f9434f4ab2eccf25357b71c54073b2c49292a86276c279a4481ccacb3bac1084b53"
}