Ubuntu Picks Upstart, KVM 97
derrida writes "Because the traditional System V init daemon (SysVinit) does not deal well with modern hardware, including hotplug devices, USB hard and flash drives, and network-mounted filesystems, Ubuntu replaced it with the upstart init daemon. Several other replacements for SysVinit are also available. One of the most prominent, initng, is available for Debian and runs on Ubuntu. Solaris uses SMF (Service Management Facility) and Mac OS uses launchd. Over time, Ubuntu will likely come to incorporate features of each of these systems into Upstart. Furthermore, heading in a different direction from its main rivals, Ubuntu Linux will use KVM as its primary virtualization software. Red Hat Enterprise Linux and Novell's Suse Linux Enterprise Server both use the Xen virtualization software, a 'hypervisor' layer that lets multiple operating systems run on the same computer. In contrast, the KVM software runs on top of a version of Linux, the 'host' operating system that provides a foundation for other 'guest' operating systems to run in a virtual mode." Slashdot shares a corporate overlord with Linux.com.
Great (Score:5, Informative)
Re: (Score:1, Informative)
Re: (Score:1)
News? (Score:5, Insightful)
Re: (Score:3, Informative)
Agreed, upstart doesn't seem like news, but I'd be curious to hear a bit of back-and-forth as to the benefits of the various initscript replacements. Ubuntu makes a case for upstart on their site; it would be nice to known what others think.
Similarly for kvm vs. xen: xen is on roll these days, with everybody and their dog using it, but it seems like the company behind it is moving in an increasingly proprietary direction, so it would be good to hear what's up with that, and how kvm compares.
Re: (Score:2)
Re: (Score:1)
Re: (Score:3, Funny)
Re: (Score:2)
Because KVM requires hardware support for the virtualization, it won't work on any of my computers.
Xen does.
Re: (Score:2)
We tried Xen as a possible alternative to VMware and it isn't even close.
On the flip side... (Score:2)
What Xen is missing is a nice console. Maybe in version 4.
-1 redundant, Idiot mod, this is why (Score:2)
Who's the dolt that doesn't recognize "insightful"?
Re: (Score:2)
Slashdot
Facts for nerds. Stuff that matters.
Re: (Score:1)
kvm (Score:3, Interesting)
Re:kvm (Score:4, Interesting)
https://help.ubuntu.com/community/KVM [ubuntu.com]
All of two commands after you've installed kvm:
1. create disk image
2. launch installer
Maybe a little more description of your experience with 'one of-if not the- hardest to use productively' claim might persuade folks that the above is not trivially simple.
Re: (Score:2)
Also - again, not sure about this, correct me if I am wrong - but kvm requires hardware support, i.e., a fairly new CPU. Whereas some or most other virtualizat
Re: (Score:2)
So, from al
Re:kvm (Score:4, Informative)
Parallels just came out with convenient installation for Ubuntu, I haven't checked it out yet. But it is supposedly very user-friendly on other platforms, so it might be worth a shot if VMWare isn't working out.
Re: (Score:2)
We will have to see how many have the type of hardware that one seems to need for VMware server 2. U
Re: (Score:2)
Re: (Score:2)
On an AMD AM2 machine I have run Vista Home with no problems.
On my older AMD machine I have run Ubuntu, Kbuntu, Xbuntu, PCLinux, and Minux3 with no problems.
Under Ubuntu you just install it from add software. The GUI is pretty simple and It seems to work just fine.
Re: (Score:1)
Re: (Score:1)
The last time I tried it, it repeatedly failed with error messages that were, to say the least, unhelpful- but my information seems to be out of date. Using those instructions it was, indeed, trivially easy.
Re:kvm (Score:4, Informative)
Re: (Score:2, Funny)
I for one (Score:2, Funny)
Re: (Score:3, Funny)
Re: (Score:1)
Reference for the uninitiated: Sandwich [xkcd.com]
Obligatory XKCD reference (Score:2)
Re: (Score:3, Funny)
Re: (Score:1)
Apparently, there is. See the Ubuntu wiki page for ReplacementInit [ubuntu.com]. In it, they listed launchd as a possible candidate for a replacement init, but decided against it due to "inescapable licence problems".
It's licensed under the Apache license -- I can't see what is wrong with that, but I can't imagine that Canonical would spend $$$ developing their own init system if it wasn't a big hurdle to use launch
Re: (Score:2)
Licensing is part of it... (Score:2)
I think mostly they're going off on their own because it's a fun little problem to work on, but obviously it'd be to the advantage of sysadmins everywhere to have a standard, maintainable services startup system. Maybe a clear winner will emerge, and at least keep Linux from fragmenting too much.
Re: (Score:2)
It's a FSF/Cononical Conspiracy! (Score:4, Funny)
Getting a tad annoyed at this.. (Score:4, Interesting)
Ubuntu uses Upstart
Solaris uses SMF
Debian uses initng
RedHat uses sysvinit (?? not sure ??)
Meaning that a sysadmin that needs to support those systems, need to write scripts that takes care to use the correct way on each and every platform. Blergh. I hate it when this kind of thing happen, instead of just sticking with the old stuff or _agreeing_ on a new way to do it. Instead, we now have a multitude of ways of doing it. Okay. Options are good. This isn't options though - this is differences being forced on you by various vendors, guaranteeing that you'll have to do more work.
Blergh.
Re:Getting a tad annoyed at this.. (Score:4, Informative)
Re: (Score:2)
Re: (Score:2)
Uh. Debian *can* use initng. I'm pretty sure it's not being installed by default, unless they've made this decision in testing (I don't have any testing/unstable boxes atm). That seems like a fairly irregular thing for debian to agree to do.
ash
Testing (Lenny) still defaults to sysv init. (Score:2)
Re: (Score:2, Informative)
Re: (Score:1)
A step away from compatibility between distros? (Score:3, Insightful)
The article quoted shows examples of upstart scripts. I don't quite see if compatibility with SysV init is a goal of upstart.
It sure would be nice if upstart means easier application sharing between Red Hat and Ubuntu.
Re: (Score:2)
The problem is just your ignorance; don't put the blame on anyone else.
Debian and Ubuntu *use* SysV init scripts by default and they have *one* single tool to add and remove programs from a runlevel (update-rc.d).
Re: (Score:2)
Thus is from Ubuntu 7.10 x86_64.
Re: (Score:2)
So Debian *does* have SysV-style init scripts, doesn't it? And Debian *does* have simple tools to add and remove programs from a runlevel (that's exactly what update-rc.d does), doesn't it?
What was your point, again?
Re: (Score:2)
There is no point in using a completely different interface for two things that do the same thing though, and going back to the topic Upstart is supposed to be "compatible", though it'd be nice to use an identifier/name and flags that
Re: (Score:2)
Unless, of course, I really think my way it's better (on the other hand, why would I try a different path if I didn't think it's better?).
"I believe Linux could be completely seamless between most all distros"
If they were so seemless among, what would be the segregating factor to choose one over the other?
"I hope one day us Linux users will actually have the freedom to use whatever system we prefer"
Yeah
Re: (Score:1)
I think you'd better prefer not to have the time and effort to analyse those different things: of course the more similar the choices the lesser risk to be wrong. But that's not freedom; it's lazyness.
I disagree. Myself, I would try more distros, if I didn't have to spend the time learning a new way of thinking each time. Why? Because of lazy? No, I have a single computer that I use for my work. The more time spent on system tweaking/learning is less doing the work I have an interest in.
I believe Linux could be completely seamless between most all distros
If they were so seemless among, what would be the segregating factor to choose one over the other?
The community, preformance etc etc. Remember, your parent is discussing the interface ... not the implementation. For example, yum and apt-get are pretty close in what they you can do with them. Why not try to
Re: (Score:2)
Two points:
1) If you think learning a new distribution is "learning a new way of thinking" then you are still to rooky (it's only a matter of learning some specific tools, not much more).
2) Again, if they worked the same, why loosing time testing the same?
"For example, yum and apt-get are pretty close in what they you can do with them. Why not try to unify the interface?"
For once, yum
Re: (Score:1)
Re: (Score:1)
You're talking about differences between programs. You're on the wrong page. I'm not saying there shouldn't be differences between programs. I'm saying programs should try to use the same interfaces where possible and not just user interfaces if and where desired/able, but inter-program interfaces too, because you should use standardized things where and when possible to make your programs modular. T
Re: (Score:2)
Then again, the stupidness of looking it from the end user point of view... The end user won't EVER use but the flags someone programmed; it's plain obvious. Now, go and tell the programmer it should use GNU-like long options when he (for whatever reason) dislike them.
I really don't know the syntax for yum, but let's say for the shake of the argument it goes like yum -install package where apt-get goes apt-get install package. Are *you*, as an
Re: (Score:1)
Re: (Score:2)
Modular programming? Maybe. Modular "toolizing"? It's decades old. What do you think `ls -l | less` or `echo time > out.txt` means? But then, there comes some guru deciding that piping, IPC, POSIX system calls... are too cumbersome and there's the need for some "high level abstraction" or "service oriented" monolithic approach and, guess what? As long as he puts his effort where his mounth is you end with some peop
Re: (Score:1)
Re: (Score:1)
* I use the term noob on purpose because it's ridiculous. Everyone starts out as a beginner. I find it quite arrogant and obnoxious.
Re: (Score:1)
Re: (Score:1)
Re: (Score:2)
I don't say this is a bad thing - I'm rather trying to point out that the OP is wishful thinking. And to add to the list: Gentoo has several alternatives. Heck, there are two versions of their ba
Re: (Score:1)
When I went to 2.6.23, it was before Mandriva had an officially blessed update available, hell they still might not, but I had to patch in tuxonice and modify my init scripts to work with it and write a daemon to automate the hibernation process. It was kind of annoying, but not a very big deal. There is a reason why we're not running Windows on everything.
Re: (Score:2)
There is no way Apple will agree on agreeing with anyone else - especially if it's some pesky open-source distributors or Sun, who are not in the desktop, but the server market (mostly).
Actually, Apple frequently adopts technologies and standards from both Sun and Linux distros. The thing is, Apple also is not willing to compromise on all things and will sometimes roll their own when they think they can do it better and cleaner (sometimes just better for them). They are less interested in being just like everyone else than they are in doing what is right for their developers and users. I think LaunchD is one example of this and Webkit is another. In the first case they created a new solu
Re: (Score:2)
Yes, of course. SysV vs BSD has been there, how much? 25 years? But, of course, it'll settle now in a year of two. Yes, of course: Red Hat will throu away their years of development and fine tunning of their init scripts because it will settle. Debian... well, even if they decided it (and they won't) you probably won't see Lenny's succesor in such a timeframe.
You forget that:
1) There are not such a terrible differences between
Re: (Score:1)
For my own software, I prefer to write an init-script for Ye Olde sysvinit and the actual distro I'm currently running, and leave others out in the cold.
KVM less of a surprise than you might think... (Score:5, Interesting)
I was struck with the immense gulf in opinion between the "virtualization folks" and the "kernel folks".
Most (possibly all) of the talks in the virtualization stream could be summarized as "Xen! Xen! Xen! Yay! Yay! Yay! Xen, xen, xen, xen xen, xen, xen. Xen! Xen Roxx0rs! Xen! Clients! Xen! Xen! XEN!!!". Lots of action, lots of progress, lots of excitement, lots of Real People in Real Companies doing Real Work and discovering Best Practices.
It was quite a shock to walk into the "kernel hacker QA" with kernel maintainers from several big linux distros and some major names and here a simple "Xen sucks. Use KVM". Talking to one unnamed kernel hacker who actually wrote a big chunk of Xen code, even he basically flat out said Xen was a terribly solution which he only saw as a stop gap until KVN had picked up some speed.
So the impression I walked away with was that while Xen is the current poster child for virtualization, its days are numbered.
Once KVM has had time time to move away from being shiny new code that only a kernel dev could love to a Real Product Xen is going to have its ass kicked by the new Blessed Child.
Fortunately I don't have anything invested in either side (I mostly use qemu because my needs are more for pure isolation and speed isn't needed at all) but it looks like this match is shaping up as a hell of a flame war.
And by the sounds of it, Ubuntu just threw lit up the first flamethrower on behalf of KVM.
Now where did I put those marshmallows.
Re: (Score:2)
When did technical superiority ever matter on the market?
Re: (Score:2)
Or at least that's the impression I got from the kernel dev I had a few drinks with.
But hey, he could be wrong.
My point is that by the looks of things, we've got a pretty major competitive war coming, and Ubuntu going to KVM isn't as unusual a choice as it might seem.
Re:KVM less of a surprise than you might think... (Score:4, Insightful)
The things to make people really think KVM is the best is a web-style gui to manage start/stop, guest settings etc, and stats on what all the guests are doing in semi/realtime.
Re:KVM less of a surprise than you might think... (Score:4, Informative)
http://www.phoronix.com/scan.php?page=article&item=983&num=1 [phoronix.com]
Re: (Score:1, Insightful)
Once KVM has the remaining kinks worked out of it, it'll be everywhere (on Linux at least) by default, and will
Re: (Score:2)
IIRC, in the time of discussions, it was said that Xen can always use KVM.
KVM is essentially official kernel interface to virtualization hardware. But Xen has to work even without hardware support so they do lots of things on their own.
As soon as number of servers with hardware supported virtualization reaches critical mass, Xen would start using KVM where available since it is part of kernel, since it is official interface.
IOW, in long term Xen and KVM are complementing, not competing technologi
Re: (Score:2)
Linux (and open source in general) is much less swayed by commercial popularity than proprietary vendors are.
Re: (Score:2, Informative)
Re: (Score:2, Informative)
So we have a kernel guy and his own take on Linux and virtual machines. This may prove hugely popular, though I hear that not too many turned up for Rusty's lguest tutorial at LCA08. Then again that may be because he scared us off with a "if you haven't done the homework, d
Re: (Score:2)
Then you are doubly fortunate since KVM userspace tools and even the "native" disk image format are those from qemu.
Virtualisation extensions (Score:2)
Re: (Score:3, Informative)
Meanwhile, my crystal ball shows me that VT-capable hardware is not going away, so the "tiny fraction" will become the majority. It seems important to consider them when thinking of future directions.
Re: (Score:2)
I mean, 1/5 to 1/10 the speed, Dude. And this existing hardware isn't going away any time soon and it can't just go to landfill for people to replace it. They'll just run Windows and Virtual Server - it's so easy and fast.
KVM_AMD and SKAS_UML (Score:2)
Useless for older hardware? (Score:2)
Leaves out a lot of people that don't have brand new fancy stuff. ( or have things changed )