dcsimg

Interview with Ksplice Co-Founder

Ksplice is an amazing new technology which allows patches to be applied directly into a running kernel, without needing a reboot. Linux Magazine talks with co-founder and Chief Operating Officer and discusses the origins of the project and what it has to offer.

Ksplice is an advanced new project which enables patches to be applied directly into a running kernel, without the need for a reboot. The project has just announced a free service for users of Ubuntu Jaunty Jackalope which enables this right on the desktop. Linux Magazine had a chat with co-founder and Chief Operating Officer, Waseem Daher, about this exciting new system, what inspired the project and what it has to offer.

Christopher Smart: Could you tell us about Ksplice, what it is and how it works?

Waseem Daher: Sure. It’s technology that Jeff Arnold developed at MIT (Massachusetts Institute of Technology) as his Masters thesis, which he started working on in mid-2006, and it lets you update a running Linux kernel without requiring a reboot. The technical details are explored in detail in the paper available on the website, but at a high level, the interesting thing about Ksplice is that it’s technology that takes a traditional source patch that the developers on the LKML (Linux Kernel Mailing List) are already writing and produces a rebootless update. That’s really interesting because it makes this a very practical technology.

CS: Who started the project and what was the main motivation for it?

WD: Jeff, when he was a student and MIT, was administering servers and a new security update became available in the middle of the week. This was over the Summer and he had a Summer job and he said: “Look, I don’t want to reboot the system during the day because there are lots of users and I don’t want to disrupt them, so I’m going to wait until Sunday at 2am.” That’s basically standard practice for sysadmins of popular systems. But of course, lo and behold, a few days later, someone broke into the system and he had to re-install everything, which was a big pain.

So that really got him thinking: “Well, why is it fundamental that these kernel updates require a reboot at all? Why can’t we just do this modification on the fly?” And so he began tackling this as his thesis project, which later won the “Charles and Jennifer Johnson” thesis prize. When we all graduated in June 2008 with our Masters degrees from MIT, the four of us (Jeff Arnold, Waseem Daher, Tim Abbott and Anders Kaseorg) co-founded Ksplice the company to take this technology further, to take it from the lab and start to get it into the hands of the people who really need it.

CS: What are the main goals of the project and company?

WD: The long term vision is that, at the end of the day, all updates will be hot updates — updates that don’t require a reboot or an application restart. This is actually a big problem because if you look at technology used in data centers, no-one has a good solution for software updates, from as low level as your router or SAN, up to your virtualisation solution, the operating system, the database, and the critical applications. Right now, all these updates require you either to reboot the system or restart the service.

This is a big pain point for sysadmins because, on the one hand you have to apply the updates so that you can fix important security problems, but on the other if you don’t then you’re vulnerable. When you do apply them, though, there’s downtime and that’s lost productivity. There’s a real cost associated with the downtime. We want to take the technology that we’ve developed and use it to make life easier in the data center. That’s the broad vision for where we’re going with the company, and we’re starting with Linux.

CS: Ksplice seems to be geared more towards the server market, but end users can use it too. Do you envisage that desktop users will take it up as well?

WD: We’d definitely like them to! It’s an interesting technology and we hope that people find that it’s fun to use, because rebooting on the desktop is certainly an inconvenience.

CS: Speaking of which, you’ve released your Uptrack service which I installed on an Ubuntu Jaunty machine and it worked very well! However, I had no way of knowing whether the patches actually worked except that the GUI told me so. Do you think that an online service which can run these exploits might be useful to verify that your system is secure?

WD: In our FAQ (Frequently Asked Questions) we have a sample program that demonstrates one of the bugs fixed by our patches. We picked a relatively harmless example, because in general, the bugs that these patches fix could cause the system to lock up or lose data if they’re triggered.

CS: When I was running Ksplice on Ubuntu it provided updates to the running kernel which was version 2.6.28-11. Where were the patches for that coming from?

WD: The patches were coming from the Ubuntu Git source tree for their kernel. With Ksplice Uptrack, we will give you rebootless versions of all of the security updates that Ubuntu releases.

CS: So currently Ubuntu gathers patches but waits to roll them out in a new release such as 2.6.28-13.

