Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

"No Reboot" Kernel Patching - And Why You Should Care
Linux Journal ^ | 22 April 2015 | James Darvell

Posted on 04/27/2015 5:48:18 AM PDT by ShadowAce

click here to read article


Navigation: use the links below to view more comments.
first 1-2021-26 next last

1 posted on 04/27/2015 5:48:18 AM PDT by ShadowAce
[ Post Reply | Private Reply | View Replies]

To: rdb3; Calvinist_Dark_Lord; JosephW; Only1choice____Freedom; amigatec; Still Thinking; ...

2 posted on 04/27/2015 5:48:32 AM PDT by ShadowAce (Linux -- The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce

This is an introduction of a vulnerability.

Servers can avoid reboots for long periods of time, but not forever.

Once you need serious uptime, you will have more than one server providing the same services in either a failover / load balancing type arrangement, and individual servers can be rebooted without creating a service interruption.

Much too risky to allow realtime kernel patches for sake of convenience of no reboot, IMHO.


3 posted on 04/27/2015 6:01:38 AM PDT by PieterCasparzen (Do we then make void the law through faith? God forbid: yea, we establish the law.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: PieterCasparzen

Depends on the situation. Some research applications can run for days at a time—and they need that uptime. This allows for patching during a multi-day/week job without having to restart that job.


4 posted on 04/27/2015 6:03:58 AM PDT by ShadowAce (Linux -- The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 3 | View Replies]

To: ShadowAce

Great! Modern operating systems get something Vax/VMS had 35 years ago. Progress!


5 posted on 04/27/2015 6:11:48 AM PDT by Ethan Clive Osgoode (<<== Click here to learn about Evolution!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce

It seems that more and more applications and software packages have memory leaks that tend to hold on to chunks of memory, and normally about the only solution is a reboot.


6 posted on 04/27/2015 6:15:50 AM PDT by The Sons of Liberty (0bama may not be THE antiCHRIST, but he's definitely ANTI - CHRIST!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Ethan Clive Osgoode
> Great! Modern operating systems get something Vax/VMS had 35 years ago. Progress!

Does OpenVMS have this? I worked with DEC VAX/VMS in the 80's, but haven't played with OpenVMS.

7 posted on 04/27/2015 6:16:24 AM PDT by dayglored (Listen, strange women lying in ponds distributing swords is...sounding pretty good about now.)
[ Post Reply | Private Reply | To 5 | View Replies]

To: ShadowAce

Now you’re down to the set of servers running applications that:

0) have apps that need to run for days without stopping (app too dumb to support saving current state and restarting, but advanced enough to be doing something super critical)

1) the same super-critical apps that are doing some “research” also read and write data over the internet. (apparently the internet-based services they communicate with never go down)

2) the same systems are in dire need of getting security fixes to the kernel applied within a couple days of their release.

Sounds like a TV show, lol. Maybe a sci-fi thriller.

Wait... just a minute...

Hold on, I have to install this new security patch for my kernel...

...

...

...

Ah, ok, done.

Whew !

The terrorist/state-sponsored hackers almost got me !


8 posted on 04/27/2015 6:17:18 AM PDT by PieterCasparzen (Do we then make void the law through faith? God forbid: yea, we establish the law.)
[ Post Reply | Private Reply | To 4 | View Replies]

To: PieterCasparzen

This is probably another wonderful development by the NSA.


9 posted on 04/27/2015 6:21:01 AM PDT by ImJustAnotherOkie
[ Post Reply | Private Reply | To 3 | View Replies]

To: The Sons of Liberty

LOL, yeah. Dang memory leaks.

I guess it helps that all the script-kiddie languages use garbage collection so it’s not uncommon for programmers to not be bothered worrying about deallocation in general.

Remember the floating-point accumulating error on the old Patriot missile system ?

Their workaround was to reboot every so often. Otherwise, according to reports, accuracy was not good.


10 posted on 04/27/2015 6:22:14 AM PDT by PieterCasparzen (Do we then make void the law through faith? God forbid: yea, we establish the law.)
[ Post Reply | Private Reply | To 6 | View Replies]

To: PieterCasparzen
LOL!

0) have apps that need to run for days without stopping (app too dumb to support saving current state and restarting, but advanced enough to be doing something super critical)

