Linux Standard Base
From Seo Wiki - Search Engine Optimization and Programming Languages
| This article needs additional citations for verification.
Please help improve this article by adding reliable references. Unsourced material may be challenged and removed. (April 2008) </td>
</tr> </table> The Linux Standard Base, or LSB, is a joint project by several Linux distributions under the organizational structure of the Linux Foundation (merger of the Free Standards Group and the Open Source Development Labs) to standardize the software system structure, including the filesystem hierarchy, used with Linux operating system. The LSB is based on the POSIX specification, the Single UNIX Specification, and several other open standards, but extends them in certain areas.
According to the LSB:
The LSB compliance may be certified for a product by a certification procedure.
The LSB specifies for example: standard libraries, a number of commands and utilities that extend the POSIX standard, the layout of the file system hierarchy, run levels, the printing system, including spoolers such as CUPS and tools like Foomatic and several extensions to the X Window System.
The LSB is designed to be binary compatible and produce a stable ABI for ISVs. To achieve backward compatibility, each subsequent version is purely additive. In other words, interfaces are only added, not removed. The LSB adopted an interface deprecation policy to give application developers enough time in case an interface is removed from the LSB. This allows the developer to rely on every interface in the LSB for a known time and also to plan for changes, without being surprised. Interfaces are only removed after having been marked "deprecated" for at least three major versions, or roughly six years.
The LSB has been criticized for not taking input from projects, most notably the Debian project, outside the sphere of its member companies.
Choice of RPM package format
For example, the LSB specifies that software packages should either be delivered as an LSB compliant installer, or (preferably) be delivered in a restricted form of the RPM format. Debian, however, uses its own format, the deb package format, which predates rpm. Debian developers argue their format is superior to RPM, and that further changing the underlying package format of a distribution to satisfy the LSB is fairly unrealistic. Most packages can be converted between .rpm and .deb with alien or other package conversion program, but each format has capabilities the other lacks, so this operation doesn't work every time and is impossible to use with some packages.
To address this, the standard does not dictate what package format the software system must use for its own packages, merely that RPM must be supported to allow packages from third-party distributors to be installed on a conforming system.
Since Debian already includes optional support for the LSB (at version 1.1 in "woody" and 2.0 in "sarge"), this issue evaporates under closer scrutiny (i.e. the end user just needs to use Debian's alien program to transform and install the foreign RPM packages in the native package format). This is part of the reason the specified RPM format is a restricted subset—to block usage of untranslatable RPM features. By using alien, Debian is LSB-compatible for all intents and purposes, but according to the description of the lsb-package, the presence of the lsb-package "does not imply that we believe that Debian fully complies with the Linux Standard Base, and should not be construed as a statement that Debian is LSB-compliant." This theoretical possibility of Debian's non-compliance to LSB might be considered a valid criticism, however slight.
Quality of compliance test suites
Additionally, the compliance test suites have been criticized for being buggy and incomplete—most notably, in 2005 Ulrich Drepper has criticized the LSB for poorly written tests which can cause incompatibility between LSB-certified distributions when some implement incorrect behavior to make buggy tests work, while others apply for and receive waivers from complying with the tests. He also denounced a lack of application testing, pointing out that testing only distributions can never solve the problem of applications relying on implementation-defined behavior. However, the LSB test coverage has been improved significantly for the recent years. Also, the Linux Foundation released a tool to address application compatibility testing.
Template:Linuxca:Linux Standard Base cs:Linux Standard Base da:Linux Standard Base de:Linux Standard Base es:Linux Standard Base fr:Linux Standard Base it:Linux Standard Base nl:Linux Standard Base ja:Linux Standard Base pl:Linux Standard Base pt:Linux Standard Base ru:Linux Standard Base sk:Linux standard base fi:Linux Standard Base uk:Linux Standard Base zh:Linux标准规范