Slashdot Mirror


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.

24 of 356 comments (clear)

  1. No by IceFox · · Score: 4, Insightful

    Just like with MS and OS/2 people will now make apps for Linux that oh yah work on Solaris not the other way around. As a developer it is a pretty easy choice to make and as we all know it is all about developers developers developers...

    -Benjamin Meyer

    --
    Do you changes clothes while making the "chee-chee-cha-cha-choh" transformation sound?
  2. Linux APIs by Sebby · · Score: 4, Interesting
    "Will the power of Linux apps put Solaris back into the running?"

    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 /dev/null
  3. I doubt it by metalac · · Score: 4, Interesting

    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.

    1. Re:I doubt it by Neil+Watson · · Score: 4, Interesting
      You've hit the nail on the head. The days of commercial Unix are numbered. It's sad and tragic. The big commercial Unix vendors have no one to blame but themselves. Unix was powering workstations and servers when Windows was still in its 3.1 days. That was a large lead that they petered away. Instead of spending that time improving their procduct (e.g. making their tools more functional like the GNU tools have become) big Unix sat back and did very little.

      • Why didn't Sun fix their tar utility to properly strip '/'?
      • Why didn't Sun fix their tar utility to add on the fly compression (-j -z anyone?)?
      • Why didn't Sun ever develop a useful packet filtering application instead of relying on the ipfilter whose releases can often be worse than beta quality?
      • Why are there so many different bin directories that the environment never pointed to (e.g. /usr/ucb/bin)?
      • Sed, Awk, and Vi all had room for improvement. Why did they do nothing?
  4. I can't wait... by halivar · · Score: 4, Funny

    It's just Solaris with glibc.

    I can't wait for RMS to start demanding people call it GNU/Solaris.

    1. Re:I can't wait... by mslinux · · Score: 4, Funny

      I can't wait for RMS to start demanding people call it GNU/Solaris.

      RMS died of a massive heart attack when he discovered that GNU had been certified Unix... He kept mumbling, "How can 'GNU's not Unix' be 'Unix'," while drool ran down his chin.

  5. Cheap way to develop for both? by grunt107 · · Score: 4, Insightful

    Although it seems a doomed strategy, Sun could be allowing for an internal Linux development path which they could then back-port' to Solaris, allowing Solaris to expand its portfolio.

    This would, IMO, backfire since a potential customer would see Linux as the more influential and therefore desirable IT tool.

  6. Note this is only for Solaris x86 by MojoRilla · · Score: 4, Informative

    This only works on Solaris x86 machines, which has always been the ugly Solaris step-child.

    This seems to me to be a little desperate. Sun seems to be saying that Linux has won, at least in terms of software support.

    1. Re:Note this is only for Solaris x86 by jgardner100 · · Score: 4, Interesting

      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.

    2. Re:Note this is only for Solaris x86 by illumin8 · · Score: 5, Insightful

      This only works on Solaris x86 machines, which has always been the ugly Solaris step-child.

      Your point is taken, but with the release of full 64-bit Solaris 10 for X86-64 and Sun's new 2-way AMD Opteron workstations, 2 and 4-way Opteron servers, and soon to be released 8-way Opteron servers, Sun is betting the farm on X86-64. The plain and simple truth of the matter is that Opteron offers two to three times the performance of current UltraSparc chips, and I predict that Sun will replace their entire product line, except for the extreme high-end, with Opteron, in the next 5 years.

      The other thing you should consider is that more Sysadmins know Solaris than any other flavor of Unix, so giving them the capability of running 64-bit Solaris with 32 or 64-bit Linux applications side-by-side is clearly a winning move on Sun's part. Now, if only they can execute properly. Some of the benchmarks on the new Java Workstations (I don't know why they call them that when they're really just AMD Opteron workstations) have them running the BLAST benchmark on Solaris 10 x86 up to 61 percent faster than a Dell Precision Workstation running Linux.

      Given the choice between a 32-bit Dell Xeon workstation with no console port, running Redhat, and a real 64-bit Sun workstation with a console port and everything, running Solaris 10, with full Linux compatibility (or dual-booting to Redhat if I so desire), at a lower price, guess which one I'm going to choose?

      --
      "When the president does it, that means it's not illegal." - Richard M. Nixon
  7. The more *nix Software the better by njcoder · · Score: 5, Interesting
    When linux first came out they had a Solaris emulation to be able to run apps made for Solaris. These days that are a lot more apps written for linux than there were back when linux first came out (not sure on the ration of software for linux vs solaris just linux then and now).

    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.

  8. Community Software (blastwave.org) by sudohnim · · Score: 5, Informative

    You've never heard of CSW?

    What is blastwave.org?
    blastwave.org is a collective effort to create a set of binary packages of free software, that can be automatically installed to a Solaris computer (sparc or x86 based) over the network.


    We (CSW) don't provide "Linux apps", but we natively compile and package software for Solaris.

    Will the power of Linux apps put Solaris back into the running?

    The power of free software compiled natively for my SPARC has returned Solaris to being my primary desktop. (Now if only I could afford a Blade 2500....)

    --
    Its pretty sad when a commercial OS ships a debugger with their system but no compiler.
  9. Re:you mean like... by zz99 · · Score: 4, Informative
    The Doom 3 Linux port should be out soon if I have my way.

    According to the .plan of the ID software CEO there will be a Linux version soon:

    Mac and Linux: Unfortunately I don't have dates for either of these. However, Linux binaries will be available very soon after the PC game hits store shelves. There are no plans for boxed Linux games. More remains to be done for the OSX version of DOOM 3 and that will take some time. We won't release the OSX version until it's just as polished as the PC version. The date for OSX DOOM 3 remains "when it's done", but I can confirm that it's definitely coming.

  10. Finally by Nailer · · Score: 5, Funny

    Solaris can be considered a real Linux ;^)

  11. Which apps, exactly? by YellowBook · · Score: 4, Insightful
    Will the power of Linux apps put Solaris back into the running?

    Which apps would those be, exactly? Just about everything significant that's available for Linux is available as source, and most of those build with autoconf and GNU tools for portability, so installation on Solaris is just a 'configure; make; make install' away.

    There are a handful of proprietary applications for Linux that might be relevant, but I'd guess most of these are back-office type things that probably already have Solaris versions. That just leaves things like the Flash plugin, and I simply can't see that sort of thing as being very important.

    --
    The scalloped tatters of the King in Yellow must cover
    Yhtill forever. (R. W. Chambers, the King in Yellow
  12. Re:Just LSB or ABI/API too? by aphor · · Score: 4, Interesting

    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...
  13. Darl Will Sue by Perl-Pusher · · Score: 4, Funny

    Isn't this just a "Linux Personality Kit" for Solaris? Is Sun infringing on SCO's IP? I can hear attack dog Darl growling in the distance. And the voice of his master Bill Gates saying 'Down Boy! We already own them!'

  14. Re:So what has Solaris got? by chegosaurus · · Score: 4, Informative

    dtrace, zones, zfs, Sun support, source compatibility with Solaris SPARC, better stability (IMHO), and some people just prefer it. And it's not very expenive, if you pay at all.

  15. Re:No by mccalli · · Score: 4, Insightful
    As a developer it is a pretty easy choice to make...

    Yes, it's the easy choice for these developers to make. It's not the correct one though - the correct one would be to figure out your environment and build accordingly.

    For example, thanks to the wonders of "./configure ; make" I now build similar software for the three Unix environments I regularly use - SPARC Solaric, x86 Debian and OS X (PPC). Never have to worry about 'personalities', it just gets compiled and run.

    It certainly is about developers, but it's about those developers becoming less sloppy and making fewer assumptions about environment. In many cases the sloppiness I refer to is entirely understandable: it was a pet project, only had to run in one environment, they only had access to x86 Lionux to test under etc.. All good arguments, but they don't really apply to the kind of applications you're likely to be running on your Solaris servers. These will be mostly custom-ordered vendor jobs, and the vendors should know better.

    Cheers,
    Ian
    (Oh, and hi Ben - fancy running into you here. I'm the person who helped you out with your old Mac format floppies).

  16. Re:Much like the way Wine works by isolation · · Score: 5, Informative

    The LSB defines a set of APIs and libraries along with the locations in the filesystem. This project adds a layer to intercept the Linux Syscalls and either redirect them or implement them as Solaris Native. This is the same thing the Wine does except that Wine exists only in userspace.

    A better example would be Linux emulation on FreeBSD. Solaris is doing the same thing the FreeBSD people have been doing for years.

    --
    Free Unix? Free Windows. http://www.reactos.com
  17. This may be a new SUNrise.... or maybe not by Anonymous Coward · · Score: 5, Interesting

    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.....

  18. Re:IOW... by oldmanmtn · · Score: 4, Insightful

    You're an idiot.

    Just as a simple, grade A, introductory issue: How does a Linux application issue a system call? Using int80. How does a Solaris application issue a system call? Using syscall, sysenter, or lcall depending on the application and the version of the OS.

    The two OSes don't even agree on the basic mechanism by which applications can communicate with the kernel. And you think it's just a matter of putting glibc on the CD. Put down the keyboard and go back to CS101 until you learn something.

    --
    - Old Man of the Mountain ---- "I want to disturb my neighbor"
  19. OS Diversity by akinsgre · · Score: 5, Insightful

    The negative, among most posters, makes me wonder if OS diversity is good as long as all OSes are Linux:')

    Sun has lost ground because their OS/Hardware solution is comparatively expensive; not necessarily because Solaris is not a capable OS.

    It just amuses me that Windows homogeneity is bad; but Linux everywhere is good.

    --
    -greg -> gakinsATInsomniaDASHConsultingDOTorg
  20. The "GNU" part of GNU/Linux by shatfield · · Score: 4, Interesting

    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