Common Development and Distribution License
The Common Development and Distribution License (CDDL) is a free and open-source software license,[3] produced by Sun Microsystems, based on the Mozilla Public License (MPL). Files licensed under the CDDL can be combined with files licensed under other licenses, whether open source or proprietary.[2] In 2005 the Open Source Initiative approved the license. The Free Software Foundation (FSF) considers it a free software license, but one which is incompatible with the GNU General Public License (GPL).[1]
Author | Sun Microsystems, Oracle Corporation |
---|---|
Latest version | 1.1 |
Publisher | Oracle Corporation |
Debian FSG compatible | Yes |
FSF approved | Yes (only 1.0)[1] |
OSI approved | Yes (only 1.0)[2] |
GPL compatible | No[1] |
Copyleft | Yes, file-level[1] |
Linking from code with a different licence | Yes[1] |
Terms
Derived from the Mozilla Public License 1.1,[4] the CDDL tries to address some of the problems of the MPL.[5] Like the MPL, the CDDL is a weak copyleft license in-between GPL license and BSD/MIT permissive licenses, requiring only source code files under CDDL to remain under CDDL.
Unlike strong copyleft licenses like the GPL, mixing of CDDL licensed source code files with source code files under other licenses is permitted without relicensing. The resulting compiled software product ("binary") can be licensed and sold under a different license, as long as the source code is still available under CDDL, which should enable more commercial business cases, according to Sun.[5][6][7]
Like the MPL the CDDL includes a patent grant to the licensee from all contributors ("patent peace"). However, in section 2.1(d), the patent grant is lost if the code implementing a patented feature is modified. This effectively undermines the open source nature of the CDDL as it pertains to those segments of code.[8]
History
The previous software license used by Sun for its open source projects was the Sun Public License (SPL), also derived from the Mozilla Public License. The CDDL license is considered by Sun (now Oracle) to be SPL version 2.[9]
The CDDL was developed by a Sun Microsystems team (among them Solaris kernel engineer Andrew Tucker[10][11] and Claire Giordano[12]), based on the MPL version 1.1. On December 1, 2004 the CDDL was submitted for approval to the Open Source Initiative[12] and was approved as an open source license in mid January 2005. The second CDDL proposal, submitted in early January 2005, includes some corrections that prevent the CDDL from being in conflict with European Copyright law and to allow single developers to use the CDDL for their work.
In 2006, in the first draft of the OSI's license proliferation committee report, the CDDL is one of nine preferred licenses listed as popular, widely used, or with strong communities.[13]
While the Free Software Foundation (FSF) also considered the CDDL a free software license, they saw some incompatibilities with their GNU General Public License (GPL).[1]
GPL compatibility
The question of whether and when both licenses are incompatible sparked debates in the free software domain in 2004 to 2006.[14][15] For instance, the FSF considered the CDDL incompatible to their GPL license, without going into detail until 2016.[16]
CDDL is one of several Open Source which are incompatible with GPL. This characteristics was inherited from the MPL 1.1 (fixed with the MPL 2.0 according to the FSF[1]) and results from a complex interaction of several clauses;[14][17] the root of the problem being GPL virality, similar to other cases of GPL incompatibility.[18] Some people argue that Sun (or the Sun engineer) as creator of the license made the CDDL intentionally GPL incompatible.[14] According to Danese Cooper one of the reasons for basing the CDDL on the Mozilla license was that the Mozilla license is GPL-incompatible. Cooper stated, at the 6th annual Debian conference, that the engineers who had written the Solaris kernel requested that the license of OpenSolaris be GPL-incompatible.[19]
Mozilla was selected partially because it is GPL incompatible. That was part of the design when they released OpenSolaris. ... the engineers who wrote Solaris ... had some biases about how it should be released, and you have to respect that.
Simon Phipps (Sun's Chief Open Source Officer at the time), who had introduced Cooper as "the one who actually wrote the CDDL",[20] did not immediately comment, but later in the same video, he says, referring back to the license issue, "I actually disagree with Danese to some degree",[21] while describing the strong preference among the engineers who wrote the code for a BSD-like license, which was in conflict with Sun's preference for something copyleft, and that waiting for legal clearance to release some parts of the code under the then unreleased GNU GPL v3 would have taken several years, and would probably also have involved mass resignations from engineers (unhappy with either the delay, the GPL, or both—this is not clear from the video).
Later, in September 2006, Phipps rejected Cooper's assertion in even stronger terms.[22] Similarly, Bryan Cantrill, who was on Sun at that time and involved in the release of CDDL licensed software stated in 2015 that he and his colleagues expected in 2006 the fast emerge of CDDL licensed software into the Linux ecosystem and the CDDL being not an obstacle.[23]
cdrtools controversy
The GPL compatibility question was also the source of a controversy behind a partial relicensing of cdrtools to the CDDL which had been previously all GPL. In 2006, the Debian project declared the cdrtools legally undistributable because the build system was licensed under the CDDL.[24]
The author, Jörg Schilling, claims that smake is an independent project and does not violate the GPLv3.[25] Schilling also argues that even though the GPL requires all scripts required to build the work to be licensed freely, they do not necessarily have to be under the GPL.[26][27] Thus not causing an incompatibility that violates the license.
He also argues that in "combined works" (in contrast to "derived works") GPL and CDDL licensed code is compatible.[28][29]
Red Hat's attorneys have prevented cdrtools from being in Fedora or Red Hat Enterprise Linux, arguing that Schilling has an "unorthodox" view of copyright law that isn't shared by their legal counsel or the Free Software Foundation.[30]
ZFS in the Linux kernel
In 2015, the CDDL to GPL compatibility question reemerged when Ubuntu announced inclusion of OpenZFS by default.[31]
In 2016 Ubuntu announced that a legal review resulted in the conclusion that it is legally acceptable to use ZFS as binary kernel module in Linux. (As opposed to building it into the kernel image itself.)[32]
Others followed Ubuntu's conclusion, for instance James E. J. Bottomley argued there can't be "a convincing theory of harm" developed, making it impossible to bring the case to court.[33]
Eben Moglen, co-author of the GPLv3 and founder of the SFLC, argued that while the letters of the GPL might be violated, the spirit of both licenses is unharmed, which would be the relevant aspect in court.[34]
The SFLC mentioned also that a precedent exists with the Andrew File System's kernel module, which isn't considered a derivative work of the kernel by the kernel developers.[35][36]
On the other hand, Bradley M. Kuhn and attorney[37] Karen M. Sandler from the Software Freedom Conservancy argued that Ubuntu would violate both licenses, as a binary ZFS module would be a derivative work of the kernel, and announced their intent to clarify this question, even by court.[38][39] In April 2016, the Ubuntu 16.04 LTS release included the CDDL-licensed ZFS on Linux.[40]
Adoption
Example projects released under CDDL:
- OpenSolaris (including DTrace, initially released alone, and ZFS)
- illumos (as OpenSolaris OS/Net, continuation project) and illumos distributions[41]
- OpenZFS multi platform open source volume manager and file system
- NetBeans IDE and RCP
- GlassFish
- Payara Server
- JWSDP
- Project DReaM
- Bourne shell
- cdrtools
- OpenDJ
See also
- Dual-licensing
- GNAT Modified General Public License
- List of software licenses
References
- "Various Licenses and Comments About Them - Common Development and Distribution License". Free Software Foundation. Retrieved 2020-10-14.
- "Can code licensed under the CDDL be combined with code licensed under other open source licenses?". OpenSolaris FAQ: Common Development and Distribution License (CDDL). OpenSolaris. Archived from the original on 2009-10-06.
- Common Development and Distribution License (CDDL) Information, archived from the original on 2009-03-04,
We have drafted a new open source license ...
- CDDL_MPL_redline.pdf on sun.com (archived)
- CDDL Why Summary on sun.com (archived, 2005)
- McNealy: CDDL is 'best of both worlds' on zdnet.com by Aaron Tan (September 14, 2005)
- CDDL on tldrlegal.com
- "Common Development and Distribution License 1.0 | Open Source Initiative". opensource.org. Retrieved 2020-07-18.
- "SPL to CDDL as of NetBeans 5.0 - Why change licenses?". NetBeans. Archived from the original on 2007-02-24. Retrieved 2006-12-31.
The SPL was based on the Mozilla license - as CDDL is as well. [..] One way to think of the CDDL is as a cleaned-up version of the Mozilla license - anyone can reuse it as-is. It's the SPL version 2.0.
- "Andy Tucker on the CDDL". Alan Hargreaves' Blog.
- Open source licenses, IP, and CDDL on Andrew Tuckers blog, "as one of the drafters of the CDDL I can at least comment on what the license says, and on our intentions in creating it." (Tuesday April 12, 2005)
- "For Approval: Common Development and Distribution License (CDDL)". 1 December 2004.
- First draft of OSI's license proliferation report. Archived from the original Archived 2014-01-04 at the Wayback Machine on 2012-02-05. Retrieved 2013-01-03.
- "Sun Proposes New Open-Source License".
- "The Blog of Ben Rockwood".
- "Interpreting, enforcing and changing the GNU GPL, as applied to combining Linux and ZFS". Free Software Foundation. April 11, 2016. Retrieved 2017-07-27.
- "MPL / GPL Incompatibility". Retrieved 2007-12-03.
- chandan (2006-09-18). "Copyrights, Licenses and CDDL Illustrated". blogs.oracle.com. Archived from the original on 2015-05-29. Retrieved 2015-05-29.
A common misconception is about CDDL and GPL incompatibility. (Incompatibility in the sense: to combine two source files, one under GPL and another under CDDL, to create a common executable.) GPL is incompatible with most licenses like Mozilla Public License, Apache, and CDDL. GPL wants you erase those licenses and use GPL in that place, where as these licenses do not permit erasing them. Hence the incompatibility deadlock.
- Danese Cooper (2006). OpenSolaris and CDDL discussion at Debconf 2006 (Ogg Theora). Event occurs at 27:26.
Mozilla was selected partially because it is GPL incompatible. That was part of the design when they released OpenSolaris. ... the engineers who wrote Solaris ... had some biases about how it should be released, and you have to respect that
(alternate URL, see 27:27 through 28:24) - Simon Phipps (2006). OpenSolaris and CDDL discussion at Debconf 2006 (Ogg Theora). Debconf 2006. Event occurs at 13:00.
...we have got Danese Cooper in the room, and she is the one who actually wrote the CDDL...
- Simon Phipps (2006). OpenSolaris and CDDL discussion at Debconf 2006 (Ogg Theora). Event occurs at 36:00.
I actually disagree with Danese to some degree...
- Phipps, Simon (2006-09-04). "Re: Danese Cooper claims CDDL made incompatible with GPL on purpose". OpenSolaris-Discuss List. Retrieved 2019-03-07.
Nonetheless she is wrong to characterise the opinion of the Solaris engineering team in the way she does. She is speaking this way because she lost an argument inside Sun, not because her view is representative of the views of Sun or its staff in the way she claims. She, along with many actual engineers, was an advocate of using GPL for OpenSolaris but the need to release rather than wait for one of {GPL v3, Mozilla license revision, encumbrance removal} meant that this was not possible. I am still furious with her for the statement she made at DebConf, which was spiteful and an obstacle to a united FOSS movement.
- Bryan Cantrill (2015-04-06). "I am the CTO of Joyent, the father of DTrace and an OS kernel developer for 20 years. AMA!". reddit.com. Retrieved 2016-03-11.
Question: Was the CDDL designed to prevent Sun technologies from entering Linux? - BC: Great question, and the answer was that we didn't know -- but the expectation was that it would be ported to Linux relatively quickly. I remember vividly standing over a terminal with a bunch of people as we actually launched OpenSolaris (like, clicked carriage return on making the DTrace code live -- which was the first in the chute), and the Sun Legal guy and I were chatting. We were both wondering if DTrace was going to show up in Linux in a month or if it would take two years. But that was the range of guesses: neither of us believed that the Linux community themselves would hold up CDDL as an obstacle, and certainly if you told me that a decade later, DTrace wouldn't be in Linux because of licensing FUD, I wouldn't have believed you. Of course, in hindsight, it all seems so clear: NIH is enormously powerful, and we were fools for discounting it.
- "cdrtools - a tale of two licenses [LWN.net]". lwn.net. Retrieved 2020-07-18.
- "Cdrtools (Cdrecord) release information". cdrtools.sourceforge.net. Retrieved 2020-07-18.
- "The GNU General Public License". Retrieved 2009-10-24.
- "Die GPL kommentiert und erklärt Online-Version" (in German). O'Reilly.
- "Neuer Streit um cdrtools". Pro-Linux (in German).
Laut Aussagen von Jörg Schilling sind die Lizenzen durchaus miteinander kompatibel. Die Regeln werden oftmals falsch ausgelegt. Die Aussagen der FSF-Verantwortlichen seien oft widersprüchlich und in sich nicht schlüssig.
- "OSSCC GPL".
- "Forbidden items - Fedora Project Wiki". fedoraproject.org. Retrieved 2020-07-18.
- Michael Larabel (6 October 2015). "Ubuntu Is Planning To Make The ZFS File-System A "Standard" Offering". Phoronix.
- Dustin Kirkland (18 February 2016). "ZFS Licensing and Linux". Ubuntu Insights. Canonical.
- Are GPLv2 and CDDL incompatible? on hansenpartnership.com by James E. J. Bottomley, "What the above analysis shows is that even though we presumed combination of GPLv2 and CDDL works to be a technical violation, there’s no way actually to prosecute such a violation because we can’t develop a convincing theory of harm resulting. Because this makes it impossible to take the case to court, effectively it must be concluded that the combination of GPLv2 and CDDL, provided you’re following a GPLv2 compliance regime for all the code, is allowable." (23 February 2016)
- Moglen, Eben; Choudhary, Mishi (26 February 2016). "The Linux Kernel, CDDL and Related Issues".
- Moglen, Eben; Choudhary, Mishi (26 February 2016). "The Linux Kernel, CDDL and Related Issues".
Historically, there's been things like the original Andrew filesystem module: a standard filesystem that really wasn't written for Linux in the first place, and just implements a UNIX filesystem. Is that derived just because it got ported to Linux that had a reasonably similar VFS interface to what other UNIXes did? ... Personally, I think that case wasn't a derived work, and I was willing to tell the AFS guys so.
- Copying on git.kernel.org "NOTE! This copyright does *not* cover user programs that use kernel services by normal system calls – this is merely considered normal use of the kernel, and does *not* fall under the heading of "derived work"."
- Software Freedom Law Center Appoints Two New Attorneys to Defend and Support Free and Open Source Software (October 31, 2005)
- GPL Violations Related to Combining ZFS and Linux on sfconservancy.org by Bradley M. Kuhn and Karen M. Sandler "Ultimately, various Courts in the world will have to rule on the more general question of Linux combinations. Conservancy is committed to working towards achieving clarity on these questions in the long term. That work began in earnest last year with the VMware lawsuit, and our work in this area will continue indefinitely, as resources permit. We must do so, because, too often, companies are complacent about compliance. While we and other community-driven organizations have historically avoided lawsuits at any cost in the past, the absence of litigation on these questions caused many companies to treat the GPL as a weaker copyleft than it actually is." (February 25, 2016)
- GPL Violations Related to Combining ZFS and Linux on sfconservancy.org by Bradley M. Kuhn and Karen M. Sandler, "Conservancy (as a Linux copyright holder ourselves), along with the members of our coalition in the GPL Compliance Project for Linux Developers, all agree that Canonical and others infringe Linux copyrights when they distribute zfs.ko."
- "openzfs/zfs". GitHub. Retrieved 2020-07-18.
- "illumos Distributions". The illumos Family. illumos. 20 March 2017.
External links
- Common Development and Distribution License (CDDL) Information, archived from the original on 2009-03-04
- "CDDL 1.0 copy at opensource.org". Retrieved 9 April 2013.
- Redline diffs between MPL1.1 and CDDL (PDF), p. 9, archived from the original (PDF) on 2009-03-04
- Summary description of changes, archived from the original on 2009-03-04
- Detailed description of changes, archived from the original on 2009-03-04
- FAQ on CDDL on Open Solaris Site
- Copyrights, Licenses and CDDL Illustrated on oracle.com (2006)
- The Common Development and Distribution License, Linux Weekly News Editorial (December 8, 2004)
- CDDL Analysis from a DFSG perspective, and Opinion Piece (2005)