https://bugs.kde.org/show_bug.cgi?id=476077
Bug ID: 476077 Summary: [RFE] Support for systemd soft-reboot Classification: Plasma Product: plasmashell Version: 5.27.9 Platform: Archlinux OS: Linux Status: REPORTED Severity: wishlist Priority: NOR Component: Session Management Assignee: plasma-b...@kde.org Reporter: oleksa...@natalenko.name Target Milestone: 1.0 Hello. Since v254 systemd supports a so-called "soft-reboot" action, where the whole userspace is reloaded without restarting the kernel [1] [2]: ``` * A new "soft-reboot" mechanism has been added to the service manager. A "soft reboot" is similar to a regular reboot, except that it affects userspace only: the service manager shuts down any running services and other units, then optionally switches into a new root file system (mounted to /run/nextroot/), and then passes control to a systemd instance in the new file system which then starts the system up again. The kernel is not rebooted and neither is the hardware, firmware or boot loader. This provides a fast, lightweight mechanism to quickly reset or update userspace, without the latency that a full system reset involves. Moreover, open file descriptors may be passed across the soft reboot into the new system where they will be passed back to the originating services. This allows pinning resources across the reboot, thus minimizing grey-out time further. This new reboot mechanism is accessible via the new "systemctl soft-reboot" command. ``` It would be nice to have a possibility to trigger this from the KDE's shutdown menu. Please consider. Thanks. [1] https://www.freedesktop.org/software/systemd/man/latest/systemd-soft-reboot.service.html [2] https://github.com/systemd/systemd/releases/tag/v254 -- You are receiving this mail because: You are watching all bug changes.