I haven't done application development for quite a while, but I did build in checkpoints for those apps that ran for days. I know my current environment has apps that run for days but do not seem to have checkpointing built in.

I guess software development, like all education, is rapidly going downhill.

11 posted on 04/27/2015 6:23:33 AM PDT by ShadowAce (Linux -- The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 8 | View Replies]

To: ImJustAnotherOkie

Would only need to be a very subtle suggestion, just float the idea.

It’s such a cool feature, I’d hop on that right away !

Who wouldn’t want to write that, how cool; hot kernel updates. Very cool.

Well, technically.

Practically speaking though...


12 posted on 04/27/2015 6:25:41 AM PDT by PieterCasparzen (Do we then make void the law through faith? God forbid: yea, we establish the law.)
[ Post Reply | Private Reply | To 9 | View Replies]

To: ShadowAce

That is really cool.


13 posted on 04/27/2015 6:30:20 AM PDT by Scutter
[ Post Reply | Private Reply | To 1 | View Replies]

To: PieterCasparzen

Multi system redundancy can make a good system but less than a perfect one. If a system has to drop a transaction, something suffers.

Claims of risk should be backed up by more than just reiterating the claim. There are plausible risks to an approach like this, such as both kernels needing to be able to support the kernel-to-kernel handoff and having a bug doing so. But they should be listed, not just handwaving engaged in.


14 posted on 04/27/2015 7:08:32 AM PDT by HiTech RedNeck (Embrace the Lion of Judah and He will roar for you and teach you to roar too. See my page.)
[ Post Reply | Private Reply | To 3 | View Replies]

To: PieterCasparzen

Progress is good, what could go wrong?


15 posted on 04/27/2015 7:12:33 AM PDT by ImJustAnotherOkie
[ Post Reply | Private Reply | To 12 | View Replies]

To: ImJustAnotherOkie

If there is a problem, it will manifest in the imperfect handover of process state. I would not want to ever guarantee that every kernel update can be performed this way, or rely upon it. If there is a kernel bug it could negatively impact the ability to do the handoff.

I could see virtualizing the concept, being able to hand off the state of one machine to another machine not just on a local network, but in the cloud. Security would be “a matter of details.”


16 posted on 04/27/2015 7:16:57 AM PDT by HiTech RedNeck (Embrace the Lion of Judah and He will roar for you and teach you to roar too. See my page.)
[ Post Reply | Private Reply | To 15 | View Replies]

To: HiTech RedNeck
Claims of risk should be backed up

Right, we assume things have no risk.

We should have to prove there is a potential risk before we acknowledge there is one.

I mean, really, hot kernel updates. I can't think of any possible malicious outcome that makes use of that feature.

monday morning sarc for you HTR ! :)

you likey ? :)

Yes - I have had a coffee !
17 posted on 04/27/2015 7:21:40 AM PDT by PieterCasparzen (Do we then make void the law through faith? God forbid: yea, we establish the law.)
[ Post Reply | Private Reply | To 14 | View Replies]

To: PieterCasparzen

There would be the usual integrity issues, like assuring that the new kernel is a valid one. These are nothing new, they pertain to all software updates.


18 posted on 04/27/2015 7:23:28 AM PDT by HiTech RedNeck (Embrace the Lion of Judah and He will roar for you and teach you to roar too. See my page.)
[ Post Reply | Private Reply | To 17 | View Replies]

To: ShadowAce

I have to admit, I am a tad disapointed. I was hoping that by Linux 4, we would have migrated to the Minix3 kernel, and by 4.2 would be adopting isolated device drivers.

sigh

But patch on the fly is good. Will have to revisit the RHEL certification.


19 posted on 04/27/2015 7:26:44 AM PDT by taxcontrol
[ Post Reply | Private Reply | To 1 | View Replies]

To: taxcontrol

Squeezing that last mips out of the machine has taken precedence to structurally elegant but CPU hungry architectures.


20 posted on 04/27/2015 7:31:14 AM PDT by HiTech RedNeck (Embrace the Lion of Judah and He will roar for you and teach you to roar too. See my page.)
[ Post Reply | Private Reply | To 19 | View Replies]


Navigation: use the links below to view more comments.
first 1-2021-26 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson