* What license is multipath-tools under @ 2016-07-27 10:42 Ritesh Raj Sarraf 2016-07-27 22:19 ` Xose Vazquez Perez 0 siblings, 1 reply; 7+ messages in thread From: Ritesh Raj Sarraf @ 2016-07-27 10:42 UTC (permalink / raw) To: christophe.varoqui@opensvc.com, Xose Vazquez Perez Cc: device-mapper development -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hi, I just ran some compliance tools on multipath and the results weren't very appealing in regard to licensing and copyright information. The standard COPYING file mentions LGPL v2. On the other hand, the majority of the source code has no license mentioned in its header. Some that do have, mention it as GPLv2, and some as GPLv2+ Please see full license/copyright check below. rrs@learner:~/.rrs-home/Community/Packaging/multipath-tools (master)$ licensecheck -r . ./COPYING: UNKNOWN ./multipath/02_multipath: *No copyright* UNKNOWN ./multipath/main.c: GPL (v2 or later) ./multipath/Makefile: UNKNOWN ./multipath/01_udev: *No copyright* UNKNOWN ./mpathpersist/main.c: *No copyright* UNKNOWN ./mpathpersist/main.h: *No copyright* UNKNOWN ./mpathpersist/Makefile: *No copyright* UNKNOWN ./Makefile.inc: UNKNOWN ./README: *No copyright* UNKNOWN ./ChangeLog: *No copyright* UNKNOWN ./libmpathpersist/mpath_persist.h: *No copyright* UNKNOWN ./libmpathpersist/mpath_pr_ioctl.c: *No copyright* UNKNOWN ./libmpathpersist/mpath_updatepr.c: *No copyright* UNKNOWN ./libmpathpersist/mpath_pr_ioctl.h: *No copyright* UNKNOWN ./libmpathpersist/Makefile: *No copyright* UNKNOWN ./libmpathpersist/mpath_persist.c: *No copyright* UNKNOWN ./libmpathpersist/mpathpr.h: *No copyright* UNKNOWN ./debian/changelog: *No copyright* UNKNOWN ./debian/source/format: *No copyright* UNKNOWN ./debian/patches/series: *No copyright* UNKNOWN ./debian/control: *No copyright* UNKNOWN ./debian/dmsetup_env: *No copyright* UNKNOWN ./debian/rules: *No copyright* UNKNOWN ./debian/initramfs/init-top: *No copyright* UNKNOWN ./debian/initramfs/local-top: *No copyright* UNKNOWN ./debian/initramfs/hooks: *No copyright* UNKNOWN ./debian/compat: *No copyright* UNKNOWN ./debian/reportbug/script: *No copyright* UNKNOWN ./debian/watch: *No copyright* UNKNOWN ./debian/copyright: UNKNOWN ./debian/NEWS: *No copyright* UNKNOWN ./Makefile: UNKNOWN ./getuid/usb_id: *No copyright* UNKNOWN ./kpartx/devmapper.c: UNKNOWN ./kpartx/dasd.c: GPL (v2 or later) ./kpartx/gpt.h: GPL (v2 or later) ./kpartx/crc32.c: Public domain ./kpartx/xstrncpy.c: *No copyright* UNKNOWN ./kpartx/crc32.h: *No copyright* UNKNOWN ./kpartx/mac.h: *No copyright* UNKNOWN ./kpartx/mac.c: *No copyright* UNKNOWN ./kpartx/sysmacros.h: *No copyright* UNKNOWN ./kpartx/kpartx.h: *No copyright* UNKNOWN ./kpartx/dos.h: *No copyright* UNKNOWN ./kpartx/Makefile: UNKNOWN ./kpartx/lopart.h: *No copyright* UNKNOWN ./kpartx/dos.c: UNKNOWN ./kpartx/devmapper.h: *No copyright* UNKNOWN ./kpartx/xstrncpy.h: *No copyright* UNKNOWN ./kpartx/ps3.c: *No copyright* UNKNOWN ./kpartx/lopart.c: *No copyright* UNKNOWN ./kpartx/byteorder.h: *No copyright* UNKNOWN ./kpartx/kpartx_id: GPL GENERATED FILE ./kpartx/sun.c: UNKNOWN ./kpartx/bsd.c: *No copyright* UNKNOWN ./kpartx/gpt.c: GPL (v2 or later) ./kpartx/unixware.c: *No copyright* UNKNOWN ./kpartx/dasd.h: GPL (v2 or later) ./kpartx/solaris.c: *No copyright* UNKNOWN ./kpartx/efi.h: GPL (v2 or later) ./kpartx/kpartx.c: UNKNOWN ./libmultipath/callout.c: UNKNOWN ./libmultipath/devmapper.c: UNKNOWN ./libmultipath/discovery.h: *No copyright* UNKNOWN ./libmultipath/waiter.c: UNKNOWN ./libmultipath/uevent.c: GPL ./libmultipath/alias.c: GPL (v2 or later) ./libmultipath/checkers/cciss.h: *No copyright* UNKNOWN ./libmultipath/checkers/rdac.h: *No copyright* UNKNOWN ./libmultipath/checkers/tur.c: UNKNOWN ./libmultipath/checkers/libsg.c: UNKNOWN ./libmultipath/checkers/cciss_tur.c: GPL (v2 or later) ./libmultipath/checkers/rdac.c: UNKNOWN ./libmultipath/checkers/tur.h: *No copyright* UNKNOWN ./libmultipath/checkers/directio.c: UNKNOWN ./libmultipath/checkers/Makefile: UNKNOWN ./libmultipath/checkers/libsg.h: *No copyright* UNKNOWN ./libmultipath/checkers/readsector0.h: *No copyright* UNKNOWN ./libmultipath/checkers/hp_sw.c: UNKNOWN ./libmultipath/checkers/emc_clariion.c: UNKNOWN ./libmultipath/checkers/hp_sw.h: *No copyright* UNKNOWN ./libmultipath/checkers/directio.h: *No copyright* UNKNOWN ./libmultipath/checkers/emc_clariion.h: *No copyright* UNKNOWN ./libmultipath/checkers/readsector0.c: UNKNOWN ./libmultipath/callout.h: *No copyright* UNKNOWN ./libmultipath/dmparser.h: *No copyright* UNKNOWN ./libmultipath/list.h: *No copyright* UNKNOWN ./libmultipath/blacklist.h: *No copyright* UNKNOWN ./libmultipath/memory.c: GPL (v2 or later) ./libmultipath/util.c: *No copyright* UNKNOWN ./libmultipath/parser.c: *No copyright* GPL (v2 or later) ./libmultipath/waiter.h: *No copyright* UNKNOWN ./libmultipath/print.c: UNKNOWN ./libmultipath/pgpolicies.c: UNKNOWN ./libmultipath/defaults.c: UNKNOWN ./libmultipath/configure.h: *No copyright* UNKNOWN ./libmultipath/propsel.h: *No copyright* UNKNOWN ./libmultipath/version.h: GPL (v2 or later) ./libmultipath/print.h: *No copyright* UNKNOWN ./libmultipath/prio.c: *No copyright* UNKNOWN ./libmultipath/lock.h: *No copyright* UNKNOWN ./libmultipath/memory.h: GPL (v2 or later) ./libmultipath/log.c: UNKNOWN ./libmultipath/debug.h: *No copyright* UNKNOWN ./libmultipath/file.h: UNKNOWN ./libmultipath/checkers.h: *No copyright* UNKNOWN ./libmultipath/vector.h: *No copyright* GPL (v2 or later) ./libmultipath/defaults.h: *No copyright* UNKNOWN ./libmultipath/util.h: *No copyright* UNKNOWN ./libmultipath/structs_vec.h: *No copyright* UNKNOWN ./libmultipath/configure.c: UNKNOWN ./libmultipath/Makefile: UNKNOWN ./libmultipath/alias.h: *No copyright* UNKNOWN ./libmultipath/prio.h: *No copyright* UNKNOWN ./libmultipath/hwtable.c: *No copyright* UNKNOWN ./libmultipath/wwids.h: UNKNOWN ./libmultipath/sysfs.h: *No copyright* UNKNOWN ./libmultipath/structs.h: *No copyright* UNKNOWN ./libmultipath/config.c: UNKNOWN ./libmultipath/checkers.c: UNKNOWN ./libmultipath/devmapper.h: *No copyright* UNKNOWN ./libmultipath/log_pthread.h: *No copyright* UNKNOWN ./libmultipath/config.h: *No copyright* UNKNOWN ./libmultipath/vector.c: GPL (v2 or later) ./libmultipath/pgpolicies.h: *No copyright* UNKNOWN ./libmultipath/sysfs.c: GPL ./libmultipath/switchgroup.h: *No copyright* UNKNOWN ./libmultipath/uxsock.c: UNKNOWN ./libmultipath/log_pthread.c: UNKNOWN ./libmultipath/uevent.h: *No copyright* UNKNOWN ./libmultipath/log.h: *No copyright* UNKNOWN ./libmultipath/file.c: GPL (v2 or later) ./libmultipath/debug.c: UNKNOWN ./libmultipath/hwtable.h: *No copyright* UNKNOWN ./libmultipath/blacklist.c: UNKNOWN ./libmultipath/uxsock.h: *No copyright* UNKNOWN ./libmultipath/dmparser.c: UNKNOWN ./libmultipath/discovery.c: UNKNOWN ./libmultipath/sg_include.h: *No copyright* UNKNOWN ./libmultipath/structs_vec.c: *No copyright* UNKNOWN ./libmultipath/lock.c: *No copyright* UNKNOWN ./libmultipath/parser.h: *No copyright* GPL (v2 or later) ./libmultipath/prioritizers/weightedpath.c: UNKNOWN ./libmultipath/prioritizers/emc.c: *No copyright* UNKNOWN ./libmultipath/prioritizers/alua.h: *No copyright* UNKNOWN ./libmultipath/prioritizers/alua.c: UNKNOWN ./libmultipath/prioritizers/alua_spc3.h: UNKNOWN ./libmultipath/prioritizers/rdac.c: *No copyright* UNKNOWN ./libmultipath/prioritizers/Makefile: UNKNOWN ./libmultipath/prioritizers/weightedpath.h: *No copyright* UNKNOWN ./libmultipath/prioritizers/hds.c: UNKNOWN ./libmultipath/prioritizers/alua_rtpg.h: UNKNOWN ./libmultipath/prioritizers/const.c: *No copyright* UNKNOWN ./libmultipath/prioritizers/sysfs.c: UNKNOWN ./libmultipath/prioritizers/alua_rtpg.c: UNKNOWN ./libmultipath/prioritizers/iet.c: *No copyright* UNKNOWN ./libmultipath/prioritizers/hp_sw.c: *No copyright* UNKNOWN ./libmultipath/prioritizers/ontap.c: GPL (v2) ./libmultipath/prioritizers/datacore.c: UNKNOWN ./libmultipath/prioritizers/random.c: *No copyright* UNKNOWN ./libmultipath/dict.h: *No copyright* UNKNOWN ./libmultipath/wwids.c: UNKNOWN ./libmultipath/dict.c: UNKNOWN ./libmultipath/structs.c: UNKNOWN ./libmultipath/switchgroup.c: UNKNOWN ./libmultipath/propsel.c: UNKNOWN ./multipathd/main.c: UNKNOWN ./multipathd/uxclnt.c: UNKNOWN ./multipathd/main.h: *No copyright* UNKNOWN ./multipathd/cli_handlers.h: *No copyright* UNKNOWN ./multipathd/cli_handlers.c: UNKNOWN ./multipathd/cli.c: UNKNOWN ./multipathd/Makefile: *No copyright* UNKNOWN ./multipathd/uxclnt.h: *No copyright* UNKNOWN ./multipathd/pidfile.h: *No copyright* UNKNOWN ./multipathd/cli.h: *No copyright* UNKNOWN ./multipathd/uxlsnr.h: *No copyright* UNKNOWN ./multipathd/uxlsnr.c: UNKNOWN ./multipathd/pidfile.c: *No copyright* UNKNOWN ./libmpathcmd/mpath_cmd.c: *No copyright* UNKNOWN ./libmpathcmd/mpath_cmd.h: LGPL (v2 or later) ./libmpathcmd/Makefile: *No copyright* UNKNOWN 2016-07-27 / 16:04:22 ♒♒♒ ☺ - -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJXmI//AAoJEKY6WKPy4XVpa2wP/AmkbZrWKx70+ocyinZUesJC KDdm5QSRSazabHee73FIn/6oCUe/ATX1OsFd8XH9j0OFhEuadWLpPqGzJHm9XcUA vowIqSHEvEENIOTvoz23wd4vfFANFj6kBxwzp+oO4FAbAAu9cH6d3AYuxWrPFLnf GjxlbuF/mK5GIgHKh6naMIpV8ek/O8ldQGlYnWUlqQI065c4RbyBOy7GJJtNbkmb 70J/PdUG/xb0QPeV2aaxiIqj2zSp1baLXIy/6MDIDKNc3FNd2P3NAWWPz5xjC4PP xjEJDuhcKdfUlznJffOj93UKZY5T6bxry0cqlUpwfRWv3zKkCx6F3sCKZBWtb4Wx 9NClj8AL05PWLYMte2Bn8gdh5TEFrQOKC/9zsEzMOgKgajEiBL1JoiFHwV2Ca6yG yfNQUXrmxxr9VFmSNcVusGwxosEfw9nRhsW8a9NCIFuEBTezu+TzQMHpY/xgPN+H lXV/Y4F91AStpLXJiT9gtpvKDAqDYOd28hZdwUpS+IALeRma8Bz3KqnJ0o0fA7E+ DtEnjdPCZjx5C6WUFiavNCl+la7YVRQdIUtFEvXiDyD3oMf+TFY5tYmMo4GGrkuI kyAwO8SSVvnbu+EhFJXuvcCAhnK8I1vGC37PJXe+RKK3ujeSp3fVywYdR4XPocQ2 /7+NlJnqxj0q1VSpovni =gs/1 -----END PGP SIGNATURE----- -- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: What license is multipath-tools under 2016-07-27 10:42 What license is multipath-tools under Ritesh Raj Sarraf @ 2016-07-27 22:19 ` Xose Vazquez Perez 2016-07-27 22:41 ` Xose Vazquez Perez 2016-07-28 16:53 ` Ritesh Raj Sarraf 0 siblings, 2 replies; 7+ messages in thread From: Xose Vazquez Perez @ 2016-07-27 22:19 UTC (permalink / raw) To: rrs, christophe.varoqui@opensvc.com; +Cc: device-mapper development On 07/27/2016 12:42 PM, Ritesh Raj Sarraf wrote: > I just ran some compliance tools on multipath and the results weren't very > appealing in regard to licensing and copyright information. > > The standard COPYING file mentions LGPL v2. > On the other hand, the majority of the source code has no license mentioned in > its header. Some that do have, mention it as GPLv2, and some as GPLv2+ "No copyright" or "UNKNOWN" files should be covered by COPYING licence(LGPL v2). Except: kpartx/ It comes from partx(util-linux), and these files are under "GPL v2" or "GPL v2 or later". Independent binary. libmultipath/prioritizers/ontap.c It's "GPL v2". But it's a plugin. ??? libmultipath/checkers/cciss_tur.c Source says "GPL v2 or later", and: /* * This program originally derived from and inspired by * Christophe Varoqui's tur.c, part of libchecker. */ At libmultipath/checkers/tur.c there is no licence, but it's derived from src/sg_turs.c from sg3_utils. And this one is under "GPL v2 or later". But it's a plugin. ??? libmultipath/memory.c libmultipath/memory.h libmultipath/parser.c libmultipath/parser.h libmultipath/vector.c libmultipath/vector.h These comes from keepalived, and they are under "GPL v2 or later". libmultipath/version.h: "GPL v2 or later". libmultipath/file.c libmultipath/alias.c Source says: /* * significant parts of this file were taken from iscsi-bindings.c of the * linux-iscsi project. And they are under "GPL v2 or later". libmultipath/uevent.c libmultipath/sysfs.c These come from udev, and they are "GPL v2". GPL code can not be mixed with LGPL code. So I guess libmultipath/ files are "GPL v2" ??? multipath/main.c Under "GPL v2 or later". It's linked with libmultipath.so and libmpathcmd.so. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: What license is multipath-tools under 2016-07-27 22:19 ` Xose Vazquez Perez @ 2016-07-27 22:41 ` Xose Vazquez Perez 2016-07-28 16:53 ` Ritesh Raj Sarraf 1 sibling, 0 replies; 7+ messages in thread From: Xose Vazquez Perez @ 2016-07-27 22:41 UTC (permalink / raw) To: rrs, christophe.varoqui@opensvc.com; +Cc: device-mapper development On 07/28/2016 12:19 AM, Xose Vazquez Perez wrote: > GPL code can not be mixed with LGPL code. So I guess libmultipath/ files are "GPL v2" ??? > > > multipath/main.c > Under "GPL v2 or later". It's linked with libmultipath.so and libmpathcmd.so. For reference, the ldd output(in Fedora-24-x86_64): libmpathcmd.so.0: linux-vdso.so.1 (0x00007ffef04c6000) libc.so.6 => /lib64/libc.so.6 (0x00007f104e834000) /lib64/ld-linux-x86-64.so.2 (0x00005585327c4000) libmpathpersist.so.0: linux-vdso.so.1 (0x00007ffddd16e000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fa639e39000) libdevmapper.so.1.02 => /lib64/libdevmapper.so.1.02 (0x00007fa639bdc000) libdl.so.2 => /lib64/libdl.so.2 (0x00007fa6399d8000) libmultipath.so.0 (0x00007fa63978f000) libmpathcmd.so.0 (0x00007fa63958b000) libc.so.6 => /lib64/libc.so.6 (0x00007fa6391c9000) /lib64/ld-linux-x86-64.so.2 (0x000056519d76e000) librt.so.1 => /lib64/librt.so.1 (0x00007fa638fc1000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fa638d99000) libsepol.so.1 => /lib64/libsepol.so.1 (0x00007fa638b01000) libudev.so.1 => /lib64/libudev.so.1 (0x00007fa638ae0000) libm.so.6 => /lib64/libm.so.6 (0x00007fa6387d5000) libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007fa63874b000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fa638534000) libpcre.so.1 => /lib64/libpcre.so.1 (0x00007fa6382c0000) libcap.so.2 => /lib64/libcap.so.2 (0x00007fa6380bb000) libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fa637ea1000) liblzma.so.5 => /lib64/liblzma.so.5 (0x00007fa637c7a000) liblz4.so.1 => /lib64/liblz4.so.1 (0x00007fa637a68000) libgcrypt.so.20 => /lib64/libgcrypt.so.20 (0x00007fa637782000) libgpg-error.so.0 => /lib64/libgpg-error.so.0 (0x00007fa63756d000) libattr.so.1 => /lib64/libattr.so.1 (0x00007fa637368000) libmultipath.so.0: linux-vdso.so.1 (0x00007ffdd9ea2000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f088a932000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f088a72d000) libdevmapper.so.1.02 => /lib64/libdevmapper.so.1.02 (0x00007f088a4d1000) libudev.so.1 => /lib64/libudev.so.1 (0x00007f088a4b0000) libmpathcmd.so.0 (0x00007f088a2ac000) libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007f088a222000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f088a00b000) libc.so.6 => /lib64/libc.so.6 (0x00007f0889c48000) /lib64/ld-linux-x86-64.so.2 (0x0000562501e17000) librt.so.1 => /lib64/librt.so.1 (0x00007f0889a40000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f0889819000) libsepol.so.1 => /lib64/libsepol.so.1 (0x00007f0889580000) libm.so.6 => /lib64/libm.so.6 (0x00007f0889276000) libcap.so.2 => /lib64/libcap.so.2 (0x00007f0889071000) libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f0888e56000) liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f0888c30000) liblz4.so.1 => /lib64/liblz4.so.1 (0x00007f0888a1e000) libgcrypt.so.20 => /lib64/libgcrypt.so.20 (0x00007f0888737000) libgpg-error.so.0 => /lib64/libgpg-error.so.0 (0x00007f0888523000) libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f08882b0000) libattr.so.1 => /lib64/libattr.so.1 (0x00007f08880aa000) kpartx: linux-vdso.so.1 (0x00007fffc2cd6000) libdevmapper.so.1.02 => /lib64/libdevmapper.so.1.02 (0x00007f3cdbfec000) libc.so.6 => /lib64/libc.so.6 (0x00007f3cdbc29000) librt.so.1 => /lib64/librt.so.1 (0x00007f3cdba21000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f3cdb7fa000) libsepol.so.1 => /lib64/libsepol.so.1 (0x00007f3cdb561000) libudev.so.1 => /lib64/libudev.so.1 (0x00007f3cdb540000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f3cdb324000) libm.so.6 => /lib64/libm.so.6 (0x00007f3cdb019000) /lib64/ld-linux-x86-64.so.2 (0x000055e9e4b82000) libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f3cdada6000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f3cdaba2000) libcap.so.2 => /lib64/libcap.so.2 (0x00007f3cda99c000) libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f3cda782000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f3cda56b000) libattr.so.1 => /lib64/libattr.so.1 (0x00007f3cda365000) mpathpersist: linux-vdso.so.1 (0x00007fff6e9b6000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f49c5d65000) libdevmapper.so.1.02 => /lib64/libdevmapper.so.1.02 (0x00007f49c5b08000) libmpathpersist.so.0 => /home/xose/tmp/mpt/lib64/libmpathpersist.so.0 (0x00007f49c58ff000) libmpathcmd.so.0 => /home/xose/tmp/mpt/lib64/libmpathcmd.so.0 (0x00007f49c56fc000) libmultipath.so.0 => /home/xose/tmp/mpt/lib64/libmultipath.so.0 (0x00007f49c54b2000) libudev.so.1 => /lib64/libudev.so.1 (0x00007f49c5491000) libc.so.6 => /lib64/libc.so.6 (0x00007f49c50cf000) /lib64/ld-linux-x86-64.so.2 (0x000055c2f7c26000) librt.so.1 => /lib64/librt.so.1 (0x00007f49c4ec6000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f49c4c9f000) libsepol.so.1 => /lib64/libsepol.so.1 (0x00007f49c4a07000) libm.so.6 => /lib64/libm.so.6 (0x00007f49c46fc000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f49c44f8000) libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007f49c446e000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f49c4256000) libcap.so.2 => /lib64/libcap.so.2 (0x00007f49c4051000) libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f49c3e37000) libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f49c3bc3000) liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f49c399d000) liblz4.so.1 => /lib64/liblz4.so.1 (0x00007f49c378b000) libgcrypt.so.20 => /lib64/libgcrypt.so.20 (0x00007f49c34a4000) libgpg-error.so.0 => /lib64/libgpg-error.so.0 (0x00007f49c3290000) libattr.so.1 => /lib64/libattr.so.1 (0x00007f49c308b000) multipath: linux-vdso.so.1 (0x00007fff6bebe000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fdc24635000) libdevmapper.so.1.02 => /lib64/libdevmapper.so.1.02 (0x00007fdc243d8000) libdl.so.2 => /lib64/libdl.so.2 (0x00007fdc241d4000) libmultipath.so.0 => /home/xose/tmp/mpt/lib64/libmultipath.so.0 (0x00007fdc23f8b000) libudev.so.1 => /lib64/libudev.so.1 (0x00007fdc23f69000) libmpathcmd.so.0 => /home/xose/tmp/mpt/lib64/libmpathcmd.so.0 (0x00007fdc23d66000) libc.so.6 => /lib64/libc.so.6 (0x00007fdc239a4000) /lib64/ld-linux-x86-64.so.2 (0x00005650a01da000) librt.so.1 => /lib64/librt.so.1 (0x00007fdc2379b000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fdc23574000) libsepol.so.1 => /lib64/libsepol.so.1 (0x00007fdc232dc000) libm.so.6 => /lib64/libm.so.6 (0x00007fdc22fd1000) libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007fdc22f47000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fdc22d30000) libcap.so.2 => /lib64/libcap.so.2 (0x00007fdc22b2a000) libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fdc22910000) libpcre.so.1 => /lib64/libpcre.so.1 (0x00007fdc2269d000) liblzma.so.5 => /lib64/liblzma.so.5 (0x00007fdc22476000) liblz4.so.1 => /lib64/liblz4.so.1 (0x00007fdc22264000) libgcrypt.so.20 => /lib64/libgcrypt.so.20 (0x00007fdc21f7e000) libgpg-error.so.0 => /lib64/libgpg-error.so.0 (0x00007fdc21d69000) libattr.so.1 => /lib64/libattr.so.1 (0x00007fdc21b64000) multipathd: linux-vdso.so.1 (0x00007fffca7c3000) liburcu.so.2 => /lib64/liburcu.so.2 (0x00007f7031bf0000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f70319d3000) libdevmapper.so.1.02 => /lib64/libdevmapper.so.1.02 (0x00007f7031777000) libreadline.so.6 => /lib64/libreadline.so.6 (0x00007f703152e000) libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007f70314a3000) libudev.so.1 => /lib64/libudev.so.1 (0x00007f7031482000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f703127e000) libmultipath.so.0 => /home/xose/tmp/mpt/lib64/libmultipath.so.0 (0x00007f7031034000) libmpathpersist.so.0 => /home/xose/tmp/mpt/lib64/libmpathpersist.so.0 (0x00007f7030e2b000) libmpathcmd.so.0 => /home/xose/tmp/mpt/lib64/libmpathcmd.so.0 (0x00007f7030c28000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f7030a10000) libc.so.6 => /lib64/libc.so.6 (0x00007f703064e000) liburcu-common.so.2 => /lib64/liburcu-common.so.2 (0x00007f703044a000) /lib64/ld-linux-x86-64.so.2 (0x000055fed25fa000) librt.so.1 => /lib64/librt.so.1 (0x00007f7030241000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f703001a000) libsepol.so.1 => /lib64/libsepol.so.1 (0x00007f702fd82000) libm.so.6 => /lib64/libm.so.6 (0x00007f702fa77000) libtinfo.so.6 => /lib64/libtinfo.so.6 (0x00007f702f84b000) libcap.so.2 => /lib64/libcap.so.2 (0x00007f702f646000) libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f702f42b000) liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f702f205000) liblz4.so.1 => /lib64/liblz4.so.1 (0x00007f702eff3000) libgcrypt.so.20 => /lib64/libgcrypt.so.20 (0x00007f702ed0c000) libgpg-error.so.0 => /lib64/libgpg-error.so.0 (0x00007f702eaf8000) libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f702e884000) libattr.so.1 => /lib64/libattr.so.1 (0x00007f702e67f000) ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: What license is multipath-tools under 2016-07-27 22:19 ` Xose Vazquez Perez 2016-07-27 22:41 ` Xose Vazquez Perez @ 2016-07-28 16:53 ` Ritesh Raj Sarraf 2016-07-28 17:26 ` James Bottomley 1 sibling, 1 reply; 7+ messages in thread From: Ritesh Raj Sarraf @ 2016-07-28 16:53 UTC (permalink / raw) To: Xose Vazquez Perez, christophe.varoqui@opensvc.com Cc: device-mapper development -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Thanks Xose, for digging this information. But shouldn't this information go into respective source files? Recently, at Debconf, I came aware of Fossology [1]. It is a compliance tool for license, copyright and export control scans. I have spawned off a job [2] and am curious of the result. But looks like their server may be having a problem at the moment. But it is standard practise in most Free Software projects to define the licensing proper. And for a project with mixed licenses, it'd be best to have individual source files mention their license. [1] https://www.fossology.org/ [2] http://52.26.97.143/repo/?mod=showjobs On Thu, 2016-07-28 at 00:19 +0200, Xose Vazquez Perez wrote: > On 07/27/2016 12:42 PM, Ritesh Raj Sarraf wrote: > > > > > I just ran some compliance tools on multipath and the results weren't very > > appealing in regard to licensing and copyright information. > > > > The standard COPYING file mentions LGPL v2. > > On the other hand, the majority of the source code has no license mentioned > > in > > its header. Some that do have, mention it as GPLv2, and some as GPLv2+ > > "No copyright" or "UNKNOWN" files should be covered by COPYING licence(LGPL > v2). > Except: > > kpartx/ > It comes from partx(util-linux), and these files are under "GPL v2" or > "GPL v2 or later". Independent binary. > > > libmultipath/prioritizers/ontap.c > It's "GPL v2". But it's a plugin. ??? > > > libmultipath/checkers/cciss_tur.c > Source says "GPL v2 or later", and: > /* > * This program originally derived from and inspired by > * Christophe Varoqui's tur.c, part of libchecker. > */ > At libmultipath/checkers/tur.c there is no licence, but it's derived from > src/sg_turs.c > from sg3_utils. And this one is under "GPL v2 or later". But it's a plugin. > ??? > > > libmultipath/memory.c > libmultipath/memory.h > libmultipath/parser.c > libmultipath/parser.h > libmultipath/vector.c > libmultipath/vector.h > These comes from keepalived, and they are under "GPL v2 or later". > > > libmultipath/version.h: > "GPL v2 or later". > > > libmultipath/file.c > libmultipath/alias.c > Source says: > /* > * significant parts of this file were taken from iscsi-bindings.c of the > * linux-iscsi project. > And they are under "GPL v2 or later". > > > libmultipath/uevent.c > libmultipath/sysfs.c > These come from udev, and they are "GPL v2". > > > GPL code can not be mixed with LGPL code. So I guess libmultipath/ files are > "GPL v2" ??? > > > multipath/main.c > Under "GPL v2 or later". It's linked with libmultipath.so and libmpathcmd.so. - -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJXmjiBAAoJEKY6WKPy4XVpSa0QAIufEm7ECOOBRGGEUTuL6GH5 v8GTDMat4+uCDQ9JfONDSlft6h69aQt7T783dAHsEW52eVzLRxiMv3/49t5lmp8V j3yfNq0KEc+MJ2Hx3QsVI1ZsJsmkLZc0hBgBKRf7hMO4upMxSJN2aV0c7w9gZrDE fxrHUd3rFesaQv0NY5ZFGfOWqffxksQxlhrhrg3KxaDbdZaeb3D+5TjtAqZcr8No OiaVTdle9mssP+bPNL4Ok7y+RZNZ/3OdbxpbSwLD+2ZqXabozdi7Mfe7gmdNgIXT 3cIB6/Umy+uMw4Yijbq7YsWb+EWmMI1CfMDa/DBB4NBo5O7kVQ5+07/shDR0+sej k6Y//reLj4hGmjzh9X6mRqbbx/MpMe23iFQocXOT6VvjQXtnop12FqNdpM78Bufw b3L1dHn2OogQxv9rce6Vfdp2mIRyQox6q9dTBoLBbAPkEjUnVj8MECjHdGKrWl6Y 3bg5udGhNOjkNrHTj+6DCOEXKccLPXnJiuJbidjIdR1jpjVa6klqVZaOL6u+Rpi+ up4YWeUWE7uh8uqY0k6cA2Bn+CIXScWJYQkmUHSdEVrQv0lqYpsSsmwXpccc5daB sVNH3Q6gxGJGEvNF4Fggk0+m9XBxnTL0axX3fGqVrP5U9ftK6kpQuLTIRAWstr3V qGTg4tewUCl8oTOfdN9J =yhyM -----END PGP SIGNATURE----- -- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: What license is multipath-tools under 2016-07-28 16:53 ` Ritesh Raj Sarraf @ 2016-07-28 17:26 ` James Bottomley 2016-07-28 18:41 ` Ritesh Raj Sarraf 0 siblings, 1 reply; 7+ messages in thread From: James Bottomley @ 2016-07-28 17:26 UTC (permalink / raw) To: rrs, Xose Vazquez Perez, christophe.varoqui@opensvc.com Cc: device-mapper development [-- Attachment #1.1: Type: text/plain, Size: 3547 bytes --] On Thu, 2016-07-28 at 22:23 +0530, Ritesh Raj Sarraf wrote: > Thanks Xose, for digging this information. But shouldn't this > information go into respective source files? If there's a COPYING file, there's no need for individual files to have a copyright. The licence of the file defaults to whatever COPYING (or LICENCE or some recognizable top level file says). A significant number of Linux Kernel files don't have individual file header copyrigh ts, if you want an example of this. > Recently, at Debconf, I came aware of Fossology [1]. It is a > compliance tool for license, copyright and export control scans. I > have spawned off a job [2] and am curious of the result. But looks > like their server may be having a problem at the moment. > > But it is standard practise in most Free Software projects to define > the licensing proper. And for a project with mixed licenses, it'd be > best to have individual source files mention their license. > It may be a best practice and even practised by some projects, but if Linux doesn't do it, it's hard to say it's standard practice. James > [1] https://www.fossology.org/ > [2] http://52.26.97.143/repo/?mod=showjobs > > > On Thu, 2016-07-28 at 00:19 +0200, Xose Vazquez Perez wrote: > > On 07/27/2016 12:42 PM, Ritesh Raj Sarraf wrote: > > > > > > > > I just ran some compliance tools on multipath and the results > > > weren't very > > > appealing in regard to licensing and copyright information. > > > > > > The standard COPYING file mentions LGPL v2. > > > On the other hand, the majority of the source code has no license > > > mentioned > > > in > > > its header. Some that do have, mention it as GPLv2, and some as > > > GPLv2+ > > > > "No copyright" or "UNKNOWN" files should be covered by COPYING > > licence(LGPL > > v2). > > Except: > > > > kpartx/ > > It comes from partx(util-linux), and these files are under "GPL v2" > > or > > "GPL v2 or later". Independent binary. > > > > > > libmultipath/prioritizers/ontap.c > > It's "GPL v2". But it's a plugin. ??? > > > > > > libmultipath/checkers/cciss_tur.c > > Source says "GPL v2 or later", and: > > /* > > * This program originally derived from and inspired by > > * Christophe Varoqui's tur.c, part of libchecker. > > */ > > At libmultipath/checkers/tur.c there is no licence, but it's > > derived from > > src/sg_turs.c > > from sg3_utils. And this one is under "GPL v2 or later". But it's a > > plugin. > > ??? > > > > > > libmultipath/memory.c > > libmultipath/memory.h > > libmultipath/parser.c > > libmultipath/parser.h > > libmultipath/vector.c > > libmultipath/vector.h > > These comes from keepalived, and they are under "GPL v2 or later". > > > > > > libmultipath/version.h: > > "GPL v2 or later". > > > > > > libmultipath/file.c > > libmultipath/alias.c > > Source says: > > /* > > * significant parts of this file were taken from iscsi-bindings.c > > of the > > * linux-iscsi project. > > And they are under "GPL v2 or later". > > > > > > libmultipath/uevent.c > > libmultipath/sysfs.c > > These come from udev, and they are "GPL v2". > > > > > > GPL code can not be mixed with LGPL code. So I guess libmultipath/ > > files are > > "GPL v2" ??? > > > > > > multipath/main.c > > Under "GPL v2 or later". It's linked with libmultipath.so and > > libmpathcmd.so. > -- > dm-devel mailing list > dm-devel@redhat.com > https://www.redhat.com/mailman/listinfo/dm-devel [-- Attachment #1.2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 819 bytes --] [-- Attachment #2: Type: text/plain, Size: 0 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: What license is multipath-tools under 2016-07-28 17:26 ` James Bottomley @ 2016-07-28 18:41 ` Ritesh Raj Sarraf 2016-07-28 18:59 ` James Bottomley 0 siblings, 1 reply; 7+ messages in thread From: Ritesh Raj Sarraf @ 2016-07-28 18:41 UTC (permalink / raw) To: James Bottomley, Xose Vazquez Perez, christophe.varoqui@opensvc.com Cc: device-mapper development [-- Attachment #1.1.1: Type: text/plain, Size: 1891 bytes --] Hello James, On Thu, 2016-07-28 at 13:26 -0400, James Bottomley wrote: > On Thu, 2016-07-28 at 22:23 +0530, Ritesh Raj Sarraf wrote: > > Thanks Xose, for digging this information. But shouldn't this > > information go into respective source files? > > If there's a COPYING file, there's no need for individual files to have > a copyright. The licence of the file defaults to whatever COPYING (or > LICENCE or some recognizable top level file says). A significant > number of Linux Kernel files don't have individual file header copyrigh > ts, if you want an example of this. Yes. But as I understand, the entire Linux [1] code base is GPLv2 only. Whereas in case of multipath-tools, as Xose mentioned in the previous email, it is a mix of: * GPLv2 (only?) * GPLv2+ * LGPLv2 Having this information in the source repository (not necessarily as individual source headers) will speak out much clear. I think something like Debian's Machine-readable copyright format will be a good fit in this case. https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ An example project, with mixed licenses: http://metadata.ftp-master.debian.org/changelogs/main/libs/libstoragemgmt/unstab le_copyright BTW, this topic hit my mind 2 days ago when I looked at the aging (old format) multipath-tools/debian/copyright in my packaging repo and wanted to fix it. http://metadata.ftp-master.debian.org/changelogs/main/m/multipath-tools/unstable _copyright I have attached a patch for a copyright file, based on what Xose had mentioned in the email. There still are files, like libmultipath/prioritizers/alua.c, which mention the license as plain GPL. So, this patch is still not complete. [1] with some minor exceptions I just noticed. -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System [-- Attachment #1.1.2: 0001-Add-initial-licensing-copyright-file.patch --] [-- Type: text/x-patch, Size: 2953 bytes --] From a148c6de8b558858e3210c973574859954ad2e63 Mon Sep 17 00:00:00 2001 From: Ritesh Raj Sarraf <rrs@debian.org> Date: Fri, 29 Jul 2016 00:03:27 +0530 Subject: [PATCH] Add initial licensing/copyright file Signed-off-by: Ritesh Raj Sarraf <rrs@debian.org> --- copyright | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 copyright diff --git a/copyright b/copyright new file mode 100644 index 0000000..0758ab0 --- /dev/null +++ b/copyright @@ -0,0 +1,63 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: multipath-tools +Upstream-Contact: Multipath Tools Project (dm-devel@redhat.com) +Source: https://http://git.opensvc.com/?p=multipath-tools/.git;a=summary + +Files: * +License: LGPL-2.1+ + +Files: kpartx/ + multipath/main.c + libmultipath/checkers/cciss_tur.c + libmultipath/memory.c + libmultipath/memory.h + libmultipath/parser.c + libmultipath/parser.h + libmultipath/vector.c + libmultipath/vector.h + libmultipath/version.h + libmultipath/file.c + libmultipath/alias.c +License: GPL-2+ + +Files: libmulitpath/uevent.c + libmultipath/sysfs.c + libmultipath/prioritizers/ontap.c +License: GPL-2 + + +License: GPL-2+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/> + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + + +License: LGPL-2.1+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see <http://www.gnu.org/licenses/> + . + On Debian systems, the complete text of the GNU Lesser General + Public License version 2 can be found in "/usr/share/common-licenses/LGPL-2.1". + -- 2.8.1 [-- Attachment #1.2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 801 bytes --] [-- Attachment #2: Type: text/plain, Size: 0 bytes --] ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: What license is multipath-tools under 2016-07-28 18:41 ` Ritesh Raj Sarraf @ 2016-07-28 18:59 ` James Bottomley 0 siblings, 0 replies; 7+ messages in thread From: James Bottomley @ 2016-07-28 18:59 UTC (permalink / raw) To: rrs, Xose Vazquez Perez, christophe.varoqui@opensvc.com Cc: device-mapper development [-- Attachment #1.1: Type: text/plain, Size: 2592 bytes --] On Fri, 2016-07-29 at 00:11 +0530, Ritesh Raj Sarraf wrote: > Hello James, > > On Thu, 2016-07-28 at 13:26 -0400, James Bottomley wrote: > > On Thu, 2016-07-28 at 22:23 +0530, Ritesh Raj Sarraf wrote: > > > Thanks Xose, for digging this information. But shouldn't this > > > information go into respective source files? > > > > If there's a COPYING file, there's no need for individual files to > > have > > a copyright. The licence of the file defaults to whatever COPYING > > (or > > LICENCE or some recognizable top level file says). A significant > > number of Linux Kernel files don't have individual file header > > copyrigh > > ts, if you want an example of this. > > Yes. But as I understand, the entire Linux [1] code base is GPLv2 > only. No it's not: We have a ton of dual licenced files (dual GPL/BSD is the most common) and quite a few GPLv2+ ones. Of course, all of those have headers explaining the difference from COPYING (or at the very least MODULE_LICENSE tags). > Whereas in case of multipath-tools, as Xose mentioned in the > previous email, it is a mix of: > > * GPLv2 (only?) > * GPLv2+ > * LGPLv2 This is also rather common. Look at the COPYING file of the CRIU project for instance https://github.com/xemul/criu/blob/master/COPYING It has a split GPL/LGPL model depending on which directory the file is placed in. > Having this information in the source repository (not necessarily as > individual source headers) will speak out much clear. > > I think something like Debian's Machine-readable copyright format > will be a good fit in this case. > > https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ > > An example project, with mixed licenses: > http://metadata.ftp-master.debian.org/changelogs/main/libs/libstorage > mgmt/unstable_copyright > > BTW, this topic hit my mind 2 days ago when I looked at the aging > (old format) multipath-tools/debian/copyright in my packaging repo > and wanted to > fix it. > > http://metadata.ftp-master.debian.org/changelogs/main/m/multipath-too > ls/unstable_copyright > > > > I have attached a patch for a copyright file, based on what Xose had > mentioned in the email. There still are files, like libmultipath/pri > oritizers/alua.c, which mention the license as plain GPL. So, this > patch is still not complete. > > > [1] with some minor exceptions I just noticed. That's up to the maintainer of multipath-tools. I was just point out that doing this isn't required or even standard practice. James [-- Attachment #1.2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 819 bytes --] [-- Attachment #2: Type: text/plain, Size: 0 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-07-28 18:59 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-07-27 10:42 What license is multipath-tools under Ritesh Raj Sarraf 2016-07-27 22:19 ` Xose Vazquez Perez 2016-07-27 22:41 ` Xose Vazquez Perez 2016-07-28 16:53 ` Ritesh Raj Sarraf 2016-07-28 17:26 ` James Bottomley 2016-07-28 18:41 ` Ritesh Raj Sarraf 2016-07-28 18:59 ` James Bottomley
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.