WD: Yes, that’s right. In general, they also release “proposed” kernels before they actually end up releasing the real kernel, as a way of having people try them out beforehand.

CS: I noticed that after I had updated to the most recent kernel from Ubuntu, there were still several new patches that Ksplice wanted to apply. Does that mean that by default Ubuntu kernels are more vulnerable?

WD: Those patches are commits in the Ubuntu Git tree which have security and reliability impacts, that they haven’t yet released a new kernel for. Our goal is to track what Ubuntu is releasing very closely, because it’s desirable to know that what you’re getting with the rebootless version is what you’d be getting with the traditional kernel update as well.

CS: When a user runs the system update in Ubuntu sometimes they do get that new kernel, but the system tells them that they need to reboot in order to get those latest updates (even though with Ksplice they actually don’t). Should they reboot anyway, Ksplice is then re-run against that new kernel and will continue to apply patches, correct?

WD: Yes. To be clear: if you’re running Ksplice Uptrack, you never need to reboot for kernel security fixes — we will provide you with rebootless versions of all current and future updates. However, you still need to continue getting traditional updates from Ubuntu because they are providing updates to your user-space software, and we’re not. That said, if you want to reboot into a newly-released Ubuntu kernel, you can still do that too, and Ksplice will pick up from there and apply any patches for it directly.

CS: And then if you do reboot with the new kernel, then you get the latest patches from Ksplice anyway.

WD: Yes, that’s exactly right.

CS: Do you guys have any plans to work directly with Canonical to incorporate Ksplice into all kernel updates so that any patches and updates can be applied in realtime without needing to get that updated kernel all the time? This could simply do away with the old traditional update method.

WD: I’d rather not comment on the specifics of our plans, but one thing that we are doing is beginning to roll out support for other distros like RHEL (Red Hat Enterprise Linux) commercially. The model there is that companies would pay us a monthly fee, like they already pay Red Hat for support, to get these updates in rebootless form.

CS: If any companies are interested in this service, who should they contact? When do you think this will be available?

WD: They should definitely get in touch with us — the contact information is available on our website. We’re currently starting to deploy with a select set of customers, on distributions like RHEL, and you should expect to see the general availability of the service by the end of this year.

CS: What about userspace applications? Do you have any plans to begin working on those, or do you see that as a less important problem?

WD: At our hearts we’re all technologists, so we have no shortage of enhancements and new ideas that we’ve got on the back burner. However, our primary focus these days is really getting Ksplice more widely deployed, so you should expect to see that first.

CS: What are your long term plans for the technology? Are there any enhancements already in the pipeline that we can expect to see over the next year?

WD: The big goal for us is to start getting Ksplice out there on more distributions. One thing we are planning to do by the end of the year is the general availability of an enterprise-grade Ksplice subscription service for major Linux distributions.

CS: Can users run their own offline update service, or do they have to use the online service from Ksplice?

WD: If you want rebootless updates delivered to your machine, you have to use the Ksplice Uptrack subscription service. If you’re a sophisticated kernel hacker, you can play around with the Ksplice utilities, which allow you to build your own rebootless versions of source code patches. In general, the patches tend to be tricky, and you have to understand the limitations of the Ksplice technology: what updates are safe to apply without writing new code and what aren’t. That said, we have a sample rebootless update on our website that people can build using the Ksplice utilities, if people want to play around with it. The Ksplice utilities and the Uptrack client are both released under the GPLv2.

CS: How well has the project been received by the kernel development community? Have you had any specific interaction with them?

WD: Yes, we’ve proposed Ksplice for merge into mainline. One exciting feature about Ksplice is that it does not require advance kernel modification, so we can update your systems without being in mainline, but we realize that Linux is not just a piece of software — it’s a community. We want to be involved in that community, and we’d love for Ksplice to be the de facto rebootless update solution for Linux. At the moment, some of our patches have been merged, and the maintainers are looking for more wide-scale deployment before they consider merging the rest. Our Ubuntu offering is one of the ways we hope to achieve this wide-scale deployment.

CS: How can users or developers get involved in the project?

WD: Like any free software project, we love hearing your feedback and getting your contributions and patches. The big thing that we’re looking for at the moment is to get the technology deployed on many machines, to hear what people find valuable and what they don’t, so I’d really encourage people to give it a try. If you’re running Ubuntu Jaunty, you should head on over to our website and install Ksplice Uptrack with our one-click installer.

