All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Eric Blake <eblake@redhat.com>
Cc: "libvir-list@redhat.com" <libvir-list@redhat.com>,
	QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] JSON license is non-free - how are we affected?
Date: Tue, 22 May 2012 12:05:11 -0500	[thread overview]
Message-ID: <4FBBC747.7040200@codemonkey.ws> (raw)
In-Reply-To: <4FBBB5ED.1080408@redhat.com>

On 05/22/2012 10:51 AM, Eric Blake wrote:
> The QMP monitor uses JSON as its underlying base.  However, when you
> read the license of JSON [1], you will note that it has a pretty severe
> limitation ("The Software shall be used for Good, not Evil").  In fact,
> this limitation is severe enough that the FSF has declared that the JSON
> license is non-free (even if the limitation is unenforceable), and
> therefore cannot be combined with GPL code:
>
> [1] http://www.json.org/license.html
> [2] https://www.gnu.org/licenses/license-list.html#JSON
>
> How do we reconcile this?  Obviously, qemu must remain GPL, because it
> has files that are licensed GPLv2, and the overall license is the
> restrictive union of all source licenses.  But that implies that we
> cannot include any source code or libraries provided by json.org, if
> such code is under the incompatible JSON license.
>
> Is the JSON license only applicable to code downloaded from json.org,
> but not to the actual JSON language specification?  If so, does that
> mean that a clean-room implementation of JSON (the language
> specification) can be written with different license than JSON (the
> license), and that such alternate code could then be linked into qemu?
> Is this already the case?  It would be a shame to have to reinvent QMP
> to use a different language specification if the entire JSON language is
> deemed poisoned.

Hi Eric,

When evaluating JSON implementations, I looked at the json.org license and 
immediately sought other options.  I was very aware that that clause would not 
be GPL compatible.  Ultimately, we wrote our own from scratch based on the JSON 
RFC[1].

There is no dubious claims in the RFC and I don't think there could be as it's 
simply a strict subset of the EMCA specification.

At no point have I ever looked at the json.org source but given the fact that 
the license is moronic, I expect the implementation to be equally dumb and 
wouldn't even consider it even if the license was changed at this point.

[1] http://www.ietf.org/rfc/rfc4627

Regards,

Anthony Liguori

>
> Thoughts?  Do we need to seek legal guidance from FSF, Red Hat, or any
> other organization on how to proceed?
>

      parent reply	other threads:[~2012-05-22 17:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-22 15:51 [Qemu-devel] JSON license is non-free - how are we affected? Eric Blake
2012-05-22 15:58 ` Paolo Bonzini
2012-05-22 16:56   ` Eric Blake
2012-05-22 17:05 ` Anthony Liguori [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FBBC747.7040200@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=eblake@redhat.com \
    --cc=libvir-list@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.