How did rebootless updates work with Ksplice

How can I update my server's kernel without rebooting?

This is a loaded question as I already talked about it informed am and me very much for ksplice interested. The problem is that since they were bought by Oracle, they have been forced to pull numerous server distros off the offerings. The answer is not as simple as it used to be.

I noticed a question on Unix.SE that says:

You can create your own ksplice patches to dynamically load into your own kernel

Large! But how?!

I installed the free package in the repo on my desktop (not what is not free) and now I want to generate and apply updates. How is the process? Are there scripts to automate the process?

Furthermore, if all of the machines required for rebootless upgrades are in the kernel (and package), why on earth aren't we taking advantage of them by default?

KGraft was recently announced. It seems to be roughly the same result. So if you have an answer that includes it, I would be just as happy with it. It is currently a few months after its release.

Note 1: I'm excited about a solution besides ksplice, but it has to deliver the same thing: updates to the kernel are continuous and can be applied without restarting the server.

Note 2: I will say it again. The ksplice "service" does not support Ubuntu Server. In the past, but no longer today. When I talk about using ksplice, I am talking about the open source tools in the package. Any answer that is talked about is probably not what I'm looking for as this is the part that fits right into the "service" mentioned above.


All of the other answers here are great, but specifically for Ubuntu, Canonical is now offering this service on 04/16.

This uses the live patching technology in the upstream Linux kernel since the release of 4.0.

I don't know much about ksplice but thought I'd mention it - have you heard about it? This could be what you need.

Regarding the question, why didn't we adopt this as the default mechanism? Overwriting memory in the current kernel while it is still running can create potential problems. Hardware devices are also expected to be in a defined state, which is not always possible.

You can read the IBM Developer Works article to determine if it suits your needs.

With ksplice, the kernel can be replaced without having to restart. Uptrack works in ksplice and has an editable configuration file in /etc/uptrack/uptrack.conf

There are a couple of open source alternatives to Ksplice, both of which have been submitted for inclusion in the Linux kernel. It's too early to say which ones will end up in the kernel, but you can still try them out if you're brave enough:

You can read more about both here: SUSE Posts kGraft, Red Hat Posts kpatch Patches

Instructions were included in the Arch Linux Wiki:

The only part that seems specific to the distribution is installing ksplice itself. Since you apparently already figured this out, it should get you on your way.

"Oracle Ksplice for Fedora and Ubuntu Desktop Edition has been offered free of charge since July 16, 2015.", Officially.

Just install the downloaded .deb file which you can download from here.

If you try you may have to fix dependencies with.

We use cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By continuing, you consent to our use of cookies and other tracking technologies and affirm you're at least 16 years old or have consent from a parent or guardian.

You can read details in our Cookie policy and Privacy policy.