r/hardware • • Jan 10 '20

News Linus Torvalds: Avoid Oracle's ZFS kernel code on Linux until 'litigious' Larry signs off | ZDNet

https://www.zdnet.com/article/linus-torvalds-avoid-oracles-zfs-kernel-code-on-linux-until-litigious-larry-signs-off/
211 Upvotes

165 comments sorted by

36

u/jdrch Jan 11 '20

Friendly reminder that the CDDL - under which ZFS had been originally open sourced - is compatible with the BSD license, which means you can use ZFS on FreeBSD and its derivatives without worry. Ironically, even as OpenZFS and ZoL development effectively merge, this will continue to be the case. From a potential litigation perspective, its safer to use ZFS on Linux on FreeBSD than it is to use it on Linux. Fun times we live in.

2

u/Ornias1993 Jan 11 '20

It funny indeed:
GPL is not the "best" licence if you want to prevent future licencing disputes. BSD give you a LOT les headache from a legal point of view. But the trade is you need to be willing to accept others basing their own work on yours without sharing back.

They both have significant downsides, but at least BSD is a licence that is inherently compatible with Kernel code and GPL DEFINATELY is not meant for kernel work (LGPL is though)

5

u/jdrch Jan 12 '20

GPL DEFINATELY is not

*GPL 2.0. It was intended to prevent folks from adding proprietary extensions to the kernel, which could have resulted in fragmentation. One of the reasons Linux won the server space is the no matter what distro you're on the kernel is the same (assuming equal version number.) That wouldn't have happened with proprietary extensions.

BSD license is easier to deal with, but there's no binary compatibility among BSDs. Unlike Linux, if you want to switch to another BSD you're in trouble from an applications perspective. And even then, by sheer package count one might as well assume only 1 truly viable BSD exists: FreeBSD. If that doesn't work for you, it's a wrap.

2

u/Ornias1993 Jan 12 '20

Good point, GPLv3 actually has some more safeguards against disputes and allows slightly more use due to changed wording of certain sections.

I don't believe in the inherent fear of proprietary extensions, as does Linus when it suits him as he even allowed the Nvidia driver extention after an agreement was reached (which would formally still be a breach of GPL, as Linus has no actual legal ground to allow anything going byond GPL permissiveness).

The rest bsd being not binary compatible is (partly) true indeed. But that is not due to bsd itself, but more due to different design philosophies. For example same could happen if the Linux kernel team split and got forked and on the other hand having one uber-compatible kernel is very well possible under BSD licence.

3

u/jdrch Jan 12 '20

Linus has no actual legal ground

Linus was perhaps 2nd only to Richard Stallman in terms of FLOSS political power until Stallman had that Epstein incident. Torvalds is now #1. I don't think anyone in the ecosystem would try him in court ... even if they won the victory would be Pyrrhic as the political fallout would be significant.

But that is not due to bsd itself, but more due to different design philosophies.

Yes. But the differences still exist, regardless of the reason.

For example same could happen if the Linux kernel team split and got forked

I think that's one of the things folks are trying hard to avoid. The license is intended to make forks that don't comply with it legally impossible.

having one uber-compatible kernel is very well possible under BSD licence.

Yep. That's approximately what Illumos does. But license != code. The code for that kernel would have to come from somewhere. I don't think the resources exist in the FLOSS world for a cleansheet kernel competitive with the incumbents. Especially with the millions of man-hours put into the latter over the decades.

Google's Fuchsia project is probably the closest thing to that, but it can't use Linux kernel drivers. FreeBSD drivers aren't a real solution either as they're mostly enterprise desktop and server oriented.

21

u/BillyDSquillions Jan 11 '20

Linus isn't wrong in regards to litigiousness, Oracle are famous for it. Check the sysadmin Reddit, full of hate for them, universally

-1

u/Ornias1993 Jan 11 '20

The thing is:
It isn't oracle that requires someone to break a licence agreement.
Oracle actually even allows closed source adaptations to be made from ZFS and never sued about it. They are actually pretty sure about ZFS (Still a horse shit company in general though)

Linux their "GPLv2" is the problem here:
It requires modules to ALWAYS be GPL, that means they basically require others (in this case Oracle) to change the licence to be compatible with theirs... which is fine, but the blame they put on Oracle is a bit misplaced.

Ironically if linus merged ZFS, he would be more in violation with his own licence than the CDDL.

Don't get me wrong, CDDL and GPL both have their place. It's just that one-way hate isn't warranted.

29

u/grahamperrin Jan 11 '20

https://www.realworldtech.com/forum/?threadid=189711&curpostid=189841

… ZFS … as far as I can tell, it has no real maintenance behind it either any more, …

