Could nixos-rebuild switch
support live kernel updates via kexec
? Should it?
Probably related to #2079 but for internal use
How do you propose this to work?
Ksplice is available for free but appears unmaintained. Other than that, perhaps KernelCare, kpatch, or kGraft could do the trick.
There is KUP; it uses CRIU/kexec and in general seems to be the most flexible approach.
I found some code at https://github.com/sanidhya/kup-linux/tree/kup-ppp; cc @sanidhya who perhaps can explain KUP's status.
I have worked on KUP prototype sometime back. It's a research prototype which works fine for most of the cases, except these: https://criu.org/What_cannot_be_checkpointed. I will be releasing the basic code by the end of January and will try to maintain it as a package. If you are interested to learn more about the complete design, then I can forward the draft privately.
I'm interested to learn more about the design.
On 07/12/2015 4:46 AM, "Sanidhya" [email protected] wrote:
I have worked on KUP prototype sometime back. It's a research prototype
which works fine for most of the cases, except these:
https://criu.org/What_cannot_be_checkpointed. I will be releasing the
basic code by the end of January and will try to maintain it as a package.
If you are interested to learn more about the complete design, then I can
forward the draft privately.—
Reply to this email directly or view it on GitHub
https://github.com/NixOS/nixpkgs/issues/10726#issuecomment-162331516.
(triage) @sanidhya did you follow up on the packaging?
(triage, again :)
The CRIU package is available by now :smile:
However, it seems like the KUP project isn't making any progress (source code is still not available and probably never will be).
Is this issue still relevant?
Imho live-patching for the kernel would be great, but we need someone to spend time on this (issue).
Some notes:
Yeah, 👍 for livepatch
, if only because it's "vanilla" kernel
Thank you for your contributions.
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:
still important to me
Most helpful comment
still important to me