OpenSolaris Code Released 362
njcoder writes "C|net's news.com.com has reported that Sun Microsystems is releasing parts of the OpenSolaris code today licensed under the OSI-approved CDDL . The release consistes of over 5 million lines of code for the base system OS/Net (kernel and networking). OpenSolaris is based on Solaris 10, the current version of Sun's Unix Operating System. Back in January, Sun released the code for DTrace, a dynamic tracing tool for analyzing and debugging kernel and userland events. DTrace is one of the big features in Solaris 10. Some other highlights include the GRUB bootloader, SMF (Service Management Facility) which replaces init.d scripts, it starts up processes in parallel for faster boots (7 second boot on a dual opteron workstation I think that was the setup) as well as providing features for automatically restarting. OpenSolaris provides support for x86/x86-64 processors as well as Sparc. The Blastware guys are working on Polaris which is an OpenSolaris port to PowerPC. Sun has been working on opening Solaris for over a year now. The OpenSolaris project started with a pilot group of Sun and non-Sun users. During the pilot program a lot of info including screenshots could be found on various OpenSolaris member blogs. (My favorite is Ben Rockwood's blog). Teamware is the source code management system Sun uses for Solaris and OpenSolaris. Which was designed by Larry McVoy (now of BitKeeper) while he was at sun. No word yet on if Teamware will be available for OpenSolaris developers or not. Sun also uses CollabNet for it's Open Source project websites so that might be a possibility as well."
Rock on! (Score:5, Interesting)
Combined with an Open Source/Forkable license, what more could a Solaris Geek want? Get out the party hats people, because this has got to be THE most awesome thing Sun has ever done!
(I'm excited, can you tell? *Happy Dance* *Happy Dance*)
Now for the bad news. Sun has taken the tack of encouraging users to build their own system. That is a good thing. Unfortuntely, all builds require a system to bootstrap the build. At the moment, the only option is Solaris Community Edition [sun.com], a non-Torrented download. (Boo!) That being said, I don't think we'll have to wait too long for the OSS community to fix that little issue.
Re:Rock on! (Score:3, Informative)
Re:Rock on! (Score:2)
Seriously, why use OpenSolaris rather than an existing open-source OS? I'm sure there are some ideas that can be borrowed...
Re:Rock on! (Score:3, Funny)
Re:Rock on! (Score:3, Funny)
Joerg Schilling [linux.com], is that you?
Re:Rock on! (Score:2)
I wonder if Oracle 10g or 9i runs on OpenSolaris.
Re:Rock on! (Score:3, Insightful)
Does Solaris want to be the hacker's desktop OS? I really doubt it. Does Solaris want to be an OSS player in the data center? Absolutely. And for data center features, Solaris does very well against the competitors. If you think Sun's OSS strategy is to get joe hacker to run his OS, of course you're going to be disappointed, because
Sun Compiler License (Score:3, Interesting)
Re:Rock on! (Score:3, Informative)
Sadly, that might not necessarily be the case - OpenDarwin has been around for five years and you still need a Darwin system [including some non-free tools] to bootstrap the build. But as Solaris Express is free as in non-costworthy, I don't
Re:Rock on! (Score:3, Informative)
Re:Rock on! (Score:5, Funny)
Now for the bad news. Sun has taken the tack of encouraging users to build their own system.
Countdown to Debian GNU/Solaris in T minus 10... 9...
let the driver flood gates open! (Score:5, Interesting)
Do not be so sure (Score:2)
Re:Do not be so sure (Score:2)
Re:let the driver flood gates open! (Score:3, Interesting)
Re:let the driver flood gates open! (Score:4, Informative)
Be patient. They're working on it. Or would you rather they open source some code they don't have the right to, and get people who see that code into trouble?
There is still alot of work to be done, but it is a huge first step.
For more, take a look at the roadmap at
http://opensolaris.org/os/about/roadmap/ [opensolaris.org]
But, does it run Linux? (Score:2, Funny)
Re:But, does it run Linux? (Score:2)
Does it run MSDOS?
I hope that's not a portent.
Tp.
The real question is does it run on Xen? (Score:3, Interesting)
Q: does it run on Xen? A: Not yet but it will (Score:5, Informative)
See http://blogs.sun.com/roller/page/tpm/20050510#the
It runs portage (Score:2)
opensolaris is a trap (Score:2, Insightful)
Zfs? (Score:4, Interesting)
Re:Zfs? (Score:5, Informative)
Justing reading the stuff that is released, however, is a joy.
Re:Zfs? (Score:2)
If they couldn't do it with a full strength company then, what makes you think they can do opensolaris with half the company laid off?
Re:Zfs? (Score:2)
It seems that Solaris 2.9 wasn't going to come out for x86 because that was after Sun had bought Cobolt. Then a bunch of happy Solaris x86 users got Sun to change their mind.
I have had a Solaris 9 x86 server since about the time it came out and it runs just fine.
Re:Zfs? (Score:3, Informative)
I'm unfamiliar (Score:3, Interesting)
Re:I'm unfamiliar (Score:4, Funny)
what are the main advantages it has over Linux, BSD and Windows?
Well Solaris is +3 vs. undead, while Linux, BSD and Windows are: +1 icy blast, +2 flaming and -4 cursed respectively.
Re:I'm unfamiliar (Score:5, Informative)
Re:I'm unfamiliar (Score:2)
Maybe then it wont be so bad for the end user either.
Re:I'm unfamiliar (Score:3, Interesting)
mdb is the biggest pain in the world; gdb isn't perfect, but it's a lot
Re:I'm unfamiliar (Score:5, Interesting)
In Solaris 10, I did some work [sun.com] to make the content of core files adjustable and added text (aka code) to the default. Now when you get a core file, you can debug it on any other system regardless of the patch level, libraries installed or the version of your application that was running. Using coreadm(1M) you can adjust the content to, say, add the symbol table to the core dump or omit the gigantic ISM segment that you don't care about for.
So, yes, mdb(1) had some limitations in the past -- we've tried to address them in Solaris 10. If you have other issues preventing you from using mdb(1), post a comment on the OpenSolaris [opensolaris.org] site.
I thought I was going to have to find a shill to ask that question... "Sir, we've never met before, have we?"
Re:I'm unfamiliar (Score:3, Informative)
Re:I'm unfamiliar (Score:4, Informative)
DTrace lets us examine just about anything, with minimal impact on the system. It's way cool, and other OSes have nothing that is close (for details covering the Linux Trace Toolkit (LTT), DProbes, K42 and Kerninst see the USENIX paper [sun.com].
DTrace solves disk I/O by PID, network activity by PID, elapsed and on-cpu times for syscalls, libcalls and user funcs, and much more.
DTrace is great if you are a programmer with a little kernel knowledge, but if not you may find the DTraceToolkit [brendangregg.com] helpful - it is a collection of ready-to-roll scripts.
For a list of many OpenSolaris features with screenshots, see the OpenSolaris Guide [opensolaris.org].
Solaris can't compete (Score:5, Funny)
Re:Solaris can't compete (Score:2, Interesting)
A Sun with a smiley face?
Re:Solaris can't compete (Score:2)
Re:Solaris can't compete (Score:2)
How about these guys [kelloggs.com]??
Re:Solaris can't compete (Score:3, Funny)
so.. (Score:4, Funny)
windows automaticay restarts for me all the time. I get a quick flash of blue and then bam! restart.
Re:so.. (Score:2)
Persona non-grata. (Score:3, Funny)
Remember folks. You hate Larry.
Re:Persona non-grata. (Score:2)
If you peice the stories together, it seems that Larry let the linux community use a free bitmover client and provided the back end for free. The only stipulation was that they don't try to reverse engineer his product. Someone at OSDL, where Linus was employed at the time started working on reverse engineering BitKeeper. Larry tried to get him to stop but when he didn't he retracted the free version. Somehow the free version was costing Bi
For those of us who don't like torrents (Score:3, Informative)
Re:For those of us who don't like torrents (Score:2, Funny)
Re:For those of us who don't like torrents (Score:2)
Re:For those of us who don't like torrents (Score:2)
Nice sig btw. I'd prefer RUN "SIG" myself
Re:For those of us who don't like torrents (Score:2)
openoffice... (Score:3, Insightful)
Re:openoffice... (Score:2)
With OOo it was diffrent. There was nothing to dismatle staroffice into at the time. Sun could maintain the code and not worry about losing control and branding.
OO.o, Competitors, and the GPL (Score:2)
As a point of clarification, OO.o is under the LGPL and the SISSL. Obviously LGPL is GPL-compatible, but SISSL isn't (though it is still free).
This is in contrast to the CDDL of OpenSolaris, which is also GPL-incompatible.
Great. (Score:4, Funny)
Re:Great. (Score:2)
SMF vs InitNG? (Score:3, Interesting)
Happy day for Jörg Schillig (Score:2)
Apps Here! Get Your Apps Here! (Score:4, Informative)
Additionally, SunFreeware http://www.sunfreeware.com/ [sunfreeware.com] is another great site for getting applications.
In another news today (Score:2, Funny)
When asked about the legitmacy of the action, however- "This IS the property of SCO, that's final...no we don't have proof for that, but we are working on that."
Can either an "Editor" or the Poster please RTFA (Score:4, Insightful)
You don't have to think, just RTFA, where you can see that it was a single AMD64 setup.
Still, I guess that would be too much trouble for the simple gain of being correct ?
Is the monopoly finally being smashed? (Score:3, Insightful)
7 second boot on an Opteron??! (Score:2)
It's a friggin Opteron and the substitute for init.d scripts should work faster than that!
Re:7 second boot on an Opteron??! (Score:2)
very good thing (Score:2)
Some of us have been waiting for true POSIX compliance for some time (woohoo shared memory mapped files!)
Though Sun gave pretty sweet deals for Solaris (think I got intel for $100), opening it up means a lot more people can be programming for it, specifically where it was weak (drivers).
Kevin Metnick (Score:2)
"Sun Microsystems claimed that you caused $80m of damage by illegally downloading the source code for Solaris.
It's a bullshit figure. What was really unnerving was that to demonstrate to the public and the courts that I was such a bad guy, the only things they could show were financial damages.
What I was essentially doing is stealing source code to analyse it for vulnerabilities. I was moving it because I wanted to be on my target's computers for as little time as possible.
So what the government
Re:Kevin Metnick (Score:2)
Just because Sun decided to make $80m worth of software OSS doesn't mean it has no value. And breaking and entering to get/test software doesn't really speak well for one's "good intentions". Now that it's OSS, feel free to get and analyze it any way you like. Doesn't change the fact that it was breaking and entering to get it back in the day.
Has Sun "got-it" this time around? (Score:2)
Polaris (Score:2)
Way cool. When my PPC PB 15" is ready to be replaced with a new Intel one, I can repurpose it with a Polaris load. Very nice.
Re:Polaris (Score:2)
I wish there was a little more information regarding the project on their web site. I'm interested in following this project myself.
NEAT!!! (Score:2)
Go Sun!
Larry McVoy did NOT design Teamware (Score:3, Interesting)
Re:Vaporware no more! (Score:5, Funny)
Re:Vaporware no more! (Score:4, Informative)
Re:Vaporware no more! (Score:2)
Surprizinly only 93 matches for FIXME , but a hell lot more for goto..
Re:Vaporware no more! (Score:2)
Re:Vaporware no more! (Score:2, Insightful)
When "GOTO Considered Harmful" was written, it was THE flow-control structure. Only unthinking idiots actually believe it is never Ever EVER to be used.
Using goto in C++ is an almost universally bad idea i
Re:Vaporware no more! (Score:3, Informative)
Re:Vaporware no more! (Score:3, Funny)
Flames like "the G stands for General" followed by colorful aspersions on your intelligence?
Re:Finally! (Score:2)
Re:Finally! (Score:2)
This is the master startup script. After it runs, it loads subscripts from this directory. Life is good.
My own feels have always been that init.d's flexibility comes at far too high of a price in maintainence and ease of use. I'm sure there are others who would disagree, though. (No, I don't want to hear about it.)
Re:Finally! (Score:5, Interesting)
SMF is going to be a head check for a lot of people who LIKE init.d/rc.d (though backward compatability with that has been retained so far). Myself, I like the fact that it's more robust and faster, and I don't like the fact that it's managed with a handful of different commands depending on what you want to do. And I'm not terribly thrilled that the backend is XML, but you'll have that.
Re:Finally! (Score:2)
Re:Finally! (Score:2, Informative)
maybe PJ can stop with the Sun conspiracy theories (Score:2, Funny)
Will.
Re:Parallel boot scripts (Score:4, Interesting)
Don't know about the rest.
Re:Parallel boot scripts (Score:3, Funny)
I don't know.
--- If you found this answer helpful, click HERE.
--- If not click HERE.
Re:Parallel boot scripts (Score:4, Interesting)
The SMF has a concept of milestones, which groups of scripts "belong" to. This is not unlike the principle of run levels, and when moving between milestones the SMF can fire off a whole bunch of services in parallel. It usually does this through scripts akin to the old init scripts, but doesn't have to.
That's not a very good description, but it might give someone who can't be bothered to RTFM some idea of one of the big new features.
Solaris 10 is great. IMHO there's no Unix (or clone) to touch it. That's just my opinion, and I CAN NOT be bothered to argue about it, so don't start!
Re:Parallel boot scripts (Score:2)
Gentoo (Score:2)
It also doesn't require you to add and remove symlinks in a bunch of rc.d directories which is really nice. If you want to add or remove a service there's a simple one command utility that does it for you.
Re:WHY NOW? I'LL TELL YOU WHY! (Score:2)
You could make a more convincing case that Apple is going to x86 to counter OpenSolaris (since OpenSolaris came first). Note that I said more convincing, not convincing. Give the wacky Sun theories a day off, please.
Re:WHY NOW? I'LL TELL YOU WHY! (Score:2)
It is MS and Sun vs. Linux (Score:4, Insightful)
But this has potential to do what MS could not. Solaris is at least respected by the development world. This is simply another trap being laid by Sun and MS against Linux.
What is funny is how little ppl seem to remember from just 7 years ago. Sun actually ported to X86 once before AND "opened" their source code. Then when they thought that things were going well, they dropped it. If Sun ever feels like things are going in their favor, it is almost certain that they will do it again.
Re:It is MS and Sun vs. Linux (Score:3, Informative)
Try reading the CDDL FAQ [opensolaris.org] before you start trolling.
Re:It is MS and Sun vs. Linux (Score:4, Interesting)
It may be. I know a very bright Microsoft zealot who thinks it is, and couldn't be more delighted at the prospect.
I don't think it is, myself. For one thing, the internal cultures of these two organizations, and the personalities they attract to senior positions, could not be more different. You just have to look at their past conduct to see this. Microsoft does lay traps, systematically, all the time. Sun is a corporate player too, thus in the game for profit, but its strategies are much more symbiotic in their essential character.
When Sun puts someone on a standards committee, it's to make the standard more valuable for everyone, on the express theory that it's better to share a growing market than have all of a stagnant one. When Microsoft puts someone on the same committee, it's to "embrace and extend" the standard so as to exclude competition, and the expressed goal is to eliminate all competition.
Another thing worth remembering is that an organization as big as Sun has substantial internal struggles from time to time. Such was the case with Solaris on X86. The project took off energetically at first, but it was a risky venture which happened to fall out of political favor just at the point when driver support was becoming most critical. The result was not a strategic withdrawl, it was a conspicuous fumble which cost Sun a lot of internal morale, hurt its reputation, and lost it a golden opportunity whose extent has only become more apparent in recent years.
So yes, it could all happen again, but not because of some nefarious strategy on the part of Sun Microsystems. Sun does not have a history of executing that way.
Re:It is MS and Sun vs. Linux (Score:3, Interesting)
As it is, McNeally's collaboration with MS makes me very edgy. Consider how much McNeally hates Gates and MS. It does not make sense for them to work together.
I have some friends who work for Sun and some others that work for MS (one who is on the linux tiger team - when he c
Re:It is MS and Sun vs. Linux (Score:3, Interesting)
Re:It is MS and Sun vs. Linux (Score:5, Interesting)
I won't be the only one, but I just thought I'd point out that the license they are using this time around is quite different, and they literally cannot take away your right to use the code once you've got it. You might read the (OSI-approved) license before spouting off, although I know that is asking a lot.
http://www.opensolaris.org/os/licensing/ [opensolaris.org]
Re:Fair is fair... (Score:2)
Oh, wait...they did that years ago.
Re:Use the source... (Score:2)
With all the different licenses floating around, there is too much risk of getting polluted and accidentally mixing IP.
Re:When it can be run fully from sun4cdm machines. (Score:2)
Solaris 10 runs on Sparc (which has been 64 bit for quite long), x86 and AMD64/EM64T.
Re:Free Code is one thing ... (Score:2)