As far as he could tell. Ahem. A jaw-dropping lack of perception (like, https://github.com/zfsonlinux/zfs/pull/9582 nothing really happening here, either).

Thankfully, John Scott told Linus Torvalds a little more ▶ http://open-zfs.org/wiki/OpenZFS_Developer_Summit

1

u/narwi Jan 13 '20

This is Linus. He says shit like it not because he doesn't know but because its the least mean way he can shittalk about other people.

1

u/jdrch Jan 11 '20

ZFS … as far as I can tell, it has no real maintenance behind it either any more

That statement shows how narrow domain expertise often is. Imagine the world's greatest kernel dev apparently has no clue about the world's most widely deployed (I have no data behind this, I admit) CoW filesystem.

6

u/PubliusPontifex Jan 11 '20

That statement shows how narrow domain expertise often is. Imagine the world's greatest kernel dev apparently has no clue about the world's most widely deployed (I have no data behind this, I admit) CoW filesystem.

So, imma let you finish talking about domain knowledge, but I just gotta say btrfs is the most deployed cow fs OF ALL TIME!!!

2

u/jdrch Jan 11 '20

but I just gotta say btrfs is the most deployed cow fs OF ALL TIME!!!

Via inclusion in the kernel? You're hilarious. And correct LOL.

6

u/PubliusPontifex Jan 11 '20

Inclusion and being considered default for root on opensuse and several other distros.

I honestly couldn't give a shit, but ACKSHUALLY!!!

1

u/jdrch Jan 11 '20

Hahaha I'm always happy to learn something new.

1

u/Ornias1993 Jan 11 '20

considered

Doesn't mean deployed.

0

u/PubliusPontifex Jan 11 '20

Default for opensuse is pretty big, that's going to be fairly heavy deployment.

1

u/Ornias1993 Jan 11 '20

Going to be and considered, are both not current deployment ;)

1

u/PubliusPontifex Jan 11 '20

OPENSUSE, not sles, btrfs is deployed default on opensuse leap and I think the other one too.

1

u/Ornias1993 Jan 12 '20

Ahh, so it IS actually deployed... got to know :)

I'm not that well versed into the SUSE ecosystem tbh.

1

u/mekosmowski Jan 11 '20

Including BSDs and Illumoses?

1

u/PubliusPontifex Jan 11 '20

It's not in all embedded bsds, and there are probably more desktop distros deployed than illumos's.

1

u/grahamperrin Jan 11 '20

btrfs

I'm genuininely ignorant:

  • around how many distros boot from Btrfs by default?

I spent a few minutes Googling, couldn't find one.

Found this from November 2018:

– and this, published yesterday:

From the latter:

7.3 System Rollback by Booting from Snapshots

The GRUB 2 version included on SUSE Linux Enterprise Server can boot from Btrfs snapshots. Together with Snapper's rollback feature, this allows to recover a misconfigured system. …

2

u/PubliusPontifex Jan 11 '20

Didn't know about ReactOS (always loved it), but suse is the big one. Outside of the US it's pretty serious.

1

u/grahamperrin Jan 12 '20 edited Jan 12 '20

SUSE boots from Btrfs by default? Ah, OK:

… By default, the root partition (/) of SUSE Linux Enterprise Server is formattedwith Btrfs. …

ReactOS has the capability, but AFAICT it's not a default.

1

u/PubliusPontifex Jan 12 '20

It formats root as btrfs by default. Might be the only one though.

Used btrfs as default for years with gentoo (miss old reiser before he started killing), suse apparently decided to jump too.

1

u/grahamperrin Jan 12 '20

Thanks

Boot from ZFS by default:

In #zfson freenode, someone offered this additional shortlist:

  • OmniOS

  • OpenIndiana

  • SmartOS

  • Solaris

  • v9os

1

u/Ornias1993 Jan 11 '20

it being on a disk, does not make it deployed ;)

3

u/[deleted] Jan 11 '20

Wouldn't apfs be the most widely deployed copy-on-write filesystem? It's on all not-too-old Macs and iDevices. Or is there some fundamental technical distinction?

1

u/jdrch Jan 12 '20

Wouldn't apfs be the most widely deployed copy-on-write filesystem

I guess that depends on whether "deployed" means "included in the OS" or "actually in use." Good point, though. I often forget about macOS because I find Macs a poor value for money and don't use them.

2

u/[deleted] Jan 12 '20

All iOS devices were converted to apfs sometime around iOS 10, and all new Macs have used it for a couple of years.

0

u/[deleted] Jan 11 '20

[deleted]

8

u/grahamperrin Jan 11 '20

… when Linus talks ZFS, he means the Oracle version and not OpenZFS, which is what would actually be implied …

Years ago, a few people questioned the need for a distinction between ZFS and OpenZFS. (I did understand the need.)

In other situations there might be the possibility of Torvalds assuming Oracle but in this situation, there's no excuse:

  • ZFS on Linux (ZoL, not Oracle ZFS) was explicit within the discussion.

From https://www.realworldtech.com/forum/?threadid=189711&curpostid=189840:

… I have a question about a recent kernel change that broke an important 3rd party module: zfs. I don't want absolutely to flame, and feel free to not reply if think so.

Recently, an important kernel fpu symbol was declared GPL-only, causing significant issue for ZoL project.

How do you feel about? Can you speak about the motivation behind this decision. …

From the ZFS on Linux home page https://zfsonlinux.org/ it's unmistakably clear that the code is maintained.

The "no real maintenance behind it" comment from Torvalds was wildly inaccurate.

1

u/Ornias1993 Jan 11 '20

From the ZFS on Linux home page https://zfsonlinux.org/ it's unmistakably clear that the code is maintained.

