Linux Apps On Solaris
querencia writes "Sun has announced that Solaris 10 will comply with the Linux Standard Base specification, thus allowing Linux apps to run unchanged on Solaris. This isn't emulation -- they claim that it is 'kernel-integrated and supported as an operating system feature.' While I appreciate the benefits of the Solaris OS, I've considered them on the losing end of the battle until now. Will the power of Linux apps put Solaris back into the running?" Update: 08/04 15:50 GMT by J : At OSCON, Sun reaffirmed that Solaris 10 will be open-sourced. They said it would be one of the OSI licenses, not sure which yet; that this was approved at the highest levels of the company; and (with the expected "we're just guessing" language), it could happen as soon as year's end.
There's at least one Solaris application I'd like to run on Linux: Adobe FrameMaker.
The initial move of SUN towards an OpenSource OS, or even towards a linux based business model.
I guess it can't hurt. Apple is also rumored to be integrating Linux API to future versions of OS X to help bring developers to the Mac side.
AC comments get piped to
It seems that Solaris is having a real hard time getting trough no matter what. With the availability of so many BSDs and Linux distros Solaris is a lone wolf in the whole story. Also I don't think that people who are currently running Linux will be very eager to just jump up and switch since all of a sudden Solaris supports Linux binaries.
It's a good point, though. Linux will never have any application competitive advantage; only that of its core operating system's reliability, functionality, etc. Any application that will ever be developed for linux will be snatched up by anyone willing to implement a few relatively simple APIs in their OS.
Read jack phelps dot net
Open Source Software isn't just Linux and the GNU userland software. It covers a wide range of different software including software that runs on Linux. In the whole sea of OSS, Linux is just a one small part. This is good for OSS projects because they now have the potential for being run on a wider range of platforms without porting issues.
Solaris has always been a good operating system. You can tell the kernel devs know this as well because searching the mailing list you'll see that solaris is referenced more than any other commercial unix. There are comparisons of how the current kernel compares to the solaris kernel as well as trying to figure out how solaris does things.
Solaris 10 is going to have a lot of improvements to it as well. There are a lot of sun hardware out there and still a lot of sun hardware being sold so it helps OSS projects reach further with less work.
For the people that see open source software as only being about Linux, I don't think they'll respond as favorably.
Open Source Java DAO Generator
I find myself wondering what Sun's strategy is. I mean, they go to battle with MS, enter a closed room, and come out best buds. Then they rail against FOSS in favor of open standards and threaten to do a hostile takeover on a leading Linux company. So then you think they've gotten a big check and become a patsy, right?
And throughout this blustering, they put forward the idea that through buying Novell they can somehow "own" the OS IBM is married to, which is kind of missing the point of Linux, but right in line with SCO's claims
Then they come out with news like this. As far as I can tell, their reasoning goes like this:
Has anyone checked for schizophrenia?
adam b.
If you want your applications to run anywhere, use something truly portable. Java? PHP? Perl? ANSI C? Yes...
Uh, you do realize that linux binaries will be officially released by id software in just a few days?
Oh, and wine is an implementation of a part of the Windows API on Linux. That's completely different from what this mentions. The OS actually operates in such a way that it will just work.
You can think of this support for Linux apps on Solaris as the same way Wine works. It provides a layer of support by implementing the needed APIs without having to deal with a total emulation enviroment.
Score 1: informative? No you can not think of that as the way Wine works. The technical explanation was given they are complying with the LSB which is much like the POSIX. This is an inherent change to the Solaris Kernel not just an emulator or a set of libraries.
Look at the FreeBSD Linux support: a kernel module and an ELF loader that support all the Linux syscalls and can decide at load time which flavor of syscall to implement. The runtime linker/loader knows to go to a certain directory tree to get Linux shared libraries, and Solaris will probably work much as the sparc 32/64 bit stuff works now.
--- Nothing clever here: move along now...
It didn't look great. It wasn't the most intuitive program. It wasn't the fastest. But it worked on all platforms, and the documents could be opened, edited, printed and saved on all platforms.
We put all our project documentation in it, due to our various OSes.
Now that Adobe no longer seems interested in supporting multiple platforms, we are migrating away.
Well, Solaris has actually allowed this for a long time via lxrun (all that's needed is to translate the linux system calls to Solaris, Xwindows etc remain the same) so all as they are doing is moving it into the kernel. It's a logical step as far as I can see. Does Wine mean that linux lost to Windows, of course not.
Absolutely. A couple of years ago Sun made a big song and dance about lxrun, which I guess is somewhere at the base of this thing, and in all my travels as a Solaris consultant I never happened across *anyone* who had used it.
I think maybe linux has a more up-to-date Acrobat reader than Solaris, so I might use it for that. Nothing else springs to mind though.
BTW,there's already a port of the flash plugin for Sol x86, and it works just fine.
Just think of it as Wine for Linux apps.
AC comments get piped to
I had a presentation from SUN yesterday on Solaris 10.
Essentially Solaris 10 is going to be a huge change. SUN states they are aiming to be the best UNIX solution out there. With the amount of money they are spending/investing in developing Solaris 10 I believe they are making a very good attempt.
1. Linux apps will run on Solaris 10 on Intel/Sparc. Someone said this is just for X86.
2. DTrace a developer's sweetheart.
3. A new filesystem that will be much better than UFS
4. N1 Grid Containers. Making that purchase of the big iron more attractive. Equivalent to LPAR on mainframe.
5. Even better Multi-Processor efficiency. Linux is making good ground here but Solaris still is years ahead on many cpu's.
6. Of course, more efficient OS, better tcp/ip stack, security, etc. etc. The things you expect to improve with a new OS.
In my opinion, Solaris 10 if it meets what they
are marketing will prove itself. If not, watch
the SUN set.....
I hate to be a conspiracy theorist, but this seems a little interesting.
First the SCO/Microsoft connections, then the Microsoft/Sun settlement... Now this? It seems odd to me that they are running in this direction in light of all of the Linux hoopla that's going around. Just look at "City of Munich Freezes Its Linux Migration" posted a little bit ago here. It almost seems like they are trying to put themselves into the position of snatching up those who are wavering on the Linux/licensing front.
How about a stable branch? Solaris actually has one.
The only up to date versions of Linux that can touch Solaris in scalability terms are now development versions. It's up to the distros to figure out how to make it stable.
I rarely criticize things I don't care about.
Solaris is still a more stable platform that responds to load very well.
If I was asked what OS to run Oracle on in a large enterprise where rock-solid stability under load is the number one criteria, such as in a financial institution, I'd feel safer with Solaris but wouldn't see Linux as a particularly dangerous choice.
Solaris has had superior (in terms of stability) LVM and VM for instance. This stuff can be important in certain situations.
I have been very impressed thus far with Linux 2.6: it's the most stable and "polished" Linux Kernel series I've experienced. I haven't thrown it in production yet but plan to roll it out on a couple of the least business-critical machines in a few months time.
I think it's inevitable that Linux will surpass Solaris (and all other Operating Systems, for that matter) in almost every way but it's not there yet: Linux has evolved at a fast pace and often features have been merged that didn't turn out well at all, requiring band-aids, re-writes, bug fixes, etc. and causing unknown bugs, regressions and unmaintained code. This seems to have slowed down a lot though. Maybe it's just me but some of the Kernel devs seem a lot more quality-focused and critical now. Praise Andrew Morton.
If over the next year 2.6 keeps impressing me with it's stability, performance and responsiveness under load when I place it in production we could have a winner. Big time.
Cheers
Stor
"Yeah well there's a lot of stuff that should be, but isn't"
This is why the "GNU" part of "GNU/Linux" should NOT be forgotten. People in the Microsoft mind-set immediately think that "Linux" is what they see when they look at a screenshot of X11 running KDE. The situation really sinks in when you realize that Linux is just the kernel, and they could be looking at *BSD, or even Darwin (Mac OS X's base), running X11 and KDE. Why not Solaris? Solaris is going one further though -- how about not having to recompile those apps that have been compiled to run on Linux? Very cool stuff indeed... especially if/when they open source Solaris! If they do it right (meaning - GPL compatible), then we'll see "GNU/Solaris", and Stallman will have a whole new name to complain about...
"To make a mistake is only human; to persist in a mistake is idiotic." Cicero
Thats certainly not my experience. Dell's service is awful in comparision to sun. We paid for gold sun support (4 hour call out), and a dell's 4 hour contract. Sun turned up with a replacement CPU within 3 hours when the sun system failed. Dell took 2 weeks to even accept that the motherboard was dead. And then took another 2 days before an engineer even turned up. They refused to send an engineeer to diagnose the problem. They also refused our own diagnosis.
(For those intrested, the machine locked solid whenever you tried to use the onboard network card. Dell gave us a program to run on the server that found no faults, but this program didn't even test the networking.)
While it's fairly trivial to get stuff to run on OSX, getting it to run as a native OSX app is a whole different ballgame. OpenOffice is a great example of this.