No-reboot patching comes to Linux 4.0
zdnet.com
zdnet.com
TD;DR: There are still issues to work out, and working live patching might not be in for 4.0.
> "So, while it is still possible that the kernel will have an essentially complete live-patching feature by the end of the year, it may happen rather closer to the end of the year than the developers involved might have hoped for."
One concern is that stack traces are "best-effort" and not guaranteed to work. Isn't there a way to force them to work, by disabling some stack-related optimizations (like no-omit-frame-pointer)? I imagine there would be a little slowdown, but maybe worth it for the ability to do quick stacktrace-based live patching?
(Also, their blog was great - see eg this really scary proof-of-concept of what you can do when you know how to live-patch a kernel https://blogs.oracle.com/ksplice/entry/hosting_backdoors_in_... )
I guess it's a style of working. If you need to ask, that probably means you're not the kind of person who cares about the advanced tab-grouping features in firefox either, and you probably also never have so many different paper files open on your desk that you can't find space for your laptop? I'm not sure I can explain, and certainly not defend it - you might call it "organised chaos" :)
In any case, it's all state, and it doesn't all fit in your head. And a reboot wipes it out!
I wish I was that perfect! :)
I couldn't imagine being able to clean up stuff like that.
Doesn't seem so lately. I haven't actually plotted it but seems like kernel security updates drop every few weeks these days.
I recall running some form of "stable" red hat without rebooting for very long time years ago, while my ubuntu LTS from last year has a "System restart required" MOTD every other week.
lsof | grep lib | egrep '(DEL|deleted\))'
EDIT: Note that the key feature is assistance in restarting! Which the debian gizmo does. Just detecting can be done by the lsof pipe I posted.
See also https://rwmj.wordpress.com/2014/07/10/which-services-need-re...
If the patch consists of executables that are in use, then it has to give prompts to admins on the usage and to patch it later.
Another concern may be, system may start patching and meanwhile, user starts related applications and it may make whole system unstable and unusable.
I guess, before patching, users need to be stopped till patching is completed successfully.
This is the idea underlying crash-only software:
Note: the page is in French, but both the presentation and the slides are in English.