221
submitted 1 year ago by MoreCoffee@lemm.ee to c/linux@lemmy.ml

Systemd 254 released and now has a new soft-reboot option:

    * 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.>
you are viewing a single comment's thread
view the rest of the comments
[-] Chais@sh.itjust.works 4 points 1 year ago* (last edited 1 year ago)

Does that mean we will be able to update graphics drivers without a full reboot if the kernel didn't update?

[-] treadful@lemmy.zip 18 points 1 year ago

I don't think any graphics drivers run in user-space, so probably not.

[-] garam@lemmy.my.id 6 points 1 year ago

Kernel space..

GNU Hurd.. Hurt.. 😂

load more comments (4 replies)
load more comments (6 replies)
this post was submitted on 30 Jul 2023
221 points (97.8% liked)

Linux

48179 readers
1106 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS