dm-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Martin Wilck <mwilck@suse.com>
To: Xose Vazquez Perez <xose.vazquez@gmail.com>
Cc: Hannes Reinecke <hare@suse.de>,
	Benjamin Marzinski <bmarzins@redhat.com>,
	 Christophe Varoqui <christophe.varoqui@opensvc.com>,
	DM-DEVEL ML <dm-devel@lists.linux.dev>
Subject: Re: [PATCH] multipath-tools: replace FSF licences boilerplate with a SPDX-License-Identifier
Date: Mon, 30 Jun 2025 17:34:45 +0200	[thread overview]
Message-ID: <f117058d6b87c00ac0c37e83ca1a977a582e903f.camel@suse.com> (raw)
In-Reply-To: <20250624125506.7708-1-xose.vazquez@gmail.com>

On Tue, 2025-06-24 at 14:55 +0200, Xose Vazquez Perez wrote:
> Cc: Hannes Reinecke <hare@suse.de>
> Cc: Martin Wilck <mwilck@suse.com>
> Cc: Benjamin Marzinski <bmarzins@redhat.com>
> Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
> Cc: DM-DEVEL ML <dm-devel@lists.linux.dev>
> Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>

Reviewed-by: Martin Wilck <mwilck@suse.com>

Thanks!

> ---
> Missing:
> 
> util.c: maybe GPL-2.0-or-later ???
> libmpathutil/util.c: * License: LGPL-2.1-or-later
> libmpathutil/util.c: * Code copied from busybox (GPLv2 or later)
> 
> ambiguous, only "GPL" !!!
> libmultipath/prioritizers/alua.c: * This file is released under the
> GPL.
> libmultipath/prioritizers/alua_rtpg.c: * This file is released under
> the GPL.
> libmultipath/prioritizers/alua_rtpg.h: * This file is released under
> the GPL.
> libmultipath/prioritizers/alua_spc3.h: * This file is released under
> the GPL.
> libmultipath/prioritizers/hds.c: * This file is released under the
> GPL.
> libmultipath/prioritizers/weightedpath.c: *  This file is released
> under the GPL

Please check my previous assessment again [1]:

IMO "GPL" without version should be interpreted as "any version of the
GPL". As these parts of the code are combined with other code that's
licensed under GPL-2.0-only or GPL-2.0-or-later, we should assume that
the respective stricter variant applies to the combination(s).

The "default" license of the multipath-tools project is assumed to be
the license of the first files that were added to Greg KH's udev.git
repo [2], which was LGPL 2.0. We're assuming that files that don't
include an explicit license statement inherit the LGPL-2.0 license from
this first commit in the project.

As you noted, libmpathutil/util.c includes code snippets that
were originally released with different licenses (albeit compatible
ones). We should thus assume that the file itself is under the
strictest of these licenses, which is GPL-2.0-or-later, AFAICS.

However, while I think these interpretations are plausible, I Am Not A
Layer and I wouldn't want to add license headers to files that
currently don't have one. I appreciate that your patch doesn't attempt
to do that.

Regards,
Martin

[1] https://lore.kernel.org/dm-devel/1523313462.3525.65.camel@suse.com/
[2] https://git.kernel.org/pub/scm/linux/hotplug/udev.git/commit/?id=04a091d47e32d6480b99424e41db093b013dfaf5

      reply	other threads:[~2025-06-30 15:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-24 12:55 [PATCH] multipath-tools: replace FSF licences boilerplate with a SPDX-License-Identifier Xose Vazquez Perez
2025-06-30 15:34 ` Martin Wilck [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=f117058d6b87c00ac0c37e83ca1a977a582e903f.camel@suse.com \
    --to=mwilck@suse.com \
    --cc=bmarzins@redhat.com \
    --cc=christophe.varoqui@opensvc.com \
    --cc=dm-devel@lists.linux.dev \
    --cc=hare@suse.de \
    --cc=xose.vazquez@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).