News for hackers. Stuff that matters.
Re:Dynamic Software Updating: Linux 4.0 and Beyond by contingencies on Tuesday April 14, 2015 @09:30PM (#9378405)
While interesting for a subset of use cases, the reality is that testing software in any new environment must occur before trusting it in production.

It would be foolish at this point to trust such upgrades to be '100% clean slate' (ie. equivalent to rebooting to the new kernel). Case in point: if boot-time initialization code has changed, eventual reboot may fail.

An interesting question may be, then, which operations workflow allows for the proactive testing of all three cases: (1) live upgrade kernel/restart services (2) live upgrade/reboot/restart services (3) traditional upgrade/reboot/restart services ?

For the increase in complexity this creates combined with the sole benefit apparently being nominal speed of upgrade/reduced downtime on a per-node basis (in an era where most people running serious services have either outsourced kernel management or are running multi-node HA clustering, anyway), this seems a fairly edge-case feature.

Re:Dynamic Software Updating: Linux 4.0 and Beyond by vezzy-fnord on Tuesday April 14, 2015 @10:35PM (#9378594)
DSU has always been an interesting field to me, and I've wondered why the idea of hotpatching systems while they're running has been so relatively underrated.

Related is application checkpointing, where you can freeze the state of a process (fds, sockets, pipes, sigmasks, open ttys, etc.) into binary images and overlay them back. Useful for all sorts of nifty cases. See CRIU for a Linux implementation: http://criu.org/Main_Page

Re:Dynamic Software Updating: Linux 4.0 and Beyond by frozenport on Tuesday April 14, 2015 @08:56PM (#9378294)
I wonder if we have a new problem: silently breaking stuff?
Re:Dynamic Software Updating: Linux 4.0 and Beyond by aceperry on Tuesday April 14, 2015 @09:57PM (#9378480)
This is cutting edge software, so of course things will break. But once it is been tested out, it'll be fine.
Re:Dynamic Software Updating: Linux 4.0 and Beyond by yeukhon on Wednesday April 15, 2015 @12:45AM (#9378920)
I think what parent comment is referring to the process patched or process that depends on the patched process.
Re:Dynamic Software Updating: Linux 4.0 and Beyond by laumars on Wednesday April 15, 2015 @04:28AM (#9379557)
Indeed we do. And that's covered in some detail in this article.
Re:Dynamic Software Updating: Linux 4.0 and Beyond by choffee on Wednesday April 15, 2015 @05:32AM (#9379815)
I think I would prefer to see the applications be more fault tolerant so that rebooting for a kernel upgrade was no problem as outages are expected. If your software demands 100% kernel uptime then you are just waiting for a failure.
Re:Dynamic Software Updating: Linux 4.0 and Beyond by sengork on Tuesday April 14, 2015 @10:47PM (#9378624)
How long before apps run off the trunk itself?