Which is funny because that website is actually the part of the project that one could call "badly maintained" :P

1

u/grahamperrin Jan 12 '20

one could call "badly maintained" :P

It's sparse (not a bad thing), but is it outdated?

1

u/Ornias1993 Jan 12 '20

Certainly not a bad thing.
But for example the roadmap button points to something that has not been used for ages (the github milestone tab) and no one actually cares to push a fix for it :')

Also because it's more worthwhile to change these things after the ZoL->OpenZFS movement and change verything at one I think. But still, I think we can call that button still pointing to an outdated resource for months now fairly "badly maintained" certainly considering how sparse it is already ;)

1

u/grahamperrin Jan 12 '20

1

u/Ornias1993 Jan 12 '20

I think the fact even the assignee doesn't care enough to actually push a fix is telling enough ;)

And actually project management isn't Matt's to decide himself so I don;t really get why mr. Laager assigned him to be honest... xD

1

u/grahamperrin Jan 12 '20

I don;t really get why mr. Laager assigned him

Matt Ahrens was one of the two original authors of ZFS. I think he can be trusted to prioritise things and keep people in the loop.

1

u/Ornias1993 Jan 12 '20

I know who Matt is. Just stating the fact that the thread doesn't specify the assignment, thats all.

15

u/IronManMark20 Jan 10 '20

It isn't Oracle's ZFS code anymore. ZFS on Linux is a fork of the code Oracle's ZFS was released as when it was open source. I don't know if it is legal to link ZoL into the kernel, but Linus has previously said that he has no problem with the Nvidia binary blob which isn't even open source linked into the kernel. So I don't understand what he is talking about.

I definitely understand the Oracle hate cause they are ambulance chasers as a service, but I think Linus is just wrong here.

Also in the original email he talks about how zfs is slow, which misses the point that it isn't built for speed. I'm rather disappointed in his response and I wouldn't pay it much mind.

48

u/Tvenlond Jan 10 '20 edited Jan 10 '20

said that he has no problem with the Nvidia binary blob which isn't even open source linked into the kernel. So I don't understand what he is talking about.

That conflates two separate issues.

The Nvidia issue is open source, or the lack thereof. The Oracle issue regards intellectual property rights.

Nvidia has presumably signed legally binding documents that allow their binary blob be distributed in Linux. In doing so, ruling out any realistic possibility that Nvidia could litigate for IP violations due to the use of that binary blob.

Linus is simply asking for Oracle to do the same.

38

u/capn_hector Jan 10 '20 edited Jan 11 '20

Oracle still holds copyright over most of the OpenZFS codebase, although not all of it. If the kernel project violated the license by combining CDDL with the incompatible GPLv2 kernel code and then distributing the result, Oracle could come after them.

Open source doesn't mean that nobody owns the copyright, it just means the copyright owner has agreed to license it under a particular set of conditions. You violate those conditions, for code that Oracle wrote, their lawyers will come knocking.

Hypothetically, if you identified and rewrote all of the code that Sun/Oracle contributed, complete 100% code turnover, then Oracle would not have a cause for action. Not that they couldn't try anyway, see: Oracle v. Google, now at the supreme court.

OpenZFS as it exists today still relies heavily on (CDDL licensed) Oracle-owned code, however.

That said, yes, Linus is off base on the practical objections, ZoL is actively maintained and performance is perfectly reasonable given what it does and what the alternative choices don't do. There is really no alternative that can be seriously recommended at this time.

5

u/minid33 Jan 11 '20

Clean rooming will not stop an IP infringement claim

2

u/capn_hector Jan 11 '20

and a "identify and rewrite" is a hard one to argue as being a clean room thing anyway. Oracle has sued over using their API, you think they're not going to sue over people recoding their functions to remove the lines oracle wrote?

basically to do this you'd have to write a whitepaper, then having someone else re-implement it, and Oracle is still going to sue regardless.

1

u/Ornias1993 Jan 11 '20

OpenZFS as it exists today still relies heavily on (CDDL licensed) Oracle-owned code, however.

Do you have evidence (a comparison of somesort) how much the the current codebase is Oracle owned code? have been asking myself for quite some time.

1

u/jdrch Jan 11 '20

really no alternative

Btrfs works just fine for mirrors. I know this because I use it on Debian. There's also (single node, if you need just one machine) Ceph.

0

u/[deleted] Jan 11 '20

[deleted]

4

u/capn_hector Jan 11 '20

sorry, fixed

1

u/grahamperrin Jan 11 '20

👍 thank you

0

u/[deleted] Jan 10 '20

[deleted]

5

u/sljappswanz Jan 10 '20

6

u/jdrch Jan 11 '20

CoW filesystems are slower than journaling filesystems almost by definition.

0

u/[deleted] Jan 10 '20

[deleted]

12

u/capn_hector Jan 10 '20 edited Jan 11 '20

Sure it relies on Oracle copyright, but they haven't sued yet

(a) oh boy that's not something you would ever want to bet on with oracle. "Maybe they won't sue?" Hahahaha.

(b) as a project, the Linux kernel guys have to make one standard policy for everything. GPLv2 and CDDL are not compatible, in their lawyers' opinions. It doesn't matter how cool the feature is, they can't do it. You the user can, but you can't distribute it.

