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.>
1 point
*
Removed by mod
permalink
report
reply
2 points
Deleted by creator
permalink
report
parent
reply
1 point

Near instant? They’ve been extremely slow during the update process for me, at least. I haven’t even layered that many packages, the only reason I can think of is that those few could have pulled a ton of dependencies with them, but it’s still way too slow to me (though I still love the distro for all its other perks).

permalink
report
parent
reply
10 points

Also:

When the system hibernates, information about the device and offset used is now written to a non-volatile EFI variable. On next boot the system will attempt to resume from the location indicated in this EFI variable. This should make hibernation a lot more robust, while requiring no manual configuration of the resume location.

permalink
report
reply
36 points

Wow, this seems really useful! What a neat feature.

permalink
report
reply
10 points
  • Support for System V service scripts is now deprecated and will be removed in a future release. Please make sure to update your software now to include a native systemd unit file instead of a legacy System V script to retain compatibility with future systemd releases.

Why is this being removed?

I wouldn’t use it but it certainly seems handy for a quick hack and also for people who are used to the old ways.

permalink
report
reply
45 points

Maintaining legacy options is always maintenance overhead or things you need to work around when implementing new features. I suspect that they’ve concluded that not enough people use it anymore to justify the overhead.

permalink
report
parent
reply
19 points
*

Yeah it’s not like service files are difficult to write. They’re certainly easier than sysv init files

permalink
report
parent
reply
4 points
*

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

permalink
report
reply
2 points

You could always do that. If you update Mesa, any applications you start after updating will use the new version of Mesa

permalink
report
parent
reply
1 point

Oh? I thought I’d at least have to reload a kernel module or something.

permalink
report
parent
reply
18 points

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

permalink
report
parent
reply
5 points

Yes they do, Mesa being one. Only the close to the metal stuff and Kernel-DRM is handled in kernel space, most of the heavy stuff is done in user space.

permalink
report
parent
reply
4 points

Where’s the line you’re drawing? And what would be the “heavy stuff” in user-space?

I’m far from a kernel expert, but I still have the i915 module loaded into the kernel on this bad boy, which I think most people would call a driver.

permalink
report
parent
reply
2 points

True. Dammit.

permalink
report
parent
reply
6 points

Kernel space…

GNU Hurd… Hurt… 😂

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

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

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

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

Community stats

  • 7.5K

    Monthly active users

  • 6.6K

    Posts

  • 179K

    Comments