252 points · by dwc · 10y ago · 261 comments
He states: "having been developed totally independently of Linux: they literally were developed before Linux even existed, by people who had zero knowledge of Linux. That tends to strengthen the argument that they clearly aren't derived."
He does continue to say that he believe it would be "hard to argue that any new driver or filesystem was developed without any thought of Linux", although in the specific case of ZFS (as opposed to, say, nvidia.ko), I think there would be a strong argument that the ZFS module was originally written in whole as a non-derived work.
(Obviously, Linus is not the only stakeholder here, and even his own opinion may have changed since then. Still, it's not a new conversation and the community hasn't been too ruffled by the status quo for the past 13 years)
1. Every Linux kernel module can tell the kernel what license regulates its use, using the MODULE_LICENSE() macro. The Linux kernel keeps track of which modules are under GPLv2 (and a few other compatible licenses). When a module under a presumably "proprietary" license is loaded the kernel will mark itself as "tainted". (It could just as well refuse to load the module, but it doesn't.)
2. There are two macros used to export Linux kernel symbols: EXPORT_SYMBOL and EXPORT_SYMBOL_GPL. The former will make the symbol available to all kernel modules, while the latter makes it available only to GPL-licensed kernel modules. The clear purpose and motivation is that a kernel module that needs access to a symbol exported with EXPORT_SYMBOL_GPL must be a derivative work, while a kernel module that only depends on symbols exported with EXPORT_SYMBOL is not necessarily a derivate work.
Also, IANAL, but from a purely legal perspective I think it would be difficult to get a court to agree that a user space program that talks to the Linux kernel through system calls is never a derivative work, while a kernel module (even one that accesses only symbols exported with EXPORT_SYMBOL) is always a derivative work. The system call versus dynamic loaded module distinction is simply not very relevant from a purely legal perspective.
One work is the module, considered in isolation. Is that a derivative of the kernel? Possibly, but that's a reasonably high bar to clear. If it's not, distributing the module by itself can be done entirely without reference to the Linux kernel's license.
The other potential work though is the module-and-Linux-kernel (and possibly many other bits too), delivered as one combined work. Is that a separate work as per copyright law? If so, is that work a derivative (of both the kernel and the module)? This is a much lower bar, and means that the combined work can only be distributed in accordance with the licenses of both the kernel and the module.
I agree this is only one side of the analysis (does zfs.ko fall under the Linux kernel GPLv2?), but that's also the only question that the OP can credibly address (because SFC is a copyright holder in Linux, not in ZFS).
> The other potential work though is the module-and-Linux-kernel (and possibly many other bits too), delivered as one combined work. Is that a separate work as per copyright law? If so, is that work a derivative (of both the kernel and the module)? This is a much lower bar, and means that the combined work can only be distributed in accordance with the licenses of both the kernel and the module.
That line of reasoning would upend pretty much all open source licensing as we know it. E.g., paragraph 9 of the OSI's Open Source Definition [1] clearly states that "The license must not place restrictions on other software that is distributed along with the licensed software." The fact that the OSI has accepted the GPLv2 [2] as an open source license implies that they (for one) do not agree.
Why, because they used the word "tainted"? I kind of thought that always meant to be used a flag for "this user loaded some random binary in the kernel and now complains there is bug ". So developers look at the debug output and see "oh, well, it is tained, so, we won't waste time on this, you are on your own" kind of stuff. Which is reasonable.
As you said, if they didn't want it to work with non-GPL modules, they could have prevented loading. Unless you think they setup a honeypot of sorts -- "We'll trick them, then sue them!".
I think it's useful to look at it as that if the kernel is flagged as tainted, it means it's in a state that can't be properly debugged, independent of the exact reason.
This could be because there's a opaque blob loaded that makes debugging difficult, if not impossible.
It could also be because the license of the code that was loaded (even if it isn't an opaque blob) means that even if someone did figure out the problem, they couldn't necessarily get their changes committed upstream (or might have a hard time of it) and then they'd have wasted that time debugging something that legally can't be debugged by anyone or anyone can't use the results of the debugging (the fix), which are freedoms the GPL is designed to protect. There's a lot of bugs to work on, and it's meaningful to consider code that is licensed in a way that is not strictly GPL compatible as lower priority than code that is GPL.
ZFS was designed and implemented by a team at Sun led by Jeff Bonwick, Bill Moore[106] and Matthew Ahrens. It was announced on September 14, 2004,[107] but development started in 2001.[108] Source code for ZFS was integrated into the main trunk of Solaris development on October 31, 2005[28] and released as part of build 27 of OpenSolaris on November 16, 2005
In 2003, Linus could not have known about ZFS without some insight knowledge, nor if the people developing it had any knowledge about linux. It also contradict the claim that CDDL was choose for the explicit purpose to prevent ZFS being used on Linux and competing with Solaris.
How is that a strong case for ZFS?
Which, of course -- as they've just telegraphed -- reflects SFConservancy's vested interests in a maximalist interpretation of what is a "derived work", since that is what maximizes the scope of works to which the necessity to adhere to a license (like the GPL) applies.
* A kernel module is run by the kernel, not incorporated in it,
* A kernel module only uses LGPL interfaces, so full GPL compliance shouldn't be necessary,
* Binary modules should be legal (though he doesn't like them), and
* Projects (like filesystems developed for other platforms) with their own life outside of Linux shouldn't be required to re-license if they clearly weren't based on Linux.
I know Linus doesn't represent all kernel developers, but his opinion should carry a lot of weight.
The SFConservancy is just practicing GPL overreach here, and is rattling a saber in hopes that Oracle blinks. Ubuntu has been distributing NVidia binary kernel modules for years and this hasn't resulted in a lawsuit, so it seems like an empty threat.
[1] http://linuxmafia.com/faq/Kernel/proprietary-kernel-modules....
Why would Oracle care? Oracle is not involved in OpenZFS and has closed source all of their changes for a while. The new code (which is a lot) is not owned by Oracle. It is owned by the individual contributors as OpenZFS is not doing copyright assignments.
> Why would Oracle care? Oracle is not involved in OpenZFS and has closed source all of their changes for a while. The new code (which is a lot) is not owned by Oracle. It is owned by the individual contributors as OpenZFS is not doing copyright assignments.
That's not how copyright works, and we've all seen how zealous Oracle loves to get with copyright arguments (the Android thing, for example).
That's nice, but it's only one side. What about the opinion of the developers who wrote the module and licensed it under CDDL?
The incompatibility between CDDL and GPL is well-known, and the authors at Sun made it that way deliberately.
It's not kosher to just say, "Well the authors of the GPL software are okay with it, so it's fine." You need to respect the wishes of the developers who contributed the CDDL code to begin with.
We are okay with it.
Although ZFS developers on all open source platforms are considered OpenZFS developers, I am explicitly listed on the wiki:
http://open-zfs.org/wiki/Contributors#Richard_Yao
I am also the #2 ZFSOnLinux contributor by commit count according to github's statistics and I have maintained that position for years:
https://github.com/zfsonlinux/zfs/graphs/contributors
If any of the other OpenZFS developers had a problem with Linux distributions shipping the OpenZFS code, I ought to have heard about that by now. So far, every OpenZFS developer on every other platform that I meet is happy that the code is available on Linux. I have even met employees at Oracle that are happy about it. While that is not an official stance of Oracle, Oracle itself publishes a dtrace module under the CDDL for use on Linux, so it would be strange to think that they would have a problem with shipping a port of the ZFS driver from the original OpenSolaris codebase under the original license for Linux, especially when it benefits Oracle Linux.
> That's nice, but it's only one side. What about the opinion of the developers who wrote the module and licensed it under CDDL?
The developers' opinions don't matter. All contributors used to have to sign a CLA to give copyright to Sun. Then Sun was bought by Oracle. So you should care about what Oracle thinks about copyright infringement.
> The incompatibility between CDDL and GPL is well-known, and the authors at Sun made it that way deliberately.
No, that's bullshit. CDDL (which is just the MPL) is a file-based copyleft because that's what license fitted their requirements. It's not their fault that people have a completely fucked up interpretation of "derivative work" that includes any combination of two completely separately developed works.
Certainly Oracle, Sun's legal successor, hasn't publicly complained.
To clarify, by "authors" do you mean individual developers? Or do you mean Sun/Oracle as a corporation.
If you mean individuals, how often do you see individual developers working for multinational companies just wing it with a license choice? (If that is what you are implying). Your comment made it seem as if CDDL was a long and hard personal choice made by each developers, and somehow people here are wiling to discount that hard decision.
I worked for 2 big companies and in neither case had a much of a personal choice in picking licenses for the code. As in thinking "hmm, I think this code today will be MIT, maybe tomorrow I'll feel like Public Domain". It is usually the higher ups / company owners / legal department that decides what the license is and the company as an entity owns the code.
Point being ownership of the code is very concentrated with ZFS, and in this case concentrated in the hands of Oracle + a few outside developers and it is just a file system (albeit a cool one). So that is way of the quickest solution to the impasse is for Oracle to re-license the code.
Of course the other fly in the ointment here is that Oracle has some stake in BTRFS -- a competing filesystem. It was project sponsored by them initially and so I think besides being, well, you know Oracle, they could be interested in stiffing adoption of ZFS to avoid competition with their own project.
"There are as many opinions as there are lawyers. You just have to find the one you need."
Apparently Debian got the ok from the Software Freedom Law Center[0], but they distribute it as source only, and the binary is built on the end user's computer (and they consider it then unredistributable). This is different than what Canonical is claiming to do which is to generate the binary themselves.
[0] - https://lists.debian.org/debian-devel-announce/2015/04/msg00...
Well, so could the linux developers by relicensing to MIT. That's not much of an argument.
Additionally, I'd still love to see an actual court case with regards to the GPL here. Licensing is always murky, because almost none of it has been tested directly in the courts. Thus the only legal opinions we have are from people who have a vested interest in the outcome one way or another. Let a court solve it once and for all please. In particular, I'd love to have a 100% lock on whether a binary module that links to the kernel is actually a derivative work or not.
The point here was practical, not moral. Linux, in practice, can't relicense the kernel. Oracle, in practice, can relicense ZFS. Thus the "magic wand" comment.
(Also, as another poster points out, it's possible that all OpenZFS copyright is already assigned to Oracle -- I have no particular knowledge)
> in this context, Oracle could make everyone's life easier by waving their magic relicensing wand.
SF Conservancy is stating that they have grounds and willingness -- though only as a "last resort" -- to tie Canonical, one of Oracle's competitors in the commercial Linux space -- with a lawsuit, but says that Oracle could make everyone's life easier by waving their magical relicensing wand.
Why on Earth would Oracle do that, though? I think the best-case scenario for Oracle here is that SF Conservancy and Canonical fail to resolve their dispute, the former sues the latter, much time and money on both sides is spent in litigation, and ultimately Canonical wins. But even Canonical losing doesn't really seem to hurt Oracle significantly (it may be bad for Linux generally, but even if that somehow hurt Oracle's own Linux business, it probably wouldn't do so significantly in the near term.)
The only wand I see Oracle as likely to wave is their popcorn-making wand.
The majority of the zfs sources are owned by Oracle, one entity. The linux kernel has many copyright owners and it would require the permission of nearly all of them to relicense the kernel. That makes it a different situation.
On the gripping hand it wouldn't actually solve anything because lawyers will continually argue that this case isn't covered by that precedent.
In the US, any federal judge in a court where venue is appropriate for whatever claim is filed. Apply the derived works rule in copyright law is certainly something they are qualified to do.
> B) doesn't have a vested interest in one way or another.
Same answer as above.
> On the gripping hand it wouldn't actually solve anything because lawyers will continually argue that this case isn't covered by that precedent.
While perhaps it will remain unsettled in a particularly strained binary sense in that someone, somewhere will be willing to argue against it -- in that sense, nothing is ever settled -- there is such a thing as fairly settled areas of law covered by fairly clear precedent where actors in the market generally do accept the existence of certain rules without challenging them, because the low probability of success in a challenge isn't worth the cost of challenging the rule. (Pretty much the only places where precedential decisions have only a weak effect on settling things is highly politically salient cases where opponents of the decision have a significant role on the judicial selection process, so a constant flow of cases seeking -- with some hope of success -- to overturn the existing rules are generated. But, even then, it usually requires actors with virtually unlimited supplies of other people's money (such as US states) on the side seeking to overturn the rules to keep up the flow; one place you see this is in the area of abortion rights. But I don't really see a major political party having a key constituency that is as concerned with any position on derived works rules as the "pro-life" movement is on restricting abortion.)
Who really has standing in this case? Maybe Oracle could sue Canonical? Or perhaps a kernel developer could sue Canonical? (although that seems unlikely to me)
And of course lawyers are always going to argue, that's literally their job after all. However, having some actual solid ground here would be helpful since "exceptions" abound, and it's basically "if we like you or we're forced to do because you have market power (nvidia), then it's totally cool". Land on the wrong side of that and you're getting bashed (again note the difference between Canonical distributing zfs vs nvidia's graphics binary).
Not true at all. Most claims of GPL violation are very straightforward.
> Let a court solve it once and for all please.
These licenses are enforceable in hundreds of countries, courts set per-country legal precedence. There's no way a court can solve these issues once and for all.Edit: dwrensha posted a related comment (https://news.ycombinator.com/item?id=11176361) with a YouTube link of Bryan making the statement.
And not even now do we have anyone arguing here that CDDL is not GPL-incompatible, people accept that and Linus refuses to merge any CDDL code in to mainline, what is being discussed here is if ZFS counts as a derivative (and thus has to be GPL compatible) when it runs as a kernel module in Linux kernel space.
The GPL incompatibility was a well known fact before both of those tools were released, and it's frankly unbelievable this point wasn't raised internally at Sun before OpenSolaris walked out the door, given how much public discussion went into the license after it was first announced. The Sun executives knew exactly what they were doing when they chose that specific license for distributing D-Trace and ZFS.
As for OpenSolaris, there were a couple of constraints with respect to the GPL: first, we didn't want to dual license (i.e., GPL + something else), because that was a mess that could lead to a license-based fork -- something we definitely wanted to avoid. Second, there was great concern about simply using the GPL because of exactly the ambiguity that's highlighted here: in 2005, we had many independent hardware vendors that had entirely proprietary Solaris drivers -- it was important to us that those be allowed to stay proprietary. We all liked the BSD license, but we also liked the idea of a weak copyleft -- and in that regard, the license that best captured what we were after was the MPL, despite some (minor) issues too that needed to be cleaned up. In the end, this is what we did (the CDDL is really just a cleaned up MPL) -- but (to be clear, and for what feels like the millionth time) we did it because of what we were trying to do for our own software and community, not because we were somehow trying to punish Linux.
As I've said before, one of my most vivid memories of the whole process was immediately after we launched OpenSolaris, standing in the conference room where we had just hit the carriage return, chatting with Chris Nadan from Sun Legal. We were both wondering aloud how long it would take for DTrace to show up in Linux -- but not from the perspective of license compatibility: we both accepted as a given that Linux would either view the licenses as compatible enough or wouldn't care about any incompatibility (after all, this is years after NVIDIA's binary drivers). Our only discussion was how much members of the Linux community would care about DTrace and how difficult the port would be technically. I remember saying that "maybe it will be two months, and maybe as long as two years." Of course, it was only a month or so later that SystemTap emerged from Red Hat -- and it became clear that Not-Invented-Here Syndrome would prove to be a much stronger force than any technical desire to assimilate DTrace or ZFS into Linux...
Schwartz (or Sun under Schwartz) was not a fan of the GPL. As far as I remember they were hoping that Linux and OpenSolaris would together somehow migrate to an imaginary GPLv3 that never happened.
This is an article on the GPL with SUN
QUOTE: "Schwartz singled out the GPL provision that says source code may be mixed with other code only if the other code also is governed by the GPL. That provision is intended to create a body of software that must remain liberated from proprietary constraints. But Schwartz said that some people he's spoken to dislike it because it precludes them from using open-source software as a foundation for proprietary projects."
Most previous arguments about zfs.ko were about the derived work clause, which is much more grey. I belive that nvidia.ko would be more likely to be ruled a derived work than ZFS.ko, but that's hard to tell.
It does seem silly to argue about ZFS in this context. ZFS is open source and much less offensive to kernel developers than nvidia.ko.[1]
If nvidia.ko is fine, then so is zfs.ko. If nvidia.ko isn't fine, zfs.ko may or may not be fine. Ubuntu has been shipping nvidia.ko for years.
This is the argument the Illumos developers make about including the GPL'ed KVM code, KVM does not depend on Illumos to exist, as such does loading the KVM module into an Illumos kernel constitute a derived work?
Conveniently, this is also precedent that could be set during the VMWare case the SFC is also perusing - we could either see ZFS relegated to being available anywhere but Linux and binary kernel modules totally banned (bad for nVidia, good for AMD), or a total change in the landscape of open source licensing (for better or worse).
This is entirely unlike VMWare, who really did make and ship their own butchered linux distro with big binary blobs planted right in the middle.
Is that true? I thought Ubuntu's support for nvidia.ko involved downloading source code to the local machine and compiling it there, to avoid distributing a GPL violation.
Pure distribution of source with no binaries is undeniably different. When distributing source code and no binaries, requirements in those sections of GPLv2 and CDDLv1 that cover modification and/or binary (or “Executable”, as CDDLv1 calls it) distribution do not activate. Therefore, the analysis is simpler, and we find no specific clause in either license that prohibits source-only redistribution of Linux and ZFS, even on the same distribution media.
(Conservancy mentions the possibility of contributory/indirect infringement, though. Also, proprietary kernel modules written specifically for Linux, or using Linux-specific kernel features, may be GPL violations by virtue of their source code being a derivative work. But in the case of ZFS and several other cases such as OpenAFS and many hardware drivers, the source code is not a derivative work of Linux.)
I believe the key here is the distribution of the resulting combination. Were you to apply these patches after the distribution of Ubuntu, then would this still apply? Asked another way, if Ubuntu sets up a separate package channel that installs ZFS through a downstream patch via apt, would it be in violation of the license?
I really don't see much evidence of this, certainly not from the FSF/SFC, who specifically do not discourage use of free licenses that are GPL-compatible, such as the BSD and MIT licenses[0]. The anti-GPL crowd is much more vocal about their distaste for the GPL, especially on forums like HN.
The issue at hand is the use of a license which is not compatible with the GPL. No matter which way you slice it, that's a massive inconvenience to everyone, and pretty much nobody wins as a result.
(As for relicensing, it is literally impossible to change the license of Linux at this point, because the rights are held by thousands of contributors individually (some of whom are dead, and tracking copyright as it passes across estates is a notoriously difficult task[1]). If there's ever going to be a reconciliation between ZFS and Linux, it would require Oracle to relicense ZFS under any one of the many GPL-compatible licenses.)
[0] They do, incidentally, discourage the use of the terms "BSD license" and "MIT license", arguing that those are ambiguous and should be deprecated in favor of "3-clause BSD license" and "X11 license", respectively. But that has nothing to do with the discussion at hand, which is about the use of the actual licenses themselves and the terms they represent, not the names that people use to call them.
[1] Even figuring out if a given book can be reprinted is prohibitively difficult for publishers, and that's with works that only have one single author.
Sure, Oracle could resolve it by switching to a GPL compatible license, but the problem is not oracle's clearly free software. The problem is GPL forcibly does not allow perfectly fine open source licensed software to be distributed in binary form due to it's copyleft.
> 6. …You may not impose any further restrictions on the recipients' exercise of the rights granted herein.
> 3.4 … You may not offer or impose any terms on any Covered Software in Source Code form that alters or restricts the applicable version of this License
The situation would be exactly the same if, say, Linux were under the CDDL and ZFS were under the 4-clause BSD license, or the OpenSSL license, or Creative Commons, or the MPL 1.0, or whatever. The GPL and the CDDL both have exactly the same "problem" here.
...as is the GPL, which is also written by the FSF. I'm not sure what point you're trying to make by saying this. Many FSF/OSI-approved licenses are not pairwise-compatible with each other. It's not limited to either the GPL or the CDDL.
> but the problem is not oracle's clearly free software.
The problem is as much Oracle as it is Linux. Especially since, as noted in other comments, the CDDL was created specifically to be incompatible with Linux's license.
> The problem is GPL forcibly does not allow perfectly fine open source licensed software to be distributed in binary form due to it's copyleft.
This isn't an accurate description either of the GPL or of the incompatibility at play here.
If the point of the SFC is that those 10 years of non-Oracle/SUN development can be ignored, than on the same basis all the extensions to Linus' code can be ignored as well and he can simply relicense. But that is not something they want to argue, since they rely on ownership transference of some of those parts.
I started donating to them last month; this article makes me wonder if I should retract that. What Canonical is doing isn't really violating the spirit of the distribution of ZFS - fundamentally, what is the difference between 'binary' and 'source + make' in this context? It's still intended to be shared. The article is a legal opinion, it took a fair amount of time to write, and talks about a lot of communication with other parties.
That's literally what the GPL says. Look, I'm not a GPL zealot. The only thing even vaguely worth releasing, I've released 2-clause BSD.
But we can't just pick which bits of a license we feel good about and ignore the bits we don't - that doesn't exactly make a strong case for potential GPL violators to give a shit about copyright.
It's crappy behaviour from Canonical. I think there's another strategic motive here, they know they're stretching things a lot here but perhaps they see this as a catalyst to finally see some movement on ZFS licensing by various parties (or maybe they're acting on VMWare's behalf by sucking energy away from SC's VMWare case)
Also, this is coming on the heels of the big glibc vulnerability. BSD with its greater emphasis on security and less ideologicallyy driven licensing might start to look more interesting to large corporations.
More accurately, some people think it is a GPL violation. There is no clear cut answer. You can get legal "opinions" either way.
My personal view is that it is NOT a GPL violation. This is implied for reading the Linux source code, which explicitly allows for non GPL kernel modules.
From what I see, this is just SFC trying to leverage Oracle to change it's licence manipulating public opinion because ZFS is something the "public" wants.
This is, for example, how Mozilla has been relicensed to MPL 2.0 from earlier versions of the license—which the CDDL is based on, incidentally—even though there are no "any later version" notices anywhere in the headers or other files.
I do symphatize with the sentiment that an author does not want his work to be a source of illicit gains for someone else, etc, neither do I, but at the same time find that the usefulness of a piece of code for other open source developers is (figuratively) inversely proportional to the length of the license, while the real abusers don't give a damn.
https://insights.ubuntu.com/2016/02/18/zfs-licensing-and-lin...
ZFS isn't an acronym. It used to stand for Zettabyte File System (not Z File System as the article states), but like BP (formally British Petroleum), ZFS is no longer an acronym.
I wouldn't normally nitpick over something like this but that statement was the first sentence under the heading "The Basic Facts" and they didn't even get it's former name right.
"But zettabyte wasn't perfect, actually. We (we were a team by now) found that when you call it the zettabyte filesystem, you have to explain what a zettabyte is, and by then the elevator has reached the top floor and all people know is that you're doing large capacity. Which is true, but it's not the main point.
"So we finally decided to unpimp the name back to ZFS, which doesn't stand for anything. It's just a pseudo-acronym that vaguely suggests a way to store files that gets you a lot of points in Scrabble."
The idea is to be able to make snapshots of containers, and use btrfs send / receive to sync those with a backup container host. So if the primary fails, the services can be quickly and easily restarted on the backup container host.
So far, btrfs itself has been the main source of problems.
Out of perhaps unwarranted paranoia, I often configure servers with 3-disk RAID-1 for critical data, so two drives would have to fail before a service interruption or data loss. btrfs doesn't support this... their idea of RAID-1 means that two copies of data exist.
On a 3-drive btrfs RAID-1 array, if two drives fail, you are going to have problems. Rebalancing doesn't run automatically upon disk failure either. As a result, I've just gone back to a 2-drive btrfs RAID-1 config.
I've had a couple problem with sending / receiving snapshots. These were eventually resolved by back-porting the 4.4 btrfs-tools package. The version in Ubuntu 16.04 should be OK for my purposes, so I won't have to worry about that so much soon.
So btrfs may be OK for full production use in 2016, but significant problems exist for people using LTS distributions with older versions of the kernel code and user space tools.
But yeah, I'd like to see people just put effort into btrfs, and add the concept of a volume manager to it (like with mdadm when you create an array from /dev/sda1 and /dev/sdb1, it can be named /dev/md0 and you can refer to that as its own thing).
See here for some details of the ridiculousness:
http://marc.merlins.org/perso/btrfs/post_2014-05-04_Fixing-B...
(Interestingly, they use XFS for /home)
This year alone, its managed to "fully compress" open files to 0 bytes about 2-3 times.
Why anyone uses it for / or at all right now is beyond me. I think Novell is nuts here.
Edit: Wow, I just checked DistroWatch and they've been #4 for some time now...
- What's the difference between zfs and nvidia as binary blobs in the kernel? Either they are both incompatible on principle or they are not.
- If the file system just uses standard kernel file system APIs then isn't it LGPL rather than GPL as per the exported symbols?
- Given that relicencing either ZFS or Linux are prohibitively impractical what exactly is the point of assuming that may happen?
- Who exactly complained about this? AFAIK the software conservancy doesn't have code themselves in the two products
- If it goes to court the GPL may be harmed due to courts not understanding the difference between static and dynamic linking; who wins then?
It seems like the beginning of the mother of nobody wins, and very little upside in any case.
Copyright law is activated by the action of distribution -- you make something, you share it, copyright law checks whether you had permission to share it.
It's legal for someone to distribute you code under one license, and someone else to separately distribute you code under a different license -- it has to be. Once you combine them on your machine, you've created something that would no longer be legal were you to distribute it. But you don't plan to distribute it, and as long as you don't do so, you haven't violated any copyright licenses, because you didn't engage in any acts of distribution for copyright law to have power over.
But the distribution is on you, not the person who gave you the source. The thing they distributed wasn't violating any licenses.
Would it be possible (read: legal) for someone to modify the ZFS source to be more easily buildable into the Linux kernel, but then distribute it as source code only, such that an end user can build a ZFS-enabled Linux kernel on their own?
Surely as long as the end user didn't distribute the resulting kernel, that would be OK?
Edit: I see that this has been done. Thanks. :)
Yes and that has been done. The ZFS on Linux[0] distributes a DKMS source package that each user of ZoL uses to build a binary kernel module. DKMS automatically builds the module without manual interaction from the user, similarly to installing a regular binary package.
This is legal but the resulting kernel/zfs module is non-redistributable.
>This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
So couldn't the FSF fix this by releasing a later version of the GPL that allows for this combination?
https://www.gnu.org/licenses/rms-why-gplv3.html seems to imply that that wouldn't work, but I don't understand why. Can someone with more experience with the GPLs enlighten me?
If he liked the GPLv3 he may have added the line back in, but he hasn't done so for the reason you mentioned.
No, he couldn't have, because all the contributions received for the kernel were licensed GPLv2 without the "or later" clause, and cannot be relicensed to GPLv2 with the "or later" clause. Linux is GPLv2-only forever, essentially.
(It could relicense by stopping accepting contributions licensed without the "or later" clause, and either negotiating with all existing contributors to relicense or waiting for the copyrights to expire, but that's not likely to be practical. It certainly can't be relicensed on Linux or any other one actor's whim.)
The GPLv3 had a long and comprehensive consultation phase. Linux contributors were involved in that.
And there's more than just dislike preventing relicensing - it would require contacting all the current Linux copyright holders and getting their agreement (or removing their code if they decline).
On balance I'd rather Linux remained GPLv2 than relicensed to Apache 2, so this is a good example of the definition of a compromise. :-)
It doesn't work to combine GPL code that way because both GPLv2 and GPLv3 would require the clause thus meaning a new "GPLv2" with that clause that isn't technically GPLv2. Heck I don't know their verbiage enough but they might not even be able to call it that.
However CDDL is not a strong copyleft, but a weak one, so would not require any update for the combination to work.
The real problem is that you would need a new hypothetical GPLv4 (since you wouldn't want to call it GPLv3 even if you could) that includes some verbiage that allows this and then get everything that is GPLv3 that you include to upgrade to this new version. That is a pretty tall order to allow a slightly different copyleft license to exist.
In theory a new GPL version that allows coexistence of licenses could exist but doing that without allowing perverse "copyleft" licenses or specifically calling out some set of copyleft licenses would be really difficult.
GPLv3 has the same language, except with 3 instead of 2. So releasing v4 should allow both v2 and v3 programs to upgrade to v4 without anyone needing to do anything.
What they do is like saying "Hey I want to buy your house, what you don't want to sell it? How about you make it cheaper then so I can afford it!"
0. https://opensource.stackexchange.com/questions/1774/why-does...
Is it a GPL violation to create a separate .deb which includes only the binary kernel module for zfs which can be simply apt-get'd?
Or are canonical planning on including the zfs code in the base 'kernel-blabla' package?
If the latter, why not just have a sep package for the module? I imagine you'll need to install some 'zfs' package to get the userland tools anyway ?
(Actually I think you just need the headers, but those are GPLv2 anyway, so the distinction is irrelevant.)
I'm not well enough traversed in the kernel source to find a direct reference but you see commits like this every now and then:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux....
Having parts of the kernel LGPLed doesn't seem like an unusual or odd thing, from what I can tell:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux....
So of all of those, literally 1 is changing the licence to LGPL.
A better search is https://github.com/torvalds/linux/search?utf8=%E2%9C%93&q=%2..., which reveals 147 results in the code.
This is still tiny, given that the kernel is a ~20 million LOC codebase, so yes, I would call LGPL code in the kernel an unusual thing.
Does Linux allow for a file system to be invoked at run-time using a general-purpose interface? (If not, could one be added?)
If ZFS could be modified to use the general-purpose interface, people who wanted to use it could download it and install it.