(c) back to point (a), out of all the companies you might ever conceivably stretch the rules for, Oracle would be the actual literal bottom of my list.

statute of limitations

statute of limitations would only start ticking once you stop distributing the code.

1

u/IronManMark20 Jan 10 '20

Maybe they won't sue? Hahahaha.

That isn't at all what I'm saying.

statute of limitations would only start ticking once you stop distributing the code.

Ah apparently the Supreme court nerfed laches, fun.

4

u/jdrch Jan 11 '20

they haven't sued yet

poof I am the Genie of Risk Management. I appear when people apparently have no concept of what that is ;)

2

u/IronManMark20 Jan 11 '20

I was wrong about the law, apparently the supreme court killed copyright laches. Cheers mate.

2

u/jdrch Jan 11 '20

Appreciate the admission. It's rare on here.

4

u/[deleted] Jan 10 '20 edited Jan 24 '26

[removed] — view removed comment

6

u/capn_hector Jan 10 '20 edited Jan 10 '20

I just looked and didn't find any reference, so I don't think so. A CDDL purge would basically be a clean-sheet rewrite of ZFS at this point. It's pretty much not possible, I just presented it as a hypothetical.

3

u/[deleted] Jan 10 '20 edited Jan 24 '26

[removed] — view removed comment

20

u/capn_hector Jan 10 '20 edited Jan 10 '20

Very very close to zero chance. it's not absolutely, completely impossible, but it would go against the entire corporate culture of Oracle to do something like that.

"Do not fall into the trap of anthropomorphizing Larry Ellison. Think of Larry Ellison the way you think of a lawn mower. You don't antropomorphize your lawn mower. Your lawn mower just mows the lawn. You stick your hand in there, it'll chop it off, the end. You don't think "oh the lawn hates me!" the lawn mower doesn't give a shit about you. Your lawn mower can't hate you. Don't anthropomorphize the lawn mower. Don't fall into that trap about Oracle."

https://youtu.be/-zRN7XLCRhc?t=1981

(in reference to Oracle and open source.)

Oracle doesn't hate open source, it is just not something that would ever enter their corporate mindset unless it gave them some advantage to doing so. Oracle as a company is a very finely-tuned machine for extracting the maximum amount of cash from their hostages (sorry, "customers") and nothing more, nothing less. That's all they exist to do, is to buy Larry Ellison a bigger yacht.

To quote Cantrill again:

What you think of Oracle is even truer than you think it is. There has existed no entity in human history with less complexity or nuance to it than Oracle. ... this company is about one man, his alter ego, and what he wants to inflict on humanity, that's it.

Watch like five minutes or so if you have time, Cantrill is hilarious.

I would advise any business to stay far away from anything they produce. If you do use their stuff, be damned sure you stay exactly within the lines of their licensing because if you step one toe over their legal team will be all over you. There's all kinds of stories from people who didn't quite understand the licensing scheme for Oracle DB right and ended up with a massive (possibly company-ending) bill. They deliberately make it that way and then tap you for all you're worth. Another example, Virtualbox is free (CDDL licensed) but the extension pack is not... and the dialog doesn't say that. And migrating off their products is an ordeal once you're on them...

3

u/grahamperrin Jan 11 '20

Hilarious. Thanks. Lawn mowers …

2

u/Ornias1993 Jan 11 '20

Uhmm...
It's still Linux that forces others to use their licence if they want to be included and puts restrictions on use of said code.

In general CDDL is a more "free" licence. It's more some sort of reverse hostage situation where the hostage taker requires you to conform to his norm to be taken hostage.

Not fully true, but as much as Oracle is against making their code GPL compatible, Linus is also against doing anything outside GPL when it comes to his kernel. It's just some sort of bitchfight basically.

1

u/IrthenMagor Jan 13 '20 edited Jan 14 '20

as much as Oracle is against making their code GPL compatible

CDDL (the license applied to zfs) predates the Oracle acquisition. Post-acquisition, Oracle just publicly ignored OpenSolaris, and effectively shut it down.

Edit: I also said above: "I'm not sure if Oracle has ever open sourced anything. The lawnmower pattern does not match that, really." I checked now, and I deed, Oracle has indeed open sourced several things, including GraalVM, which does look interesting.

1

u/Ornias1993 Jan 13 '20

It's funny to see how far GPL-propaganda has reached...

When you consider the list of Oracle made or sponsored OpenSource projects. Including... btrfs...

https://oss.oracle.com/

1

u/jdrch Jan 11 '20

if you step one toe over their legal team

Folks seem to deploy Illumos without worry, FWIW. Then again that's an OpenSolaris fork, but OpenIndiana - for example - is so similar to (closed source) Solaris you can use 99% of the documentation for the latter on the former.

4

u/capn_hector Jan 11 '20 edited Jan 11 '20

Illumos is BSD-licensed. BSD is compatible with CDDL license, so this is fine.

Use FreeBSD or Illumos or OpenSolaris to your heart's content.

GPL is not compatible with CDDL. ZFS can't be distributed with Linux.

2

u/Ornias1993 Jan 11 '20

