[lxc-devel] [lxc/lxc] 84fa5a: string_utils.h: fix wrong licensing

Stéphane Graber noreply at github.com
Mon Feb 11 22:31:15 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 84fa5acacc78003ff61eb5be5026d659177b8e8f
      https://github.com/lxc/lxc/commit/84fa5acacc78003ff61eb5be5026d659177b8e8f
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-02-11 (Mon, 11 Feb 2019)

  Changed paths:
    M src/lxc/string_utils.h

  Log Message:
  -----------
  string_utils.h: fix wrong licensing

liblxc has always been meant to be LGPLv2.1+ as reflected by the many
downstreams projects and bindings which are themselves under LGPLv2.1+ or other
licenses which would be incompatible with linking against a GPLv2+ library.

It's pretty normal for a library to be LGPL while binaries are GPL as a GPL
library would only ever be usable by other GPL-only projects, which isn't the
case for very many of the liblxc downstreams.

The issue here is really carelessness. None of those GPL headers were put there
intentionally, instead being wrongly copy/pasted from other parts of the
codebase which is indeed intended to be GPLv2+. This is also made clear in our
CONTRIBUTING file in this repository:

Licensing for new files:
------------------------

LXC is made of files shipped under a few different licenses.

Anything that ends up being part of the LXC library needs to be released
under LGPLv2.1+ or a license compatible with it (though the latter will
only be accepted for cases where the code originated elsewhere and was
imported into LXC).

Language bindings for the libraries need to be released under LGPLv2.1+.

Anything else (non-libraries) needs to be Free Software and needs to be
allowed to link with LGPLv2.1+ code (if needed). LXC upstream prefers
LGPLv2.1+ or GPLv2 for those.

When introducing a new file into the project, please make sure it has a
copyright header making clear under which license it's being released
and if it doesn't match the criteria described above, please explain
your decision on the lxc-devel mailing-list when submitting your patch.

This is intended to switch over files to LGPLv2.1+ to which end we have
collected ACKs from relevant people.
/* Affected People */
Christian Brauner <christian.brauner at ubuntu.com>
Fabrice Fontaine <fontaine.fabrice at gmail.com>
Josh Soref <jsoref at gmail.com>

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
Acked-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Acked-by: Josh Soref <jsoref at gmail.com>


  Commit: b88ccedc1e059e5115292b40e9a4bd1c2881d3e6
      https://github.com/lxc/lxc/commit/b88ccedc1e059e5115292b40e9a4bd1c2881d3e6
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2019-02-11 (Mon, 11 Feb 2019)

  Changed paths:
    M src/lxc/string_utils.h

  Log Message:
  -----------
  Merge pull request #2844 from brauner/2019-02-11/licensing+

string_utils.h: fix wrong licensing


Compare: https://github.com/lxc/lxc/compare/9581e6976128...b88ccedc1e05


More information about the lxc-devel mailing list