131 points · by tosh · 9y ago · 94 comments
https://insights.ubuntu.com/2016/02/18/zfs-licensing-and-lin...
"""The CDDL cannot apply to the Linux kernel because zfs.ko is a self-contained file system module — the kernel itself is quite obviously not a derivative work of this new file system.
And zfs.ko, as a self-contained file system module, is clearly not a derivative work of the Linux kernel but rather quite obviously a derivative work of OpenZFS and OpenSolaris."""
This has been shipped in Ubuntu for a year now and nothing bad has happened, so it must be OK. Maybe.
If you read the GPL, it is clearly designed to prevent EXACTLY this thing. I'm sure as it was being written, Microsoft was envisioned as the evil entity that would steal free software and mix it with closed proprietary code. The license is clearly and deliberately designed to prevent this.
The "other side" may not see it this way. But the "other side" must abide by all involved licenses, including the GPL. Their own license, and the GPL license. The GPL is clear that if you cannot abide by all licenses, then don't do this.
----8<----
But one gray area in particular is something like a driver that was originally written for another operating system (ie clearly not a derived work of Linux in origin). At exactly what point does it become a derived work of the kernel (and thus fall under the GPL)?
THAT is a gray area, and _that_ is the area where I personally believe that some modules may be considered to not be derived works simply because they weren't designed for Linux and don't depend on any special Linux behaviour.
Basically:
- anything that was written with Linux in mind (whether it then _also_ works on other operating systems or not) is clearly partially a derived work.
- anything that has knowledge of and plays with fundamental internal Linux behaviour is clearly a derived work. If you need to muck around with core code, you're derived, no question about it.
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 didn't feel that I could make that judgment call. Maybe it was, maybe it wasn't, but it clearly is a gray area.
Personally, I think that case wasn't a derived work, and I was willing to tell the AFS guys so.
Does that mean that any kernel module is automatically not a derived work? HELL NO! It has nothing to do with modules per se, except that non-modules clearly are derived works (if they are so central to the kernel that you can't load them as a module, they are clearly derived works just by virtue of being very intimate - and because the GPL expressly mentions linking).
So being a module is not a sign of not being a derived work. It's just one sign that _maybe_ it might have other arguments for why it isn't derived.
Linus
----8<----The real issue is if anyone who can claim copyright to Linux kernel will sue Canonical. I don't think so.
It's whether someone who distributes the kernel module and the kernel together is obliged to distribute the module under GPL terms as described in the "part of a whole" paragraph:
« If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. »
(It seems pretty clear to me that the answer is "yes".)
Is it possible to glue a kernel module shim to something else under License A, glued to another shim under License B, etc until you have license compatibility with ZFS?
At the very least, this would seem to violate the very spirit of what the GPL intends.
In the kernel, functions which might be used by any modules are exported using EXPORT_SYMBOL. But if a module wants to use functions exported via EXPORT_SYMBOL_GPL, then the module has to use GPL.
The release yesterday has some great new features: https://news.ycombinator.com/item?id=14864145
Why in the world would they do that, though? Oracle pretty clearly does not value community goodwill, nor do they gain anything by trying to go through the process of re-licensing ZFS.
I do know he's very never-get-lawyers about compliancy
Also found this old comment from awhile back: https://news.ycombinator.com/item?id=11176937
Those stories were unsubstianted FUD. Solaris is alive and kicking. I would know, because I am working on a particular component that will be part of the next version of Solaris.
It's great. I love it. I wish Solaris was still open sourced and the open source aspect of it better managed than it used to be in OpenSolaris days so that there wouldn't be any need of a fork but I like it.
> especially since most of the original Solaris talent left Oracle after the OpenSolaris fiasco in 2010 and went to work on illumos
A lot of people left indeed. But most people? Hmm...
Which, in short, is a violation of the GPL and/or the CDDL. Now, if you go and build your own modules and not distribute them (such as using DKMS to build from source via Debian's zfs-dkms and spl-dkms, which Ubuntu decided not to do as well), then it's fine. No violation here, and the linked article basically says this inside of a bunch of wiggle room just in case they ever need to say they didn't say that.
As a ZoL user on Debian, Ubuntu usage of ZFS is a bit irritating. ZFS is hands down the best file system out there, and Ubuntu fouling up things with their style of politics isn't okay.
Many years ago there was a disussion between a member of the Squeak Smalltalk community (an IP lawyer by day) and the FSF's Eben Moglen. Moglen's position was roughly along the lines that libraries that are not considered to be deeply linked while out on disk in separate files, become deeply linked when loaded into RAM (or maybe into the same process's virtual address space, or something), such that taking a memory image of such a combination of modules, and using it as a means of distribution would be sufficient to trigger the "viral" aspect of the GPL.
(Since Smalltalk systems tend to rely heavily upon memory images, this is why GPL code became distinctly unwelcome in most Smalltalk communities, presumably except for GNU Smalltalk.)
Please don't make statements of opinion as though they are verified fact.
On one hand you have claims like this, and on the other you have Ubuntu who have said they consulted with attorneys well-versed in open source matters who did not believe there was a violation here.
In the absence of litigation, or similar, especially considering the high profile of this issue, I'm inclined to go that way, rather than armchair lawyering here.
You cannot build a binary with CDDL code and distribute it as anything other than CDDL. Ubuntu is wrong and likewise you are wrong. Otherwise, riddle me this: What is the license of the ubuntu shipped kernel packages? Oracle says it's CDDL. Linus says it's the GPL. Which do you believe it is?
Thanks, anonymous internet attorney. This is not an appeal to authority, but when a corporation is willing to put out official communication stating that they have consulted with attorneys whose legal opinion is that there is no violation here, and who has a lot more to lose than you or I, I am inclined to give them the benefit of the doubt.
I like ZFS. I like Linux. I love the two together. I don't care about the niggling legal interpretations that they themselves agree have never even been tested by the courts.
If they really want to push this, bring it to the courts. Put up or shut up.
anybody can download the two software packages and link them together. As long as you don't redistribute them, then you are completely compliant with both licenses.
as a result, the only discussion here is for distributors of the programs (such as canonical, debian, etc).
You may not, but a corporation may and probably will.
Who exactly would stand to gain from keeping ZFS out of Linux, and would be willing to spend a ton of money on legal fees to do this?
What makes you say that? It's a very common tactic to give people "enough rope to hang themselves", where you intentionally delay suing someone in the hopes that more people will infringe so you can settle for more money. This happened with the LZ4 patent trolls for example (where they were suing people for using GIF files, and they waited several years after their patent was filed before suing people).
Not to mention that copyright lasts _120 years_ at the moment. Unless you wait until 2125 until you redistribute ZoL, you cannot ever be sure that Oracle won't sue you.
> Who exactly would stand to gain from keeping ZFS out of Linux
Oracle. They were the main btrfs developers (and still are), and since they no longer have any of the old ZFS engineers they would (rather ironically) probably consider a viable ZFS-on-Linux distribution to affect their bottom-line.
I guess I am asking if the GPL is compatible with itself under a different name? Because if it isn't that seems like an unfortunate feature.
Obviously you'd hope that if Oracle licensed it under a permissive license, the whole point of doing so was to enable third party usage and thus they won't be taking legal action against this kind of minor and technical infringement (if it actually is). However counting on Oracle the company to act in good faith might not be smart.