GPL is not compatible with CDDL. ZFS can't be distributed with Linux.

This is indeed the best TL:DR you can give.

cant be DISTRIBUTED, thats the main problem the rest is just Linus being Linus.

1

u/jdrch Jan 11 '20

Illumos is BSD-licensed

& CDDL & MIT.

100% correct and in agreement with the rest.

4

u/capn_hector Jan 11 '20

BSD specifically is important because ZFS is combined with a lot of BSD licensed code in FreeBSD, which is how most people access the decaying remains of the OpenSolaris codebase/ecosystem.

OpenIndiana or most of the Illumos derivatives are not widely deployed. Nexenta and Joyent have interesting niches on the OpenSolaris branch of the family tree though.

A couple big-name corporations deploy FreeBSD in storage appliance or network service roles. That is, tbh, the most relevant legacy of the Unix codebase. Maybe OpenBSD for some security minded folks or edge systems. NetBSD used to be more of a thing but it's died over the last 10 years iirc.

Don't read this as me shitting on Unix at all. I tried FreeBSD and found the kernel/app config to be a very straightforward sysvinit type thing, Ports to be pretty fucking nifty and push button experience compared to my linux experiences of trying to compile code, and the userland to be different but well documented. Like, it's obvious that a shitload of engineering work has gone into the BSDs, everyone has asked all the relevant questions which have been distilled into the documentation, and they have a kernel boundary that is stable, reliable, and polished over close to 50 years of development. It's certainly an interesting experience compared to the Linux world.

Wouldn't be my choice for active development probably, but in appserver or database or file storage type roles? Pretty much just works.

→ More replies (0)

3

u/jdrch Jan 11 '20

ever a world where oracle changes the license to their code

They're the ones that pulled Solaris back from the CDDL to being closed source ... you have a better chance of seeing an open source NT kernel.

3

u/[deleted] Jan 11 '20

[removed] — view removed comment

1

u/jdrch Jan 11 '20

Never say never

I'm saying "Never." Reason being that:

  1. One of the advantages of closed sources is it shifts the burden of functionality to the developer from the user (open source basically says that if something doesn't work for you you can fix it yourself.) This has significant implications for liability, risk management, and - most importantly - the ability to avoid being fired when something doesn't work. If it's open source, it's your fault. If it's closed source, you can blame the vendor

  2. Microsoft now ships its own Linux kernel

Microsoft under Nadella realizes that the future is open or closed source, but both. 1) and 2) above allow them to sell to both closed source and open source oriented customers. This puts them on equal footing with Oracle and IBM, who have both open source (Linux) and closed source (Solaris and z/OS|AIX, respectively) offerings. Perhaps most importantly, neither Google nor Amazon can match that because they don't have their own closed source OS.

Windows might no longer be Microsoft's biggest cash cow, but it's certainly a central pillar of their business.

-1

u/capn_hector Jan 11 '20 edited Jan 11 '20

I'm saying "Never." Reason being that:

They already open-sourced DotNetCore. They already integrated Ubuntu Subsystem For Windows. Microsoft is making a lot of historically unusual moves that indicate an understanding of the nature of their competitors. Nadella is a major shift in company policy, she understands how fucked they are.

Linux is a way better server ecosystem, windows can't be managed by command line in bulk or whatever. Why the fuck would you build out anything more than you absolutely need to in windows? Why can't your Windows OS instances be reduced to linux servers, and then we can just run some Citrix instances for the users?

Microsoft knows the score. If you want to look at it like that, they are turning into a unix. "Unix Subsystem for Windows"... or is Windows just a userland?

Haha, chaos option, Microsoft goes dual license commercial open source. It's not going to happen, but it would be funny.

Windows might no longer be Microsoft's biggest cash cow, but it's certainly a central pillar of their business.

Continuous updates are a better model (hi OS X 10.42/1) and nobody really pays for a retail license except for the government/military and business (i.e. the clients that can afford it).

Telemetry is an important part of this. Sending those crash dumps to microsoft and hardware vendors makes a difference on the crashes that happen to your own hardware.

3

u/Thotaz Jan 11 '20

windows can't be managed by command line in bulk or whatever.

That's complete BS. Windows has Powershell which has 2000+ built-in functions/cmdlets for managing the OS and common data structures. Want to change something that doesn't have a built-in cmdlet? You can probably do it through a simple registry change or WMI method. Want to change something even more obscure? Then there's probably a .net method or you could run unmanaged code with P/Invoke: https://docs.microsoft.com/en-us/dotnet/standard/native-interop/pinvoke

Even before Powershell Windows had pretty good coverage with old command line programs like ipconfig, net, schtasks, etc. for common server tasks, most of which had built-in remote support.

1

u/jdrch Jan 11 '20

windows can't be managed by command line in bulk or whatever

Linux also doesn't have Group Policy. Or service management that's as easy as Windows. Or Microsoft 365 integration. I could go on ...

how fucked they are.

If "fucked" means trillion dollar company ... OK.

unix. "Unix Subsystem for Windows"

The only practical way to get Unix on Windows would be to do an Illumos subsystem (or use AIX or Solaris, but that's definitely not happening.) Linux and BSD are NOT Unix.

Why the fuck would you build out anything more than you absolutely need to in windows?

Assuming I had the money, why wouldn't I? It's dead easy to use, well documented, widely supported, and Storage Spaces Direct makes ZFS and Btrfs look like sad jokes. It's also better explained than Ceph, which was developed for a PhD dissertation and whose documentation reads like you need a similar degree to set it up.

As I said elsewhere, I quite literally run Windows 10, OpenIndiana, FreeBSD, and several Linux distros. Each have their ups and downs. There's definitely a very strong business use case for closed source Windows. Microsoft now ships their own Linux kernel so that means they can sell to BOTH closed source and open source shops. Open sourcing Windows would mean they can sell to open source shops only.

It's about business, not purely technology and license fundamentalism.

→ More replies (0)

2

u/[deleted] Jan 11 '20 edited Jan 24 '26

[removed] — view removed comment

6

u/jdrch Jan 11 '20

death sentence for solaris zfs

Oracle effectively killed Solaris in 2017 by laying off all the developers, so there's that. Sad times in Real UNIX Land.

5

u/capn_hector Jan 11 '20 edited Jan 11 '20

for a little perspective on the way Oracle does business:

they laid off the entire Solaris team by robo-voicemail.

cc /u/risho

edit: added link

2

u/jdrch Jan 11 '20

they laid off the entire Solaris team by robo-voicemail.

Really? Link? I mean, I've been laid off via conference call before 😅

→ More replies (0)

1

u/[deleted] Jan 11 '20 edited Jan 24 '26

[removed] — view removed comment

1

u/jdrch Jan 11 '20

BSDs are open source UNIX derivatives, but are neither UNIX nor Unix.

→ More replies (0)

1

u/jdrch Jan 11 '20

code that is contributed to openzfs (as in the independent patches, the non-oracle code) is dual licensed cddl and another license in the case that they want to try to remove the cddl code at some point in the future?

One license covers all the code in atomic software projects. This means either all the ZFS code is CDDL, or none of it is. Mixed license code isn't legally recognized.

1

u/[deleted] Jan 11 '20 edited Jan 24 '26

[removed] — view removed comment

3

u/jdrch Jan 11 '20

license your patches under the bsd license

This would definitely ensure exclusion from the Linux kernel. At least you can argue the CDDL is a gray area because the product it was created for is now closed source and will be dead in 2034. But BSD and GPL literally do not mix.

atomic software projects

Projects that don't have any subprojects. Sorry for the confusion.

dual licensing happens all over the place doesn't it?

Typically the open and closed source bits are available separately and the open source code is fully functional without the closed source part. This would not be the case with open source ZFS. It also runs the risk of fragmenting the ZFS install base, which they're already working to fix by merging OpenZFS & ZoL dev.

2

u/[deleted] Jan 11 '20 edited Jan 24 '26

[removed] — view removed comment

2

u/jdrch Jan 11 '20

well the 2 clause bsd is compatible with gpl right?

Depends on which GPL version. 2.0: No. 3.0: Maybe? I'm not sure.

Existing ZFS devs might not be willing to make a license change that only benefits Linux, and they don't want to risk the project fracturing from people forking differently licensed parts.

is it impossible for non-gpl licensed code to be added to the kernel(assuming it's gpl compatible)

Not without a special agreement on paper with the people who wrote the non-GPL code.

can't permissive licenses be relicensed

No. You can't "relicense" code you didn't write yourself.

license their patches as gpl before adding them to zfs

Not possible, because ZFS is shipped as a single product. Not an open source product with a different license add-on. Also, this risks fragmentation (see above.) Also, patches are alterations to existing code. You can't add to a codebase or alter a codebase without your addition or alteration falling under that codebase's license.

if they went through and started rewriting parts of zfs

I'm not sure you realize how much work would be involved with that. And as I said, since ZoL and OpenZFS are merging a top-to-bottom rewrite that affects ZoL only is off the table.

all of the parts that were rewritten could be isolated and gpl'ed without disrupting openzfs itself. stuff would just slowly get replaced over time.

All the rewritten parts would have to ship separately from the original code, which is very very bad.

naive

You said it ;) You probably need to read more about how open source software licensing works. It basically boils down to pre-3.0 GPL being an "extremist" (tongue-in-cheek) license that doesn't play well with non-GPL things. GPL advocates will tell you that this a feature and not a bug: it forces developers to open source their code if they want it to be part of the Linux kernel or a Linux kernel module. However it also keeps a lot of good stuff out of the Linux kernel, such as ZFS.

It is what it is. The fact is, as I pointed out elsewhere, there are 3 other OS kernels that support ZFS just fine: Solaris, FreeBSD, and Illumos.

3

u/[deleted] Jan 11 '20 edited Jan 24 '26

[removed] — view removed comment

1

u/jdrch Jan 11 '20

subvert the actual copyrighted data

Subverting copyright is a DMCA violation. Good luck with that.

I like learning though so I like asking questions to get a better understanding

Good stuff, my man.

1

u/Ornias1993 Jan 11 '20

Actually some parts of the code already are dual licence GPL/BSD :)
Primarily some third party modules.

But the main code is still CDDL.

12

u/PlayingTheWrongGame Jan 10 '20

