|
|
Subscribe / Log in / New account

GRUB imports ZFS support

From:  Robert Millan <rmh-AT-gnu.org>
To:  The development of GNU GRUB <grub-devel-AT-gnu.org>
Subject:  ZFS imported into GRUB
Date:  Thu, 2 Dec 2010 12:24:48 +0100
Message-ID:  <[email protected]>
Cc:  zfs-discuss-AT-opensolaris.org, developer-AT-lists.illumos.org
Archive‑link:  Article

Hi,

Following our new strategy with regard to Oracle code, we (GRUB
maintainers) have decided to grant an exception to our usual policy and
import ZFS code from grub-extras into official GRUB.

Our usual policy is to require copyright assignment for all new code, so
that FSF can use it to defend users' freedom in court.  If that's not
possible, at least a disclaimer asserting authorship (i.e. that no
copyright infringement has been committed).  The purpose of this, as
always, is ensuring that GRUB is a legally safe codebase.

The ZFS code that has been imported into GRUB derives from the
OpenSolaris version of GRUB Legacy.  On one hand, this code was released
to the public under the terms of the GNU GPL.  On the other, binary
releases of Solaris included this modified GRUB, and as a result
Oracle/Sun is bound by the GPL.

We believe that these two factors give us very strong reassurance that:

a) Oracle owns the copyright to this code
and
b) Oracle is licensing it under GPL

and therefore it is completely safe to use this in GRUB.

We're looking forward to this code import will foster collaboration on
ZFS support for GRUB.  Our understanding is that next version of
Solaris will ship with GRUB 2, and so we expect the whole OpenSolaris
ecosystem to do this move as well.  We encourage downstream distributors
to anticipate this by preparing their transition from the old, legacy
version of GRUB (0.97) which is no longer supported by GRUB developers.


Finally, a word about patents.  Software patents are terribly harmful to
free software, and to IT in general.  We believe they should be
abolished.  However, until that happens, we need to take measures to
protect our users.  We recognize it is practically impossible for end
users to archieve a situation where they're completely safe from patent
infringement (even if they pay so-called "patent taxes" to specific
companies).

However, we encourage our users to make careful choices when importing
technology that is designed in an in-door development model (rather
than in the community), because it's prone to be heavily patented.

This is the reason why, when we (the GNU project) developed the GPL, we
included certain provisions in it to ensure a patent holder can't
benefit from the freedoms we gave them and at the same time use patents
to undermine these freedoms for others.

Thanks to this, and due to the fact that Oracle is bound to the terms
of the GNU GPL when it comes to GRUB, we believe this renders patents
covering ZFS basically harmless to GRUB users.  If the patents
covering GRUB are held by Oracle, they can't use them against GRUB
users, and if they're held by other parties, the GPL provisions will
prevent Oracle from paying a tax only for themselves, so if they will
fight alongside the community instead of betraying it.

Let this serve as yet another example on why so-called "permissive"
licenses aren't always a guarantee that the code covered by them can be
used freely.  If you intend for your code to be free for all users,
always use the latest version of the GPL.

-- 
Robert Millan



to post comments

GRUB imports ZFS support

Posted Dec 2, 2010 19:48 UTC (Thu) by mjw (subscriber, #16740) [Link] (7 responses)

> (2) ZFS is not thought to carry a GPL-compatible license.

But it is! The ZFS code Sun/Oracle wrote for GRUB was explicitly released under the terms of the GNU General Public license version 2 or later:
http://blogs.sun.com/darren/entry/zfs_under_gplv2_already...

GRUB imports ZFS support

Posted Dec 2, 2010 19:53 UTC (Thu) by mjw (subscriber, #16740) [Link]

Actual GPLed code on oracle servers here: http://src.opensolaris.org/source/history/onnv/onnv-gate/...

GRUB imports ZFS support

Posted Dec 2, 2010 20:04 UTC (Thu) by cjwatson (subscriber, #7322) [Link] (1 responses)

That's what Robert said later in the post. By "ZFS" in the part you quoted, I believe he meant the kernel portions.

GRUB imports ZFS support

Posted Dec 2, 2010 20:16 UTC (Thu) by mjw (subscriber, #16740) [Link]

Ah, right, sorry. I am not sure where that part of the quote then comes from. Maybe the editor added it.

GRUB imports ZFS support

Posted Dec 2, 2010 21:41 UTC (Thu) by paulj (subscriber, #341) [Link] (3 responses)

I havn't read the code, but my understanding is that the GPLed ZFS for GRUB is but a very functionally limited flavour of ZFS. It's enough to boot from /certain/ ZFS pools (e.g. mirrored ones, but *no* support for RAIDZ), and that's it.

Don't get too excited basically.

GRUB imports ZFS support

Posted Dec 3, 2010 8:44 UTC (Fri) by trasz (guest, #45786) [Link] (2 responses)

Which is somewhat infortunate, given that. e.g. FreeBSD boots from RAIDZ without problems. Maybe merging some code from FreeBSD ZFS bootloader into GRUB might be in order?

GRUB imports ZFS support

Posted Dec 3, 2010 8:53 UTC (Fri) by paulj (subscriber, #341) [Link] (1 responses)

FreeBSD's ZFS support is based on Suns' CDDLed code though, isn't it? (Corollary: if so, that code can not be in FreeBSD core).

GRUB imports ZFS support

Posted Dec 3, 2010 14:40 UTC (Fri) by trasz (guest, #45786) [Link]

So, turns out that parts of the FreeBSD loader(8) required to support RAIDZ are CDDL-licensed; the rest, which looks like it could boot from e.g. mirrored pool, is BSD-licensed. Still, from the user point of view it doesn't matter - it's compiled in by default and "just works".

GRUB imports ZFS support

Posted Dec 8, 2010 16:02 UTC (Wed) by paivakil (guest, #31804) [Link]

Why am I feeling that the message, in simple English, means "Oracle, please sue us, if you dare to."??


Copyright © 2010, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds