Ksplice Offers Rebootless Updates For Ubuntu Systems 211
sdasher writes "Ksplice has started offering Ksplice Uptrack for Ubuntu Jaunty, a free service that delivers rebootless versions of all the latest Ubuntu kernel security updates. It's currently available for both the 32 and 64-bit generic kernel, and they plan to add support for the virtual and server kernels by the end of the month, according to their FAQ. This makes Ubuntu the first OS that doesn't need to be rebooted for security updates. (We covered Ksplice's underlying technology when it was first announced a year ago.)"
GPL "terms of service"? (Score:5, Interesting)
They appear to be releasing this licensed as GPL v2, but they have a "terms of service" click-through, according to their screenshot.
That doesn't give me great confidence that they really understand the GPL....
The technology looks pretty cool, though.
Re:GPL "terms of service"? (Score:5, Informative)
So, they're doing the common "commercial open source" thing where the software (the application, the kernel patcher) is open source, but it's also tied to a service (the actual kernel patches) which is not so (free for Jaunty, but if you want a different kernel you'll have to pay Ksplice for support). So the Terms of Service applies to the service, which is really quite sensible.
Re: (Score:2)
Re:GPL "terms of service"? (Score:4, Interesting)
Some installers are simply built to force an EULA on the user so programs that use those are tempted to put something like the GPL in there.
Re: (Score:2)
And in a sense , it's not wrong to do so : GPL doesn't exist for no reason.
It's just that most users won't need to read it . But for a developer that wants to reuse the software , it's certainly good that he knows the software is under GPL license , and what is meant by that.
The dual licensing approach is pretty common . It's one of the ways to make money with open source .
Re: (Score:3, Informative)
why do you think it is called click through licensing. 99.9% of the population doesn't read them, it is there to try and force a legality that doesn't really exist.
The GPL states it is not a EULA (Score:2)
The GPL is a license to copy, modify and distribute. When you download something, you do nothing of the sort.
Re: (Score:3, Informative)
Re: (Score:2, Insightful)
In the broadest strokes, the GPL isn't that different from a EULA. The main difference is the scope of the agreement. When you use a typical EULA'd piece of software, you have to agree only to run it under certain conditions and not to redistribute it. When you use a GPL'd piece of software, you have to agree only to redistribute it only under certain conditions. You don't have to agree to anything to run it, but there are still terms and conditions for your use of the software (if "use" encompasses redistr
Re:GPL "terms of service"? (Score:4, Insightful)
In the broadest strokes, the GPL isn't that different from a EULA.
In the broadest strokes, an apple isn't that much different than an orange.
Re:GPL "terms of service"? (Score:5, Funny)
No kidding. This thread and the original topic is like apples and oranges.
Re:GPL "terms of service"? (Score:4, Funny)
It's not even tangerinely related?
Re:GPL "terms of service"? (Score:5, Funny)
Re:GPL "terms of service"? (Score:4, Funny)
Kinda makes that whole "comparing apples to oranges" argument pretty stupid sounding.
Right up to the point that you bake a pie.
Re: (Score:2)
http://www.google.com/search?q=orange+pie [google.com]
Re: (Score:2)
Which is still going to cause trouble if what you have are, in fact, apples.
Re: (Score:2)
Of course, because they're different things, well spotted, if they were the same thing, there'd be no point trying to draw comparisons because there would be no differences. Just like how I can compare my house to that of one of my neighbours, but if I were to try treat their house as I do my own, I'm gonna get into trouble.
Re: (Score:2, Funny)
How can you call something who's pealing is not edible a fruit?
It'd hope it's 'pealing' would be audible rather than edible.
Re: (Score:2)
An orange is highly acidic, how can you call that a real fruit? and where does it say in the FDA OED regs that acid content means anything to it being a fruit?? (hint tomatoes are technically fruits also there are fuits that are in fact poisonous to humans)
How can you call something who's pealing is not edible a fruit? (orange peel not edible?? BZZT WRONG)
also pineapples are fruit and i don't think that a pineapple peel is edible as such
Fruity (Score:3, Informative)
I hear this occasionally, that tomatoes are technically fruit, that something else is or isn't, so I took the time to look it up a year or so ago.
It turns out that the term fruit means "the ripened ovary of a flowering plant" and "Any sweet, edible part of a plant that resembles seed-bearing fruit, even if it does not develop from a floral ovary" and "a product of plant growth (as grain, vegetables, or cotton." (Wikipeida, Wiktionary, Merriam-Webster)
Interesting too, my first two references are driven by O
Re: (Score:2)
Re: (Score:3, Informative)
Re: (Score:2)
The only thing they have in common is the letter "L". You might just as well claim that an instruction manual isn't that different from a novel.
The GPL isn't an agreement! (Score:2)
In the broadest strokes, the GPL isn't that different from a EULA. The main difference is the scope of the agreement.
Meh, no. The GPL isn't an agreement.
BIG WARNING: I'm not a lawyer. I haven't read much law, but I try to soak up some principles from discussions on slashdot, talks by Lessig, Moglen and Stallman, etc.
The way copyright works is like this: you write some code. Everyone else is forbidden from doing certain things with that code, for a limited time. The GPL is a formal way of saying "I give you permission to do it anyways".
One of the things the GPL gives you permission to do is redistribute the binaries an
Re: (Score:2)
Great! (Score:2, Insightful)
This could actually be really awesome if it's truly production ready. What's that? 100% uptime?! AWRIGHT!
Re: (Score:2)
This can be great advertising:
"Ubuntu: updating and restarting is cliche. Continue to work while staying updated and secure."
I'm not a marketing person so let someone else handle that part. But the idea is clear though.
Re: (Score:3, Interesting)
Re: (Score:3, Interesting)
Well, OK. Let's start with X.
X really is a pain in the ass to deal with. Ever tried to get dual monitors working? OK, ever tried to get dual monitors with differing resolutions working? My standard work configuration when at my desk is two widescreen monitors, one 1280x800 (my laptop panel--I don't use a desktop right now) and a 1440x900 LCD monitor, oriented vertically (great for reading or code listings, I can't recommend that enough!). I spent far too much time trying to make this system work under Linux
Re: (Score:3, Interesting)
KDE 4 really isn't as bad as you're making it out to be. There are some changes I don't necessarily agree with, but all things considered I'm pleased with the direction it's taking and look forward to when the release a feature-complete version (4.2 is getting close, though!).
It is as bad, and I'm not going near it while the current bunch of idiots is running the show.
Your last sentence is kind of comical. Have you ever _read_ the Gnome mailing lists? If you want condescending, disdainful discourse, that's a great place to start.
The GNOME mailing lists are immaterial as long as they treat their users with respect in normal discourse. I don't care what assholes they are to each other. Meanwhile, KDE insists that "they don't need users." I have contributed to KDE applications in the past, and there are two 3.5 themes on KDELook that I have authored. Fuck 'em. They don't want users, they don't want me, because I'm a user first and a contribut
Re:Great! (Score:5, Informative)
What more do you want? Specific examples are key if you actually do care about trying to fix the UI.
Out of the box after you install Ubuntu from the LiveCD, by clicking the Applications (you know, the things you run?) menu:
Firefox: Good internet browser.
Evolution: Email client and reminders.
Tomboy (oops it uses mono): Keep track of notes, can load specific notes for a day. Helpful for Todo lists.
Calculator: Normal 4 function calculator with scientific mode if needed.
CD/DVD Burner: works well.
Screenshot Tool: press printscreen, save picture. Much better than Windows where you press the printscreen button and open up Paint to save it.
Pidgin: All in one IM client. Very customizable.
OpenOffice Word: can open all MS Office documents and is a good Office clone.
Rhythmbox Music Player: Keep track of music, works with lots of USB MP3 players (including iPods).
Totem Movie Player: Limited at first, but when you can't play something, it will prompt you to install the needed codec.
Add/Remove: Miles ahead of anything MacOSX and Microsoft has EVER done. Takes care of everything FOR you: downloading, updating, installing, etc. Just search for what you want through the left side or in the search tab.
It's so easy my girlfriend uses it by herself.
Drivers are handled automatically out of the box. No other OS can actually brag about having the highest device support. If it does not work instantly, chances are there will be a prompt to download and install the driver.
The only issues I think are the most common AND frustrating are installing WiFi drivers through ndiswrapper (ndiswrapper is finicky, but when you get it working it works perfect), relearning all the programs you want to use to do the same things you want to do, Windows games and using Wine, and the fact you will have to do a lot of Googling to do advanced stuff. Luckily more and more WiFi cards are being supported out of the box and Wine is getting much better.
Oh, and it's all free.
Re: (Score:2, Flamebait)
Firefox: Good internet browser.
Yet it works far better on Windows than it does on Linux. Firefox makes its money off Windows; Linux is a second-class citizen
Evolution: Email client and reminders.
Inferior in every way to Outlook, absolutely crash-tastic, and poor interfacing with Exchange Server (which the rest of the world uses, so that's kind of important).
Tomboy (oops it uses mono): Keep track of notes, can load specific notes for a day. Helpful for Todo lists.
Also runs on Windows.
Calculator: Normal 4 function calculator with scientific mode if needed.
Is this a fucking joke? Is this supposed to be a good reason to use Linux? Come on.
CD/DVD Burner: works well.
It's gotten a lot better, yes. Not being able to use something like Alex Feinman's ISO Recorder kind of sucks, though
Re:Great! (Score:5, Funny)
Re:Great! (Score:5, Funny)
Watched Pulp Fiction too many times but I can't help but read that in a Christopher Walken voice and expect you to continue:
"when he was shot down over Hanoi he had this laptop with him..."
Re: (Score:2)
oh I want to hear how this continues!
Re: (Score:3, Interesting)
It's a cool piece of kit, but I wouldn't use this in a production environment.
If you are relying on one server to maintain 100% uptime in a high availability (which most production environments are) situation, you are probably doing it wrong.
It's my opinion that in a ha environment, you _should_ be able to reboot a box with no loss of uptime to the system as a whole.
I would even go as far as recommending a reboot every 3 months or so to test your clustering/failover setup (because I think a lot of people se
Fedora doing this since F9.. (Score:5, Informative)
https://admin.fedoraproject.org/pkgdb/packages/name/fedora-ksplice [fedoraproject.org]
Re:Fedora doing this since F9.. (Score:5, Informative)
Left are the Zombies.. (Score:3, Funny)
Re: (Score:2)
someone just posted on debian-user that the way to kill zombies is to have the parent processes try to reap them and if that fails, they should get reparented up the chain until their parent becomes init. Then doing `telinit u` will cause init to restart (while maintaining state) and all the zombies will be dropped. I haven't had the chance to try it.
Re:Left are the Zombies.. (Score:4, Funny)
Re: (Score:3, Funny)
Zombies are not harmless! You obviously don't watch enough movies.
Re: (Score:3, Funny)
Zombies are not harmless! You obviously don't watch enough movies.
Look, _clearly_ there are dangers inherent to zombies, but if YOU had watched enough movies, like, say, Shaun of the Dead, you'd realize they can be made into productive members of society (well, videogame consumers, anyway) if handled appropriately.
As the tshirt says, "Reduce - Reuse - Reanimate. Reduce our dependency on the funerary industrial complex." Get with the program!
Difference between Linux and Windows (Score:5, Insightful)
This is something I've wondered for a while. Both Linux and Windows have the ability to modify images (executables and libraries) on the fly without rebooting, and most Linux updates do this but Windows usually doesn't. Now we're looking at not only that, but some pretty low level mucking around in the kernel, all while the machine is running.
I know partly why Microsoft doesn't normally do this for Windows [microsoft.com], but why is it that Linux doesn't have the same problems described in that article? If you replace an executable you can restart it, sure, but what happens if you update libraries with various inter-dependencies?
Yes, rebooting is annoying, especially for important servers, but doesn't it make more sense to be 100% sure that the changes you're making aren't destabilizing the system (doubly for servers) than that few minutes of down time rebooting costs? Just wondering.
Re:Difference between Linux and Windows (Score:5, Insightful)
Re: (Score:2)
This is basically the reason, yes. Windows itself is not subject to being unable to move or replace a code image on-disk, of course (although it can cause some weird issues if forced--I've seen applications supposedly paged to disk try to hit up the new image from disk rather than from the page file and puke all over themselves), but really, for most uses it's just not worth the risk. .NET applications can, however, leverage the GAC to do essentially the same thing. As we see more and more movement toward t
Re: (Score:2)
I'd like to point out that the behavior you see is actually by design. Windows does not page executable pages to the pagefile because it knows that (under normal conditions) it can swap back in from the original file. When Windows requires the memory being consumed by an executable, it will simply drop those pages and reuse them.
Linux does the exact same thing. The reason why you can replace the file while it's in use is because you are not actually overwriting the file. You are just reusing the name in
Re: (Score:2)
Oh, no, I know that. I was just mentioning what can happen if you do it. :) I don't think either is a good idea, especially with computers regularly having multiple gigabytes of memory.
And, IIRC, Windows does, these days, operate similarly with regard to file handles, doesn't it?
Re: (Score:2)
Also Windows doesn't let you over-write open files like Linux does.
Re: (Score:3, Informative)
Well, let's look at the issues raised in the article.
Windows actually can replace a DLL that is in use by renaming the original then copying the new file into place. However, the Windows world prefers not to do this.
Ksplice updates the running code of your kernel (by waiting until no thread is using the function to be patched, then calling the kernel's stop_machine_run function -- the same thing it uses when loading a new module -- while it edits the object code); it doesn't touch your /vmlinuz file on disk
Re: (Score:2)
I wouldn't bother so much with applying the patches on reboot, if you're going to reboot anyway you could just install the regular updates.
Microsoft's excuse for not updating (Score:5, Informative)
After reading Windows Can but Won't [microsoft.com] I am still unimpressed. This article tries to hide a substantial feature preset in Linux but not in Windows. Call it a misfeature, a bug, an engineering decision or a precaution but, as it seems, Microsoft's filesystems do not support file removal well. If a DLL is in use you can't remove it without dire consequence, you are left with modifying the original file.
On Linux, you can remove the DLL without destabilizing running applications. This is because the file is unlinked from the directory structure, appearing as if it was removed, and the old file contents is still accessible to running applications. On Linux, an update mechanism can remove the DLL and put a new DLL in its place without affecting any running applications. Running applications continue using the old DLL, posing no substantial stability risk.
The Linux way isn't perfect either because running applications do not benefit from the update. Such an application will effectively use the old DLL until it is restarted giving a false sense of security. If an affected service is not restarted, then the computer is still at risk.
Re: (Score:2)
The Linux way isn't perfect either because running applications do not benefit from the update. Such an application will effectively use the old DLL until it is restarted giving a false sense of security. If an affected service is not restarted, then the computer is still at risk.
this is a realy good point, and most people seam to forget that. After running updates, you can use this command to see which processes use old library versions:
lsof | grep inode=
I'd wish linux update tools/applets would check this too...
Re: (Score:2)
On Linux, you can remove the DLL without destabilizing running applications.
Not if your running applications are using them, you can't. Everytime I update firefox with apt, firefox needs to be restarted because it starts doing weird crap (not opening new tabs, giving weird error messages). Same thing happens if I update gnome libraries.
Don't get me wrong, I'm also unimpressed by "Windows Can but Won't." I update firefox and it starts behaving erratically, I restart firefox, I update gnome and it behaves badly, I restart everything in X. It's quick, it's painless and way quicker
Re: (Score:2)
Re: (Score:3, Interesting)
> Windows actually can replace a DLL that is in use by renaming the original then copying the new file into place. However, the Windows world prefers not to do this. Why?
Linux solves this with links. To pick a random example:
lrwxrwxrwx 1 root root 17 2009-06-21 19:04 /usr/lib/libqt-mt.so.3 -> libqt-mt.so.3.3.7 /usr/lib/libqt-mt.so.3.3 -> libqt-mt.so.3.3.7 /usr/lib/libqt-mt.so.3.3.7
lrwxrwxrwx 1 root root 17 2009-06-21 19:04
-rw-r--r-- 1 root root 7534253 2008-03-02 12:04
I'm showing here an
Re: (Score:2)
Why would anyone make that assumption when designing an IPC mechanism?
Re: (Score:2)
Windows itself doesn't. But the virii and rootkits do this quite happily. TYVM. ^^
Re: (Score:2)
Yes, rebooting is annoying, especially for important servers, but doesn't it make more sense to be 100% sure that the changes you're making aren't destabilizing the system (doubly for servers) than that few minutes of down time rebooting costs?
Some systems you don't want down, ever. Emergency phone service, nuclear power plant control systems, air traffic control systems. Generally, if you don't lose revenue but lives, don't shut it down.
Also, for some very important operations, one must imagine the operators have a test/staging server where they can test the changes before deploying on production systems.
But the most important point: we're being rationalistic instead of empirical! It's possible to collect the numbers; that is, measure the dow
Re: (Score:2)
Interesting start (Score:3, Interesting)
It's nice to see them running it on Ubuntu 9.04, but if they want to make money they should go after the LTS releases and SLES / RedHat.
Looks cool though.
Re: (Score:2)
I'm sure if you talk to them, they can set you up with a pricing model for update streams for these distributions. :-)
For you geeks that don't "need" 100% uptime... (Score:3, Interesting)
Less that 20 second reboot. (Score:3, Funny)
Re: (Score:2)
Re: (Score:2)
I'd say it's WHOOOSH! ;)
Re: (Score:2)
Re: (Score:2)
This is pointless.
Not really. If I want to reboot, it's faster. If I don't want to reboot, I don't have to. At present I keep my system multi-booting between Jaunty and Gutsy, so I can use either the most recent version or the one with working low-latency audio. I also have a Haiku partition for testing things on real hardware without having qemu get in the way. I reboot quite a lot, and being able to get Jaunty up nice and quickly (although still too slow compared to Haiku) is useful.
One other thing
Ubuntu (Score:2)
---
Question is Ksplice reliable enough for online servers. I'd rather manually upgrade and be there to fix the systems, th
Re: (Score:2)
What the hell are (Score:2)
you running that takes 13 minutes to boot up?
I've got server rooms that come up completely from power failures in less time than that. And that's staggered starts of switches, DNS, DHCP and AD before everything else.
And if it's a planned update, then your uptime percentage ain't affected anyway.
Re: (Score:2)
Re: (Score:2)
With virtual images, it should be possible to migrate images from one system to another without shutting it down, so you can upgrade your physical servers one by one without the users noticing..
Re: (Score:2)
Sure, if you are running windows, your users are used to it, but I know for me, a reboot is a reboot is a reboot; and usually it is followed by a number of customers leaving.
Why would they leave after a scheduled and planned outage ? They do know you don't have the infrastructure to reliably provide 24/7 uptime, and therefore they could have an unplanned outage at any time, right ? Right ?
Some do, some don't (Score:2)
Depends on how you negotiate the SLA.
In my mind, a planned outage is clearly defined. Two weeks notice on any system below core-critical, four weeks on core-critical; clearly defined reason for the downtime, including motivation as to why it cannot be done without downtime; clear indication of outage period and a full defined plan for both deployment of the change and recovery procedure. Clear communication to users is also essential.
Anything else is unplanned and needs to be penalized.
Emergency outages
Re: (Score:2)
Well sure, but that's why nobody uses the output as 'uptime' as an SLA metric. You look at service availability, not 'time since last reboot.'
If your service is important enough to require four or five nines of availability, you have some sort of redundancy built in, and can leave your main system on while you upgrade and test your backup or cluster member.
Or, you were smart enough to allow for maintenance windows and what not.
load of wank (Score:3, Insightful)
get back to me when you have found a way to patch my network service without dropping the current open sessions, then i'll be really impressed.
Re: (Score:3, Interesting)
Actually, Ksplice provides live patches. The ones Uptrack distributes are all to the kernel, and obviously not restarting the system requires not restarting the kernel.
The Ksplice technology [ksplice.com] itself is free software, and can be ported to userspace (but that hasn't been implemented yet by the Ksplice people). But if your network service is an NFS server or something, or you're fixing a security bug in the kernel, then Ksplice can apply it to a running system without affecting existing sessions / connections.
Re: (Score:2)
Re: (Score:2)
That's right. It's modifying the in-memory binary image (that is, the machine code), while it's actively up and running.
Re: (Score:3, Informative)
This is about patching the kernel, it usually doesn't need to change the kernel structures, but it changes the functions. So it put the new function in kernel space and changes a pointer to the function. When doing this it temporarily slows down the kernel and calls the same function as is done when loading a module. That's what I think it does, but if you must know, read the PDF: http://www.ksplice.com/doc/ksplice.pdf [ksplice.com]
For all those that think this company is doomed because they released all their code as op
Re: (Score:2)
Kernel level updates normally don't take effect until you reboot and load the new kernel. This includes a fair number of security updates.
Re: (Score:2)
How long does it take to restart Apache (or vsftpd or sshd), compared to how long it takes to reboot? Or if you are running multiple services and only need to restart one?
Not sure it's practical still (Score:2)
For desktop users what happens if the Kernel changes enough to screw up your graphics drivers? Crashing X is not going to be a popular option.
Even for servers - engineers need to design their farms so they can take servers down. Especially those who have commercial interests involved. Lack of proper redundancy so upgrades can be performed is poor planning and a problem waiting to happen. Reboots stress the hardware a bit, and if your server was on the verge of failing it may just do that or post a code.
Mod sdasher (submitter) +5 Informative ;-) (Score:2)
Thanks, sdasher, for submitting this story.
I very much like reading about cool new open source technology. Sure, the law, politics and biotech stories are cool too, but cool new tech stuff is (for me) the real meat of slashdot, which is sadly underrepresented these days.
Thanks for submitting, much appreciated :)
I don't think this is accurate (Score:2)
Re: (Score:3, Informative)
You would be correct. Linux isn't the first "hot patch" system.
Multics (1965) was designed for 24/7/365 operation, and could replace any component by design. Hardware or software.
http://www.multicians.org/ [multicians.org]
Re: (Score:2)
That is an interesting question, no? After all, this company has made all of its software open-source, and if someone else is able generate update, they can "cut in" on Ksplice's market share. (This is forking the service, you're speaking of, not really the software.)
But this is not really a problem unique to Ksplice; it applies to any service based open-source model. And as such, what Ksplice has going for it is expertise: they were the ones who developed the Ksplice tools, they have an intimate understand
Re: (Score:2)
Re: (Score:3)
Yeah. Rebootless updates. Uh-huh. [ksplice.com]
Re: (Score:2)
I fail to see the problem:
"Ksplice can apply all 64 of the security patches from this interval [from May
2005 to May 2008] without rebooting."
Re: (Score:2)
Re:Windows has NOT been doing this for 6 years (Score:4, Informative)
I did read up on this (via your links) and discovered:
and
So Windows does not even theoretically support this to the extent of the ksplice offering and in practice I still (and have since it's release and for the forseeable future) have to reboot 2003 and more recent releases when I apply MS patches.
Re: (Score:2, Funny)
Well - that explains the reboots.
Re: (Score:2, Insightful)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
kexec is cool too, it's simple and it really saves a lot of time waiting.
The above is good for kernel patches, like security updates, etc. But not so much for new features, etc. So kexec is good for that.
Re: (Score:2)
You can update applications without rebooting on most OS's...
You couldn't update the underlying OS (DOS) which those versions of the windows application require without rebooting it.
Re: (Score:2)
No it can't. It's like saying that you can avoid theft by burning all your possessions. Kexec is equivalent to a reboot without touching the BIOS: it shuts the system down, but instead of actually powering down or rebooting it starts a different kernel. It only has some use when the BIOS takes a very long time to reboot and you want to speed it up, or when you want to boot from a remotely stored kernel.
Ksplice allows you to update the kernel without shutting down your applications, so it is really rebootles