Since when has lack of standing ever stopped Litigious Larry before? Vague IP threats is the tech industry version of SLAPP suits.

6

u/jdrch Jan 11 '20

when it was open source

Under the CDDL, which is incompatible with the GPL.

I'm rather disappointed in his response and I wouldn't pay it much mind.

True, but Linus is by far the most powerful voice in Linux. Even if what he said is wrong, unless he retracts it this will do serious damage to the prospect of future enterprise ZoL deployments. No one is gonna wanna risk their career by deploying ZoL because if it fails a detractor (or management) could easily point to Linus' words and say the system architect should've known better. "You just cost us $2M and our data. Pack your stuff and get out."

I'm not sure if Linus is aware of the serious political damage he just dealt the project.

2

u/Ornias1993 Jan 12 '20

Enterprise IT has changed a lot past decades.
Current day often the job of the IT department is more akin to a contractor-finder, aka they need to vet which pre-build solution is the best and present that to management.

In general Management is not asking which kernel something runs on when IT comes up with "We suggest ordering this Nexenta/Netapp system".

1

u/jdrch Jan 12 '20

Facts. Just that when things go horribly wrong and Root Cause Corrective Action and similar post-mortem processes are performed, someone might conclude that ZoL on Linux is actually a unsupported config by Linux. This would put whoever made the call on that in pretty bad light.

Anyway I agree with what you said, just showing the other side of the coin.

2

u/Ornias1993 Jan 12 '20

True, but thats why most enterprise projects are delegated to other companies. So they can put that blame outside of their own people.

Actually pretty smart legally speaking. But not much fun for the IT folks themselves at times...

1

u/IronManMark20 Jan 11 '20

Under the CDDL, which is incompatible with the GPL.

I dunno, Ubuntu is going to be shipping ZoL in a future release, I guess we will find out!

3

u/jdrch Jan 11 '20

shipping ZoL

It's been in their repos for a while now. The difference is they'll be offering it as a root filesytem option.

The problem for them is Linus' statements indicate Oracle might be quite successful suing Canonical for shipping it with Ubuntu Server and calling him as a witness. Because if Linus says that in court Canonical will lose. Catastrophically.

This was a pretty politically and legally disastrous day for ZoL. No way around it.

If you're an enterprise who wants ZFS for the very long term, FreeBSD and Illumos are your best options.

2

u/IronManMark20 Jan 11 '20 edited Jan 11 '20

Oh I know its been in their repos, I use it myself :P

What I meant was that it would be in their installer AIUI, which it hasn't been until now.

The part I don't understand is how ZoL was a government funded project that is/was used by LLNL. Having worked at a different national lab, they must have had a lawyer look at this at some point.

EDIT: also there is this rather inconsistent quote from Linux himself:

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.

EDIT 2:

Also, while I'm on a train and have time to kill, I found this view by the Software Freedom Law Center quite interesting: https://www.softwarefreedom.org/resources/2016/linux-kernel-cddl.html

1

u/jdrch Jan 11 '20

they must have had a lawyer look at this at some point.

Lawsuits tend to come from commercial use. Up to now, everyone involved with ZoL has been able to claim it's a separate project from Linux that's just compatible with it. But now:

  1. Canonical might ship it by default with Ubuntu Server. That's automatic commercial use

  2. Linus - whom any court would recognize as the leading Linux expert - basically told the world ZoL's license issues make it incompatible

The combination of both of the above is both new and legally toxic. The previous state of things wasn't.

2

u/IronManMark20 Jan 11 '20

Makes sense.

2

u/grahamperrin Jan 11 '20

commercial use

Worth noting, the range of products where OpenZFS is integral:

http://open-zfs.org/wiki/Companies

1

u/jdrch Jan 11 '20

the range of products where OpenZFS is integral

Yes. Very few of those have licensing compatibility challenges, though. The latter is the context of my comment.

2

u/grahamperrin Jan 11 '20

Thanks,

Very few of those have licensing compatibility challenges

– which ones do?

I'm just vaguely curious. Not obsessed with licensing aspects.

(I last took an interest around seven years ago, when I bookmarked a 2010 article, Oracle and NetApp dismiss ZFS lawsuits • The Register. I probably used Greenbytes ZEVO at the time.)

2

u/jdrch Jan 11 '20

– which ones do ?

I don't know. I said "very few" because I suspect the number may be greater than 0 depending on the company's offerings.

when I bookmarked a 2010 article, Oracle and NetApp dismiss ZFS lawsuits • The Register.

Good find, but that's NetApp - a company not led by megalomaniac sociopath - as the plaintiff. This entire discussion centers on Oracle being the plaintiff.

→ More replies (0)

2

u/Ornias1993 Jan 12 '20

Lawsuits tend to come from commercial use. Up to now, everyone involved with ZoL has been able to claim it's a separate project from Linux that's just compatible with it. But now:

It's not the commercial-usethat is the problem, its the fact of shipping the combined work.

whom any court would recognize as the leading Linux expert - basically told the world ZoL's license issues make it incompatible

