Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Software Linux

Linux Foundation Promises LSB4 194

gbjbaanb writes "Ever thought it was difficult to write software for Linux? For multiple distros? InternetNews reports that the LSB is making a push for their next release (due out later this year) that should help make all that much easier. Although the LSB has not lived up to expectations, this time around Linux has a higher profile and ISVs are more interested. This is to help persuade them to develop applications that will run on any LSB-compliant Linux distribution. If it gets adopted, LSB 4 could bring a new wave of multidistribution Linux application development. 'It is critically important for Linux to have an easy way for software developers to write to distro "N," whether it's Red Hat, Ubuntu or Novell,' [said Jim Zemlin, executive director of the Linux Foundation.] 'The reason you need that is because we don't want what happened to Unix to happen to Linux in terms of fragmentation.' The LSB defines a core set of APIs and libraries, so ISVs can develop and port applications that will work on LSB-certified Linux distributions."
This discussion has been archived. No new comments can be posted.

Linux Foundation Promises LSB4

Comments Filter:
  • by khasim ( 1285 ) <brandioch.conner@gmail.com> on Friday August 01, 2008 @02:06PM (#24437321)

    "The reason you need that is because we don't want what happened to Unix to happen to Linux in terms of fragmentation." says Jim Zemlin, executive director of the Linux Foundation.

    He needs to read the GPL and understand how it differs from the various PROPRIETARY licenses that caused the *nix fragmentation.

  • ABI (Score:1, Insightful)

    by Anonymous Coward on Friday August 01, 2008 @02:10PM (#24437389)

    Why cant we have binary compatibility too :(

  • by dlgeek ( 1065796 ) on Friday August 01, 2008 @02:11PM (#24437403)
    UNIX fractured into a large number of incompatible variants including BSD (fractured further into Open/Free/Net BSD), Solaris, IRIX, HP-UX, SCO Unix, etc., etc..

    See this graph [wikipedia.org] for more information.
  • "The reason you need that is because we don't want what happened to Unix to happen to Linux in terms of fragmentation."

    What makes you think what happened to UNIX was bad? It's called evolution. Things change.

    Let me remind you, my friend, that evolution means SUCCESSFUL ADAPTATION to an environment. What happens when a change (mutation) results in inadaptation? Extinction.

    Evolution refers to a species. But in Linux what we have is not a single species, but a genus [wikipedia.org] (a set of different species): Redhat, Debian, etc. "DNA" recombination is impossible in these. The resulting software would be inoperable.

    LSB4, hopefully, will be a further step in the evolution of Linux: The convergence to a single species that will be able to share one single configuration.

    In other words, yes, change is necessary, but there needs to be a period of stabilization. Just as stable/unstable releases in software. And LSB is providing this stability. LSB is, in fact, evolving.

  • by Grey_14 ( 570901 ) on Friday August 01, 2008 @02:16PM (#24437495) Homepage

    maybe you mean something different, but I'm not sure how your statement relates to this issue. Afaik the LSB is about standardizing directory layouts and configuration files, and while sure under the GPL any linux distro CAN be made to follow those guidelines, almost none of them DO, so the difference between nonstandardized linux systems and nonstandardized UNIX systems is a philosophical one and not a practical one.

    (Although on Linux it's a fair bit easier to remedy)

  • by Haeleth ( 414428 ) on Friday August 01, 2008 @02:20PM (#24437569) Journal

    Ultimately, let the best software win. The rest can go to bit-afterlife.

    Yes, that's kind of the whole point of the LSB.

    Customers choose OSes based on many criteria. One of them is how much of the software they need will run on each platform. Now, this is rarely actually determined by the quality of the platform -- it's mostly a question of which platforms were already popular enough to be targeted. In theory, LSB will make it easier for new Linux-based OSes to run existing software, and will make it easier for ISVs to write software for Linux-based OSes in general.

    Those OSes can then compete on more interesting metrics like performance, stability, scalability, price, and quality of support. How is this not a good thing?

  • by oyenstikker ( 536040 ) <`gro.enrybs' `ta' `todhsals'> on Friday August 01, 2008 @02:20PM (#24437577) Homepage Journal

    LSB4 is all very well, but if RHEL does not follow (does anybody really think they will?) it will not amount to a hill of beans.

  • by HighOrbit ( 631451 ) on Friday August 01, 2008 @02:24PM (#24437643)
    All the distrubtions use the same basic set of Gnu tools (like GCC, binutils, bash) and common programs like the perl binary. So why not have all the contemporaneous (i.e. released in the same time-frame) distros use the same tools? Shuttleworth was basically advocating an extended version of this (although he phrased it in terms of a coordinated release cycle [slashdot.org]) to be policy across several distros and to include higher-level applications like GNOME, KDE, and OO (besides the low level stuff like binutils).

    As I've said before [slashdot.org], software vendors like Oracle would love this because it would simplify their support.

    Now if only LSB would stop the cluttering of /usr/bin with non-system programs and put user install apps in /usr/local or /opt where they belong. ;)
  • by Doc Ruby ( 173196 ) on Friday August 01, 2008 @02:26PM (#24437665) Homepage Journal

    Other than eliminating conflicting directory structures, the most important standard for Linux distros to completely unify would be a single API to data protocols and MIME types. Like the one FreeDesktop.org has managed to sync (in principle) between GNOME and KDE Desktops, but for all distros (including servers).

    A registry of which app to hand off a URL to given its protocol part, to retrieve the data. A registry of which app to hand off the data to once it's retrieved. Different data handler lists for displaying, editing or executing (the usual Linux RWX modes) the content, depending on the use case triggering the registry access. The registries could include prioritized lists of different apps, depending on user selection or settable default preference. And of course any single app could be registered to either registry, in any mode it will function properly.

    Then the OS is performing its main task of connecting processes to the hardware and to each other. In a very simple and clear architecture. That every single app can use, without having to anticipate how the other apps will agree with it.

    If LSB4 can pull that off, using the existing attempts as a starting point, it won't just make a unified Linux target for developers across distros. It will make LSB4 itself more quickly and completely adopted, because its benefits will be so compelling.

  • by Darkness404 ( 1287218 ) on Friday August 01, 2008 @02:28PM (#24437701)
    UNIX fragmentation wasn't caused by anything other than all the proprietary, incompatible licenses. Whenever Sun made an improvement to UNIX, HP couldn't simply adopt it like they can with the GPL. With the GPL, if I take an OSS program and fork it, and change it radically, the original creators of the software can always add my changes back into the main branch. And yes it would be bad, if you had to write a program, say an HTTP server, you had to test it on every Unix imaginable, today, just release the source, package an RPM and a DEB, and it will be ported to the rest soon enough.
  • by BELG ( 4429 ) on Friday August 01, 2008 @02:33PM (#24437761)

    We don't want it to happen?

    It already did.

    Distribution compatibility and package management is a big problem for most, if not all developers, and has been for a very long time.

  • by droopycom ( 470921 ) on Friday August 01, 2008 @02:34PM (#24437777)

    But you see, they dont want to write for distros foo, bar, etc... they want to write an app for linux.

    They dont want to "collaborate" with dozens of distros, all of which will tell them that "in our distro, the proper way of how to do this" is different than the other ones...

     

  • by X0563511 ( 793323 ) on Friday August 01, 2008 @02:37PM (#24437841) Homepage Journal

    Well, from what I've seen, /usr/local and /opt were reserved for the local sysadmin to manage, and the package management system generally stayed away from that. This meant that custom software and distro packages didn't have file conflicts.

    Now, I like the way that works, a lot. But I don't have any objections against further partitioning of that scheme.

  • by mrsteveman1 ( 1010381 ) on Friday August 01, 2008 @02:39PM (#24437857)

    Classic zealot response. Pretend the entire world is moving to GPL-only software and neglect to address the concerns of anyone who disagrees.

  • by ph1nn ( 588305 ) on Friday August 01, 2008 @02:40PM (#24437879)

    I've hated this whole fragmentation thing all along. It would be so much nicer to have a unified system like LSB4 claims to offer. This can't come soon enough.

  • by Anonymous Coward on Friday August 01, 2008 @02:45PM (#24438005)
    Thank you. fscking acronyms... If you're gonna use them, at least define them once up front, kinda like a variable. If I see one more article using SMB or SMS without hinting at which of the numerous meanings they mean, I'll puke.
  • Do we want LSB? (Score:2, Insightful)

    by maestroX ( 1061960 ) on Friday August 01, 2008 @02:55PM (#24438231)
    Formalizing the basis of a linux system seems awkward to me. It simply evolves, LSB is following.

    I've never had any need for a standardized linux environment except when I had to run Civ3 using libc5. The kernel never really freezes AFAIK.

    The beauty of linux, progress continues, just switch distros. If you need something comfy and reliable, use Debian.

  • +1 as a developer (Score:2, Insightful)

    by ge0ffrey ( 1337221 ) on Friday August 01, 2008 @03:28PM (#24438941)
    As a developer I've considered this one of the (if not the) most important issue in linux. I am happy to hear it's finally getting the attention it needs. Many applications (especially games) will only be released for linux (and work out-of-the-box without tweaking), once there is a decent way to build 1 release for any (LSB compliant) linux distro. I myself build java applications (on Ubuntu) that work perfectly fine on linux, but because of this problem, I simply don't bother building a release package for linux. No matter how hard is, get it done. And make an extensive test kit to assure Red Hat, Ubuntu and Novell are compatible.
  • by gbjbaanb ( 229885 ) on Friday August 01, 2008 @04:42PM (#24440413)

    COO: so, we've developed a new widget, brilliant. When can we ship it.
    DEV: today, its all tested. I've run it myself on my Debian box.
    COO: sure, it'll run on Customer B's Redhat environment won't it?
    DEV: Ummmm.. well, not straight off.
    COO: ok, so what do we need to do to make it work?
    DEV: well, alter a couple of paths, recompile, change the dependancy for package Z and build a rpm
    COO: and how long will that take?
    DEV: a week, maybe 2 with testing.
    COO: so, that's 2 weeks development costs on top of what we've already spent. We wouldn't have this kind of problems with Windows!

    and I'm not trolling either - standards are good, making extra work for yourself for no good reason is bad. Its not as if a common directory layout, ABI or programming libraries need to affect open source linux in any way. The Kernel is a standard, and no-one complains they don't have a choice of kernels to develop against.

  • by Poltras ( 680608 ) on Friday August 01, 2008 @05:00PM (#24440707) Homepage
    Softimage's XSI, VMWare, many other softwares that can't be recompiled, tested and tech supported in many distros or that need libs that are guaranteed on a platform. You think everything can come from a repository and that every bug in every distribution can be supported, tested and fixed consistantly?
  • by turbidostato ( 878842 ) on Friday August 01, 2008 @05:50PM (#24441477)

    "Not that anyone uses it, as it is a complete waste of time."

    I don't know if it's a waste of time. I don't even know what the original motivations for the LSB were.

    But I do know what is meant for now: is an intent from some distribution vendors to make easier to coaligate with privative source vendors. Not that I think this is a good or bad thing for them to do, but I do know that's not a goal I'm interested in, so I don't give a damn about LSB.

    Making better/easier portable configure-like tools? Sure.
    Making stronger the LFH (Linux Filesystem Hierarchy)? Certainly.
    Giving more visibility to stronger engineering practices so evolution of (specially) libraries APIs is more stable, predictible and backwards compatible? Yes, no doubt.
    Giving a binary base for privative software vendors throwing their software wherever they like to, with half-assed start/stop scripts and without integration with the native package management tools of my distribution of choice? Really, what for?

Waste not, get your budget cut next year.

Working...