CS: Fantastic. Well thank you very much for your time, it’s a great project and quite exciting technology. We wish you all guys all the best!

WD: Thank you very much!

Comments on "Interview with Ksplice Co-Founder"

I am so grateful for your article.Really looking forward to read more. Fantastic.

magnificent publish, very informative. I ponder why the other experts of this sector do not understand this. You should proceed your writing. I am sure, you’ve a huge readers’ base already!

This design is wicked! You obviously know how to keep a reader entertained. Between your wit and your videos, I was almost moved to start my own blog (well, almost…HaHa!) Great job. I really enjoyed what you had to say, and more than that, how you presented it. Too cool!

Hiya, I am really glad I’ve found this information. Today bloggers publish only about gossip and internet stuff and this is really irritating. A good web site with interesting content, that’s what I need. Thank you for making this web site, and I will be visiting again. Do you do newsletters by email?

Wow, great post.Really looking forward to read more. Great.

I2q8Qe Im thankful for the post.Much thanks again. Really Great.

Awesome write-up. I am a regular visitor of your blog and appreciate you taking the time to maintain the excellent site. I’ll be a regular visitor for a long time.

Wonderful story, reckoned we could combine a number of unrelated information, nevertheless definitely worth taking a appear, whoa did one study about Mid East has got additional problerms at the same time.

Although web-sites we backlink to below are considerably not connected to ours, we feel they may be truly really worth a go as a result of, so have a look.

I value the article. Much obliged.

Say, you got a nice blog.Really thank you! Keep writing.

Say, you got a nice post.Really looking forward to read more. Fantastic.

“hi!,I love your writing very much! proportion we communicate more about your post on AOL? I need an expert in this area to resolve my problem. May be that’s you! Having a look ahead to look you.”

A fascinating discussion is worth comment.
I do believe that you need to write more about this topic, it may not be
a taboo subject but generally folks don’t speak about these issues.
To the next! All the best!!

Hello baby
Your article is so helpful for me,i like it,thanks!
Wholesale 68219a Oakley Sunglasses ID8210252 http://www.fleetsale.ru/new-arrival-oakleys-271.html

Wonderful story, reckoned we could combine a number of unrelated data, nonetheless seriously worth taking a appear, whoa did 1 study about Mid East has got more problerms too.

Sites of interest we’ve a link to.

Just beneath, are various completely not associated web-sites to ours, having said that, they’re certainly really worth going over.

Here are a few of the internet sites we suggest for our visitors.

The time to read or visit the content or web pages we’ve linked to below.

HrtL8b hnaxqteqvnfo, [url=http://tbjmbgonwvlz.com/]tbjmbgonwvlz[/url], [link=http://whykobnmhijq.com/]whykobnmhijq[/link], http://jrwpkypbiszz.com/

The information mentioned inside the article are some of the most beneficial accessible.

Check beneath, are some completely unrelated websites to ours, however, they are most trustworthy sources that we use.

Always a huge fan of linking to bloggers that I enjoy but really don’t get a great deal of link really like from.

Howdy just wanted to give you a quick heads up and let you know a few
of the images aren’t loading properly. I’m not sure why but I think its a linking issue.

I’ve tried it in two different internet browsers and both show the same results.

Take a look at my webpage ShirelyNAmoa

Here are a few of the web pages we suggest for our visitors.

Please go to the web pages we comply with, like this a single, as it represents our picks in the web.

Usually posts some quite interesting stuff like this. If you?re new to this site.

It’s the most effective time and energy to make a couple of plans for the longer term and it really is time
for you to be at liberty. I’ve read this publish of course, if I may just I desire to recommend you few fascinating things or
advice. Maybe you could write subsequent articles in relation to this informative article.

I want to learn much more things about it!

Feel free to surf to my weblog: MauroQKarr

We prefer to honor lots of other world wide web internet sites on the web, even if they aren?t linked to us, by linking to them. Below are some webpages worth checking out.

Very couple of websites that transpire to be detailed below, from our point of view are undoubtedly nicely really worth checking out.

Leave a Reply