Calling Linus with his behaviorial issues as a withness is not something a lawyer would do lightly. The chance it would backfire under US precedure law is HUGE.
All you need to discredit Linus as a withness is a nice list of conflicting past statements, ask some nasty questions about his legal experience and the legal ground behind some work on Linux that is in-itself a GPL violation and triggering one of Linus his rampages

Believe me, if I was in the opposing legal team I would go out for drinks the day I would get notice they will call Linus as withness. Some people are simply not fit for the withness stand.

Law is not always about being right, it's more often than not about putting more doubt on the other party than is put on yours.

1

u/jdrch Jan 12 '20

its the fact of shipping the combined work

True, but I daresay most instances of this are ignored by rightsholders unless the code is closed source and/or the distributor is making money from it. But yes, de jure you're totally correct.

Calling Linus with his behaviorial issues as a withness is not something a lawyer would do lightly. The chance it would backfire under US precedure law is HUGE.

This is riotously funny because it's true.

The rest is the best comeback I've read in a while. Factual and entertaining. Excellent riposte, my good man.

2

u/Ornias1993 Jan 12 '20

Yeah I need to give you that one... Fighting against non-commericial violations isn't something that happens frequently on this scale. Mostly ofc. because lawsuits are expensive and there isn't much to gain in many cases.

Thanks for the compliment. I always try to view legal issues as a game of chess... A funny game of chess actually, because things people say can so incredibly backfire that it becomes a game to outplay the other party.

Hmm... Maybe thats why they call jurists all sorts of nasty remarks... hmmm...

1

u/Ornias1993 Jan 12 '20

The part I don't understand is how ZoL was a government funded project that is/was used by LLNL. Having worked at a different national lab, they must have had a lawyer look at this at some point.

They did: you are free to create non-gpl kernel modules yourself and link them to your own kernel yourself. The legal GPL vs CDDL issues come into play when you try to distribute it. Which LLNL is not doing

1

u/IronManMark20 Jan 12 '20

So if you distribute only each source separately (as in a dkms for zfs), and have each person individually build/link the module into the kernel themselves, wouldn't that get around the GPL/CDDL issue?

1

u/Ornias1993 Jan 13 '20

Thats what Debian is doing and yes, that does suffice quite nicely :)

2

u/Ornias1993 Jan 12 '20

The thing is:
Oracle is not the one threatening Canonical with being sued. It's Linus his GPL-fundementalist (you can call it that based on behavior, not meant to offend anyone) friends of the software freedom conservancy that are threatening to sue Canonical.

Actually considering Oracle does the same thing as Canonical with their Oracle Linux distro, i think it's more likely Oracle joins the currently building (don't know if they ever are actually going to file it) case of the software freedom conservancy against Canonical on the side of... Canonical.
Legally that would make a lot more sense and it fits Oracles previous legal actions quite well, as they prefer fighting when someone threatens their position more than when people use their technology without risk to their position.
If the software freedom conservancy would win the court case against canonical that would also create a bad presedent against Oracle and no-way they are going to allow that to happen without a fight.

0

u/jdrch Jan 12 '20

GPL-fundementalist

YESSSS! Finally someone else who uses that term. I thought I was the only one who realized that "license fundamentalism" is actually a thing.

Good explanation. Definitely did not see that side of the argument before. Thanks, man.

2

u/Ornias1993 Jan 12 '20

Yeah, it's absolutle not meant to offend someone...

But if you objectively look at some arguments the term "fundementalism" fits, because they way some people view certain licences is very similair as to have religious fundementalists view their sacret texts.

They are free to do so ofcourse, but taking contracts and legal issues this literal is not really how the law actually works in practice...

Guess a but of a de-facto vs de-jure, where these groups are fiercely de-jure focussed...

0

u/baryluk Jan 12 '20

Huh? Nobody asks for ZFS on Linux to be merged into mainline kernel.

2

u/Ornias1993 Jan 12 '20

This is something everyone seems to forget...

Not even the ZFSonLinux project is interested in merging it with the kernel. Even more so, that would take away a lot of their say on the project and might even prevent some of the current work turning it into a multi-OS project.

1

u/baryluk Jan 12 '20

Exactly. I didn't like zol being out of tree, but with dkms it is so easy to use, and makes open zfs code more cross platform and allows zfs on Linux devs to do what they do best. Plus support older kernels, which is a bit painful, but not a big deal.

1

u/Ornias1993 Jan 12 '20

Support of Older kernels is actually an interesting consideration. How stupid of me not to think about it...

Yes, it being in-tree would mean it would need to commit to the Kernel release scheduel and backporting is not really a thing indeed! :O

Well, Considering the amount of support requests and issues coming in... I think you can consider it a pretty big deal ;)

1

u/Jannik2099 Jan 12 '20

Canonical begs to differ

1

u/baryluk Jan 12 '20

Do you have source on that?

1

u/Jannik2099 Jan 12 '20

Ubuntu is now coming with ZFS https://itsfoss.com/zfs-ubuntu/ , canonical is taking a bet that the licensing works oug

2

u/baryluk Jan 12 '20

So what? It is not equivalent of requesting for the code to be merged into kernel.

ZFS on Linux is out of tree module, using only non-GPL kernel interfaces. Neither the kernel distributed in Ubuntu, nor the ZFS module distributed in Ubuntu violates any license.