News for hackers. Stuff that matters.
Re:The Future of ZFS in FreeBSD by adtac on Wednesday December 19, 2018 @07:58PM (#18721589)
Is there a resource that explains the historical intricacies and licensing issues surrounding ZFS from the beginning? From what I've seen, it's a clusterfuck whichever *nix OS you like.
Re:The Future of ZFS in FreeBSD by chasil on Wednesday December 19, 2018 @09:14PM (#18721972)
As I understand it, including ZFS requires all linked code to be bound by the CDDL, which the GPL cannot do.

https://sfconservancy.org/blog/2016/feb/25/zfs-and-linux/

"[§]3.1 … Any Covered Software that You distribute or otherwise make available in Executable form must also be made available in Source Code form and that Source Code form must be distributed only under the terms of this License. …

"[§] 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."

Re:The Future of ZFS in FreeBSD by p_l on Wednesday December 19, 2018 @11:07PM (#18722426)
It's the opposite way - GPL automatically covers the final product, and does not allow for licenses that have stronger terms than itself.

CDDL is per-file license, does not automatically extend itself to the whole product. But it also has wording about patents et al, which puts it beyond direct inclusion in kernel just like MPL.

Out of tree with one degree of separation (Solaris Porting Layer) is based on the precedent of AFS implementation for linux, where the argument was that the code is not derivative of Linux kernel code, as in no way was VFS unique to linux or any other crucial part involved.

Re:The Future of ZFS in FreeBSD by cyphar on Thursday December 20, 2018 @01:45AM (#18722969)
> CDDL is per-file license, does not automatically extend itself to the whole product. But it also has wording about patents et al, which puts it beyond direct inclusion in kernel just like MPL.

Well, MPLv1 was incompatible with the GPL. MPLv2 has an explicit clause to make it compatible (namely to allow relicensing within limits). I would imagine the lack of "relicensing within limits" would be the key problem with CDDL and GPL -- since CDDL was based on MPLv1.

> Out of tree with one degree of separation (Solaris Porting Layer) is based on the precedent of AFS implementation for linux, where the argument was that the code is not derivative of Linux kernel code, as in no way was VFS unique to linux or any other crucial part involved.

Right, especially since the ZFS source code was developed completely separately to Linux and the SPL is licensed GPL+CDDL. This is the same thing that NVIDIA does with their drivers (they even build their driver binaries on FreeBSD to show that it "couldn't possibly" be a derived work of Linux and have a GPL shim).

Re:The Future of ZFS in FreeBSD by h1d on Thursday December 20, 2018 @12:16AM (#18722676)
But Ubuntu figured it was ok to ship with zfs.

https://blog.ubuntu.com/2016/02/18/zfs-licensing-and-linux

Though FSF doesn't seem to support it.

https://www.fsf.org/licensing/zfs-and-linux

And a few HN posts regarding the Ubuntu's announcement.

https://news.ycombinator.com/item?id=11125063

https://news.ycombinator.com/item?id=11240402

Re:The Future of ZFS in FreeBSD by cyphar on Thursday December 20, 2018 @01:49AM (#18722980)
> But Ubuntu figured it was ok to ship with zfs.

Having spoken to some Canonical folks involved in this discussion, basically it boils down to the fact that the SPL (Solaris Porting Layer, which converts Linux VFS APIs to Solaris ones for ZFS) is GPL licensed and that ZFS was developed entirely separately from Linux (and Torvalds has said he agrees with the latter point). It also helps that ZFS is free software.

Honestly I think their strategy is that it's very unlikely they'll get sued (not to mention the past 5-8 years of OpenZFS development was done without an Oracle CLA). IMHO the FSF is primarily against it because they think it might water down the GPL's effects.

Re:The Future of ZFS in FreeBSD by BurningCycles on Thursday December 20, 2018 @05:44AM (#18723839)
>But Ubuntu figured it was ok to ship with zfs.

Yes, but it's shipped as a separate kernel module (as in separate file) rather than built into the Linux kernel. As for the legality of this, it can really only be determined in court, which hopefully won't happen since I can't think of anyone who would want to prevent Linux from using ZFS now that Sun is gone.

It would be great if it could eventually be part of Linux mainline which would then allow it to easily be used on boot volumes as well. That would require dual/relicensing though, since Linus Torvalds have said that CDDL code will not be merged with mainline (most likey a result of consultation with Linux Foundation lawyers).

Re:The Future of ZFS in FreeBSD by riffraff on Thursday December 20, 2018 @06:04AM (#18723915)
> I can't think of anyone who would want to prevent Linux from using ZFS now that Sun is gone.

Oracle? I doubt they would, but I mean, it's Oracle.

Re:The Future of ZFS in FreeBSD by laumars on Thursday December 20, 2018 @06:33AM (#18724038)
I get you point but Oracle don't really seem all that interested in maximizing Solaris.

The problem we have is Oracle also don't seem at all interested in maximizing ZFS either. So they'd quite happily see both die.

Re:The Future of ZFS in FreeBSD by h1d on Thursday December 20, 2018 @06:44AM (#18724081)
Only until they figure suing others would be worth a grab for them.
Re:The Future of ZFS in FreeBSD by laumars on Thursday December 20, 2018 @08:01AM (#18724520)
That doesn't contradict my statement.

One can be aggressively litigating using ones IP while also letting the technology behind that IP die.

Re:The Future of ZFS in FreeBSD by h1d on Thursday December 20, 2018 @06:48AM (#18724097)
> prevent Linux from using ZFS now that Sun is gone.

Considering btrfs isn't really going anywhere why would they not rather take the effort to relicense zfs than put any effort on btrfs if they have no bad intention with zfs?

Fixing zfs' situation surely can buy some mindshare for Oracle.

Re:The Future of ZFS in FreeBSD by ggm on Wednesday December 19, 2018 @10:07PM (#18722189)
Definitely feels like it. OSX had its "we're onboard with ZFS" moment which vanished. I am believing this was a licence fubar.
Re:The Future of ZFS in FreeBSD by MBCook on Wednesday December 19, 2018 @10:27PM (#18722259)
I doubt it would have gotten announced w/o the approval of their giant army of lawyers.
Re:The Future of ZFS in FreeBSD by p_l on Wednesday December 19, 2018 @11:08PM (#18722429)
Apple AFAIK started work with Sun in charge - it was Oracle getting its hands on Solaris tech that had Apple pull out.
Re:The Future of ZFS in FreeBSD by ggm on Thursday December 20, 2018 @12:21AM (#18722691)
Because Lawyers? or because nobody like Larry?
Re:The Future of ZFS in FreeBSD by p_l on Thursday December 20, 2018 @09:38AM (#18725215)
Why not both?
Re:The Future of ZFS in FreeBSD by h1d on Thursday December 20, 2018 @12:26AM (#18722710)
Or they just figured they wanted a file system that also works on mobile devices (apfs even works on watchOS) with limited memory.
Re:The Future of ZFS in FreeBSD by zapzupnz on Thursday December 20, 2018 @01:40AM (#18722948)
I could wear the ZFS thing was from so long ago that APFS wouldn't even have been a glimmer in an Apple engineer's eye. 10.5 or 10.6?
Re:The Future of ZFS in FreeBSD by gsnedders on Thursday December 20, 2018 @05:27AM (#18723786)
Yeah, there was a period between ZFS not happening and APFS really starting, as far as one can tell.