2004-08-20 23:25:45 +00:00
|
|
|
% Tutorial Text for the Detailed Study and Analysis of GPL and LGPL course
|
2004-01-14 19:47:10 +00:00
|
|
|
|
2014-02-15 23:16:41 +00:00
|
|
|
% License: CC-By-SA-4.0
|
|
|
|
|
|
|
|
% The copyright holders hereby grant the freedom to copy, modify, convey,
|
|
|
|
% Adapt, and/or redistribute this work under the terms of the Creative
|
|
|
|
% Commons Attribution Share Alike 4.0 International License.
|
|
|
|
|
|
|
|
% This text 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.
|
|
|
|
|
|
|
|
% You should have received a copy of the license with this document in
|
|
|
|
% a file called 'CC-By-SA-4.0.txt'. If not, please visit
|
|
|
|
% https://creativecommons.org/licenses/by-sa/4.0/legalcode to receive
|
|
|
|
% the license text.
|
2004-01-14 19:47:10 +00:00
|
|
|
|
|
|
|
|
2014-02-20 17:50:53 +00:00
|
|
|
\part{Case Studies in GPL Enforcement}
|
2004-01-14 19:47:10 +00:00
|
|
|
|
2014-02-20 17:50:53 +00:00
|
|
|
{\parindent 0in
|
|
|
|
This part is: \\
|
|
|
|
\begin{tabbing}
|
2014-11-07 02:30:53 +00:00
|
|
|
Copyright \= \copyright{} 2003, 2004, 2014 \= \hspace{1.mm} \= \kill
|
2014-11-06 21:59:48 +00:00
|
|
|
Copyright \> \copyright{} 2014 \> Bradley M. Kuhn. \\
|
2014-11-07 02:30:53 +00:00
|
|
|
Copyright \= \copyright{} 2014 \> \hspace{.2in} Denver Gingerich \\
|
2014-11-06 21:59:48 +00:00
|
|
|
Copyright \= \copyright{} 2003, 2004, 2014 \= \hspace{.2in} Free Software Foundation, Inc. \\
|
2014-02-20 17:50:53 +00:00
|
|
|
\end{tabbing}
|
2004-01-14 19:47:10 +00:00
|
|
|
|
2014-02-20 17:50:53 +00:00
|
|
|
\vspace{1in}
|
2004-01-14 19:47:10 +00:00
|
|
|
|
2014-03-20 13:59:16 +00:00
|
|
|
\begin{center}
|
2014-02-20 17:50:53 +00:00
|
|
|
Authors of this part are: \\
|
2004-01-14 19:47:10 +00:00
|
|
|
|
2014-02-20 17:50:53 +00:00
|
|
|
Bradley M. Kuhn \\
|
2014-03-20 14:01:27 +00:00
|
|
|
John Sullivan
|
2014-02-20 17:50:53 +00:00
|
|
|
\vspace{3in}
|
2004-01-14 19:47:10 +00:00
|
|
|
|
2014-04-24 23:26:02 +00:00
|
|
|
Copy editors of this part include: \\
|
|
|
|
Martin Michlmayr
|
|
|
|
|
|
|
|
\vspace{3in}
|
|
|
|
|
2014-02-15 23:16:41 +00:00
|
|
|
The copyright holders hereby grant the freedom to copy, modify, convey,
|
|
|
|
Adapt, and/or redistribute this work under the terms of the Creative Commons
|
|
|
|
Attribution Share Alike 4.0 International License. A copy of that license is
|
2014-11-06 22:02:23 +00:00
|
|
|
available at \url{https://creativecommons.org/licenses/by-sa/4.0/legalcode}.
|
2014-03-20 13:59:16 +00:00
|
|
|
\end{center}
|
2004-01-14 19:47:10 +00:00
|
|
|
}
|
2004-08-20 23:25:45 +00:00
|
|
|
% =====================================================================
|
|
|
|
% START OF SECOND DAY SEMINAR SECTION
|
|
|
|
% =====================================================================
|
2004-01-14 19:47:10 +00:00
|
|
|
|
2004-08-20 23:25:45 +00:00
|
|
|
\chapter*{Preface}
|
|
|
|
|
|
|
|
This one-day course presents the details of five different GPL
|
|
|
|
compliance cases handled by FSF's GPL Compliance Laboratory. Each case
|
|
|
|
offers unique insights into problems that can arise when the terms of
|
2014-03-20 17:31:54 +00:00
|
|
|
the GPL are not properly followed, and how diplomatic negotiation between
|
2004-08-20 23:25:45 +00:00
|
|
|
the violator and the copyright holder can yield positive results for
|
|
|
|
both parties.
|
2004-01-14 19:47:10 +00:00
|
|
|
|
|
|
|
Attendees should have successfully completely the course, a ``Detailed
|
2004-08-20 23:25:45 +00:00
|
|
|
Study and Analysis of the GPL and LGPL,'' as the material from that
|
|
|
|
course forms the building blocks for this material.
|
2004-01-14 19:47:10 +00:00
|
|
|
|
2004-08-20 23:25:45 +00:00
|
|
|
This course is of most interest to lawyers who have clients or
|
|
|
|
employers that deal with Free Software on a regular basis. However,
|
|
|
|
technical managers and executives whose businesses use or distribute
|
|
|
|
Free Software will also find the course very helpful.
|
2004-01-14 19:47:10 +00:00
|
|
|
|
2004-02-12 21:08:33 +00:00
|
|
|
\bigskip
|
|
|
|
|
|
|
|
These course materials are merely a summary of the highlights of the
|
2004-08-20 23:25:45 +00:00
|
|
|
course presented. Please be aware that during the actual GPL course, class
|
|
|
|
discussion supplements this printed curriculum. Simply reading it is
|
|
|
|
not equivalent to attending the course.
|
2004-01-14 19:47:10 +00:00
|
|
|
|
2014-03-21 02:12:06 +00:00
|
|
|
%FIXME-LATER: write these
|
2014-02-20 17:56:09 +00:00
|
|
|
|
2014-03-21 02:12:06 +00:00
|
|
|
%\chapter{Not All GPL Enforcement is Created Equal}
|
2014-02-20 17:56:09 +00:00
|
|
|
|
2014-03-21 02:12:06 +00:00
|
|
|
%\section{For-Profit Enforcement}
|
|
|
|
|
|
|
|
%\section{Community and Non-Profit Enforcement}
|
2014-02-20 17:56:09 +00:00
|
|
|
|
|
|
|
\chapter{Overview of Community Enforcement}
|
2004-01-14 19:47:10 +00:00
|
|
|
|
2004-08-20 23:25:45 +00:00
|
|
|
The GPL is a Free Software license with legal teeth. Unlike licenses like
|
2014-03-20 17:31:54 +00:00
|
|
|
the X11-style or various BSD licenses, the GPL (and by extension, the LGPL) is
|
2004-08-20 23:25:45 +00:00
|
|
|
designed to defend as well as grant freedom. We saw in the last course
|
2014-03-20 17:31:54 +00:00
|
|
|
that the GPL uses copyright law as a mechanism to grant all the key freedoms
|
2004-01-15 23:19:24 +00:00
|
|
|
essential in Free Software, but also to ensure that those freedoms
|
2004-01-16 20:00:33 +00:00
|
|
|
propagate throughout the distribution chain of the software.
|
2004-01-15 23:19:24 +00:00
|
|
|
|
|
|
|
\section{Termination Begins Enforcement}
|
|
|
|
|
2014-03-20 17:31:54 +00:00
|
|
|
As we have learned, the assurance that Free Software under the GPL remains
|
|
|
|
Free Software is accomplished through various terms of the GPL: \S 3 ensures
|
2004-01-15 23:19:24 +00:00
|
|
|
that binaries are always accompanied with source; \S 2 ensures that the
|
2004-02-12 21:08:33 +00:00
|
|
|
sources are adequate, complete and usable; \S 6 and \S 7 ensure that the
|
2014-03-20 17:31:54 +00:00
|
|
|
license of the software is always the GPL for everyone, and that no other
|
|
|
|
legal agreements or licenses trump the GPL. It is \S 4, however, that ensures
|
2004-02-12 21:08:33 +00:00
|
|
|
that the GPL can be enforced.
|
2004-01-15 23:19:24 +00:00
|
|
|
|
2004-08-20 23:25:45 +00:00
|
|
|
Thus, \S 4 is where we begin our discussion of GPL enforcement. This
|
|
|
|
clause is where the legal teeth of the license are rooted. As a copyright
|
2014-03-20 17:31:54 +00:00
|
|
|
license, the GPL governs only the activities governed by copyright law ---
|
2004-08-20 23:25:45 +00:00
|
|
|
copying, modifying and redistributing computer software. Unlike most
|
2014-03-20 17:31:54 +00:00
|
|
|
copyright licenses, the GPL gives wide grants of permission for engaging with
|
2004-08-20 23:25:45 +00:00
|
|
|
these activities. Such permissions continue, and all parties may exercise
|
2014-03-20 17:31:54 +00:00
|
|
|
them until such time as one party violates the terms of the GPL\@. At the
|
2004-02-12 21:08:33 +00:00
|
|
|
moment of such a violation (i.e., the engaging of copying, modifying or
|
2014-03-20 17:31:54 +00:00
|
|
|
redistributing in ways not permitted by the GPL) \S 4 is invoked. While other
|
|
|
|
parties may continue to operate under the GPL, the violating party loses their
|
2004-02-12 21:08:33 +00:00
|
|
|
rights.
|
2004-01-15 23:19:24 +00:00
|
|
|
|
2004-08-20 23:25:45 +00:00
|
|
|
Specifically, \S 4 terminates the violators' rights to continue
|
2014-03-20 17:31:54 +00:00
|
|
|
engaging in the permissions that are otherwise granted by the GPL\@.
|
2004-08-20 23:25:45 +00:00
|
|
|
Effectively, their rights revert to the copyright defaults ---
|
|
|
|
no permission is granted to copy, modify, nor redistribute the work.
|
|
|
|
Meanwhile, \S 5 points out that if the violator has no rights under
|
2014-03-20 17:31:54 +00:00
|
|
|
the GPL, they are prohibited by copyright law from engaging in the
|
2004-08-20 23:25:45 +00:00
|
|
|
activities of copying, modifying and distributing. They have lost
|
|
|
|
these rights because they have violated the GPL, and no other license
|
|
|
|
gives them permission to engage in these activities governed by copyright law.
|
2004-01-15 23:19:24 +00:00
|
|
|
|
|
|
|
\section{Ongoing Violations}
|
|
|
|
|
2004-08-20 23:25:45 +00:00
|
|
|
In conjunction with \S 4's termination of violators' rights, there is
|
2014-04-03 00:57:55 +00:00
|
|
|
one final industry fact added to the mix: rarely does one engage in a
|
2004-08-20 23:25:45 +00:00
|
|
|
single, solitary act of copying, distributing or modifying software.
|
|
|
|
Almost always, a violator will have legitimately acquired a copy of a
|
|
|
|
GPL'd program, either making modifications or not, and then begun
|
|
|
|
distributing that work. For example, the violator may have put the
|
|
|
|
software in boxes and sold them at stores. Or perhaps the software
|
|
|
|
was put up for download on the Internet. Regardless of the delivery
|
2004-02-12 21:08:33 +00:00
|
|
|
mechanism, violators almost always are engaged in {\em ongoing\/}
|
2014-03-20 17:31:54 +00:00
|
|
|
violation of the GPL\@.
|
2004-01-15 23:19:24 +00:00
|
|
|
|
2004-01-16 20:00:33 +00:00
|
|
|
In fact, when we discover a GPL violation that occurred only once --- for
|
2004-01-15 23:19:24 +00:00
|
|
|
example, a user group who distributed copies of a GNU/Linux system without
|
2004-02-12 21:08:33 +00:00
|
|
|
source at one meeting --- we rarely pursue it with a high degree of
|
2004-08-20 23:25:45 +00:00
|
|
|
tenacity. In our minds, such a violation is an educational problem, and
|
|
|
|
unless the user group becomes a repeat offender (as it turns out, they
|
|
|
|
never do), we simply forward along a FAQ entry that best explains how user
|
2014-03-20 17:31:54 +00:00
|
|
|
groups can most easily comply with the GPL, and send them on their merry way.
|
2004-01-15 23:19:24 +00:00
|
|
|
|
|
|
|
It is only the cases of {\em ongoing\/} GPL violation that warrant our
|
2004-08-20 23:25:45 +00:00
|
|
|
active attention. We vehemently pursue those cases where dozens, hundreds
|
2004-01-15 23:19:24 +00:00
|
|
|
or thousands of customers are receiving software that is out of
|
2004-08-20 23:25:45 +00:00
|
|
|
compliance, and where the company continually offers for sale (or
|
2004-02-12 21:08:33 +00:00
|
|
|
distributes gratis as a demo) software distributions that include GPL'd
|
2004-08-20 23:25:45 +00:00
|
|
|
components out of compliance. Our goal is to maximize the impact of
|
2004-02-12 21:08:33 +00:00
|
|
|
enforcement and educate industries who are making such a mistake on a
|
|
|
|
large scale.
|
2004-01-15 23:19:24 +00:00
|
|
|
|
|
|
|
In addition, such ongoing violation shows that a particular company is
|
2004-08-20 23:25:45 +00:00
|
|
|
committed to a GPL'd product line. We are thrilled to learn that someone
|
2004-01-16 20:00:33 +00:00
|
|
|
is benefiting from Free Software, and we understand that sometimes they
|
2004-08-20 23:25:45 +00:00
|
|
|
become confused about the rules of the road. Rather than merely
|
2014-03-20 17:07:33 +00:00
|
|
|
giving us a postmortem to perform on a past mistake, an ongoing violation
|
2004-08-20 23:25:45 +00:00
|
|
|
gives us an active opportunity to educate a new contributor to the GPL'd
|
2004-01-15 23:19:24 +00:00
|
|
|
commons about proper procedures to contribute to the community.
|
|
|
|
|
2004-08-20 23:25:45 +00:00
|
|
|
Our central goal is not, in fact, to merely clear up a particular violation.
|
2004-02-12 21:08:33 +00:00
|
|
|
In fact, over time, we hope that our compliance lab will be out of
|
2004-08-20 23:25:45 +00:00
|
|
|
business. We seek to educate the businesses that engage in commerce
|
2004-02-12 21:08:33 +00:00
|
|
|
related to GPL'd software to obey the rules of the road and allow them to
|
2004-08-20 23:25:45 +00:00
|
|
|
operate freely under them. Just as a traffic officer would not revel in
|
2004-02-12 21:08:33 +00:00
|
|
|
reminding people which side of the road to drive on, so we do not revel in
|
2004-08-20 23:25:45 +00:00
|
|
|
violations. By contrast, we revel in the successes of educating an
|
2014-03-20 17:31:54 +00:00
|
|
|
ongoing violator about the GPL so that GPL compliance becomes a second-nature
|
2004-02-12 21:08:33 +00:00
|
|
|
matter, allowing that company to join the GPL ecosystem as a contributor.
|
2004-01-15 23:19:24 +00:00
|
|
|
|
2004-01-16 20:00:33 +00:00
|
|
|
\section{How are Violations Discovered?}
|
|
|
|
|
2014-03-20 17:31:54 +00:00
|
|
|
Our enforcement of the GPL is not a fund-raising effort; in fact, FSF's GPL
|
2004-02-12 21:08:33 +00:00
|
|
|
Compliance Lab runs at a loss (in other words, it is subsided by our
|
2004-08-20 23:25:45 +00:00
|
|
|
donors). Our violation reports come from volunteers, who have encountered,
|
2004-01-16 20:00:33 +00:00
|
|
|
in their business or personal life, a device or software product that
|
2004-08-20 23:25:45 +00:00
|
|
|
appears to contain GPL'd software. These reports are almost always sent
|
2004-02-12 21:08:33 +00:00
|
|
|
via email to $<$license-violation@fsf.org$>$.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
Our first order of business, upon receiving such a report, is to seek
|
2004-08-20 23:25:45 +00:00
|
|
|
independent confirmation. When possible, we get a copy of the software
|
|
|
|
product. For example, if it is an offering that is downloadable from a
|
|
|
|
Web site, we download it and investigate ourselves. When it is not
|
2004-01-16 20:00:33 +00:00
|
|
|
possible for us to actually get a copy of the software, we ask the
|
2004-02-12 21:08:33 +00:00
|
|
|
reporter to go through the same process we would use in examining the
|
|
|
|
software.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
By rough estimation, about 95\% of violations at this stage can be
|
2004-08-20 23:25:45 +00:00
|
|
|
confirmed by simple commands. Almost all violators have merely made an
|
|
|
|
error and have no nefarious intentions. They have made no attempt to
|
|
|
|
remove our copyright notices from the software. Thus, given the
|
2004-02-12 21:08:33 +00:00
|
|
|
third-party binary, {\tt tpb}, usually, a simple command (on a GNU/Linux
|
|
|
|
system) such as the following will find a Free Software copyright notice
|
|
|
|
and GPL reference:
|
2004-01-16 20:00:33 +00:00
|
|
|
\begin{quotation}
|
2004-02-12 21:08:33 +00:00
|
|
|
{\tt strings tpb | grep Copyright}
|
2004-01-16 20:00:33 +00:00
|
|
|
\end{quotation}
|
|
|
|
In other words, it is usually more than trivial to confirm that GPL'd
|
|
|
|
software is included.
|
|
|
|
|
|
|
|
Once we have confirmed that a violation has indeed occurred, we must then
|
2004-08-20 23:25:45 +00:00
|
|
|
determine whose copyright has been violated. Contrary to popular belief,
|
2014-03-20 17:31:54 +00:00
|
|
|
FSF does not have the power to enforce the GPL in all cases. Since the GPL
|
2004-01-16 20:00:33 +00:00
|
|
|
operates under copyright law, the powers of enforcement --- to seek
|
2004-08-20 23:25:45 +00:00
|
|
|
redress once \S 4 has been invoked --- lie with the copyright holder of
|
|
|
|
the software. FSF is one of the largest copyright holders in the world of
|
|
|
|
GPL'd software, but we are by no means the only one. Thus, we sometimes
|
2004-02-12 21:08:33 +00:00
|
|
|
discover that while GPL'd code is present in the software, there is no
|
|
|
|
software copyrighted by FSF present.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
In cases where FSF does not hold copyright interest in the software, but
|
|
|
|
we have confirmed a violation, we contact the copyright holders of the
|
2014-03-20 17:31:54 +00:00
|
|
|
software, and encourage them to enforce the GPL\@. We offer our good offices
|
2004-08-20 23:25:45 +00:00
|
|
|
to help negotiate compliance on their behalf, and many times, we help as a
|
|
|
|
third party to settle such GPL violations. However, what we will describe
|
2004-02-12 21:08:33 +00:00
|
|
|
primarily in this course is FSF's first-hand experience enforcing its own
|
2014-03-20 17:31:54 +00:00
|
|
|
copyrights and the GPL\@.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
2004-01-15 23:19:24 +00:00
|
|
|
\section{First Contact}
|
|
|
|
|
|
|
|
The Free Software community is built on a structure of voluntary
|
2004-08-20 23:25:45 +00:00
|
|
|
cooperation and mutual help. Our community has learned that cooperation
|
2004-01-16 20:00:33 +00:00
|
|
|
works best when you assume the best of others, and only change policy,
|
|
|
|
procedures and attitudes when some specific event or occurrence indicates
|
2004-08-20 23:25:45 +00:00
|
|
|
that a change is necessary. We treat the process of GPL enforcement in
|
|
|
|
the same way. Our goal is to encourage violators to join the cooperative
|
|
|
|
community of software sharing, so we want to open our hand in friendship.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
Therefore, once we have confirmed a violation, our first assumption is
|
|
|
|
that the violation is an oversight or otherwise a mistake due to confusion
|
2004-08-20 23:25:45 +00:00
|
|
|
about the terms of the license. We reach out to the violator and ask them
|
2004-01-16 20:00:33 +00:00
|
|
|
to work with us in a collaborative way to bring the product into
|
2004-08-20 23:25:45 +00:00
|
|
|
compliance. We have received the gamut of possible reactions to such
|
2004-01-16 20:00:33 +00:00
|
|
|
requests, and in this course, we examine four specific examples of such
|
|
|
|
compliance work.
|
2004-01-15 23:19:24 +00:00
|
|
|
|
|
|
|
|
2004-01-16 20:00:33 +00:00
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
2014-02-20 17:53:30 +00:00
|
|
|
\chapter{Bortez: Modified GCC SDK}
|
2004-01-16 20:00:33 +00:00
|
|
|
|
2014-02-20 17:53:30 +00:00
|
|
|
In our first case study, we will consider Bortez, a company that
|
2004-08-20 23:25:45 +00:00
|
|
|
produces software and hardware toolkits to assist OEM vendors, makers
|
|
|
|
of consumer electronic devices.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
\section{Facts}
|
|
|
|
|
2014-02-20 17:53:30 +00:00
|
|
|
One of Bortez's key products is a Software Development Kit (``SDK'')
|
2004-01-16 20:00:33 +00:00
|
|
|
designed to assist developers building software for a specific class of
|
|
|
|
consumer electronics devices.
|
|
|
|
|
|
|
|
FSF received a report that the SDK may be based on the GNU Compiler
|
|
|
|
Collection (which is an FSF-copyrighted collection of tools for software
|
2004-08-20 23:25:45 +00:00
|
|
|
development in C, C++ and other popular languages). FSF investigated the
|
|
|
|
claim, but was unable to confirm the violation. The violation reporter
|
2004-01-16 20:00:33 +00:00
|
|
|
was unresponsive to follow-up requests for more information.
|
|
|
|
|
|
|
|
Since FSF was unable to confirm the violation, we did not pursue it any
|
2004-08-20 23:25:45 +00:00
|
|
|
further. Bogus reports do happen, and we do not want to burden companies
|
|
|
|
with specious GPL violation complaints. FSF shelved the matter until
|
2004-01-16 20:00:33 +00:00
|
|
|
more evidence was discovered.
|
|
|
|
|
|
|
|
FSF was later able to confirm the violation when two additional reports
|
2004-02-12 21:08:33 +00:00
|
|
|
surfaced from other violation reporters, both of whom had used the SDK
|
2004-08-20 23:25:45 +00:00
|
|
|
professionally and noticed clear similarities to FSF's GNU GCC\@. FSF's
|
2004-01-16 20:00:33 +00:00
|
|
|
Compliance Engineer asked the reporters to run standard tests to confirm
|
2014-02-20 17:53:30 +00:00
|
|
|
the violation, and it was confirmed that Bortez's SDK was indeed a
|
2014-10-16 02:14:45 +00:00
|
|
|
modified version of GCC\@. Bortez had ported to Windows and added a number
|
2004-02-12 21:08:33 +00:00
|
|
|
of features, including support for a specific consumer device chipset and
|
|
|
|
additional features to aid in the linking process (``LP'') for those
|
2004-08-20 23:25:45 +00:00
|
|
|
specific devices. FSF explained the rights that the GPL afforded these
|
2014-02-20 17:53:30 +00:00
|
|
|
customers and pointed out, for example, that Bortez only needed to provide
|
2004-01-16 20:00:33 +00:00
|
|
|
source to those in possession of the binaries, and that the users may need
|
2004-08-20 23:25:45 +00:00
|
|
|
to request that source (if \S 3(b) was exercised). The violators
|
2004-01-16 20:00:33 +00:00
|
|
|
confirmed that such requests were not answered.
|
|
|
|
|
2014-02-20 17:53:30 +00:00
|
|
|
FSF brought the matter to the attention of Bortez, who immediately
|
2004-08-20 23:25:45 +00:00
|
|
|
escalated the matter to their attorneys. After a long negotiation,
|
2014-10-16 02:14:45 +00:00
|
|
|
Bortez acknowledged that their SDK was indeed a modified version of
|
2014-02-20 17:53:30 +00:00
|
|
|
GCC\@. Bortez released most of the source, but some disagreement
|
2014-10-16 02:14:45 +00:00
|
|
|
occurred over whether LP was also derivative of GCC\@. After repeated
|
2014-02-20 17:53:30 +00:00
|
|
|
FSF inquiries, Bortez reaudited the source to discover that FSF's
|
|
|
|
analysis was correct. Bortez determined that LP included a number of
|
2004-08-20 23:25:45 +00:00
|
|
|
source files copied from the GCC code-base.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
\label{davrik-build-problems}
|
2004-02-12 21:08:33 +00:00
|
|
|
Once the full software release was made available, FSF asked the violation
|
2004-08-20 23:25:45 +00:00
|
|
|
reporters if it addressed the problem. Reports came back that the source
|
2014-02-20 17:53:30 +00:00
|
|
|
did not properly build. FSF asked Bortez to provide better build
|
2004-02-12 21:08:33 +00:00
|
|
|
instructions with the software, and such build instructions were
|
|
|
|
incorporated into the next software release.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
2014-02-20 17:53:30 +00:00
|
|
|
At FSF's request as well, Bortez informed customers who had previously
|
2004-08-20 23:25:45 +00:00
|
|
|
purchased the product that the source was now available by announcing
|
2014-03-20 17:07:33 +00:00
|
|
|
the availability on its Web site and via a customer newsletter.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
2014-02-20 17:53:30 +00:00
|
|
|
Bortez did have some concerns regarding patents. They wished to include a
|
2004-01-16 20:00:33 +00:00
|
|
|
statement with the software release that made sure they were not granting
|
2014-03-20 17:31:54 +00:00
|
|
|
any patent permission other than what was absolutely required by the GPL\@.
|
2004-01-16 20:00:33 +00:00
|
|
|
They understood that their patent assertions could not trump any rights
|
2014-03-20 17:31:54 +00:00
|
|
|
granted by the GPL\@. The following language was negotiated into the release:
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
\begin{quotation}
|
2014-02-20 17:53:30 +00:00
|
|
|
Subject to the qualifications stated below, Bortez, on behalf of itself
|
2004-01-16 20:00:33 +00:00
|
|
|
and its Subsidiaries, agrees not to assert the Claims against you for your
|
2014-02-20 17:53:30 +00:00
|
|
|
making, use, offer for sale, sale, or importation of the Bortez's GNU
|
|
|
|
Utilities or derivative works of the Bortez's GNU Utilities
|
2004-08-20 23:25:45 +00:00
|
|
|
(``Derivatives''), but only to the extent that any such Derivatives are
|
|
|
|
licensed by you under the terms of the GNU General Public License. The
|
2014-02-20 17:53:30 +00:00
|
|
|
Claims are the claims of patents that Bortez or its Subsidiaries have
|
2004-01-16 20:00:33 +00:00
|
|
|
standing to enforce that are directly infringed by the making, use, or
|
2014-02-20 17:53:30 +00:00
|
|
|
sale of an Bortez Distributed GNU Utilities in the form it was distributed
|
|
|
|
by Bortez and that do not include any limitation that reads on hardware;
|
|
|
|
the Claims do not include any additional patent claims held by Bortez that
|
2004-01-16 20:00:33 +00:00
|
|
|
cover any modifications of, derivative works based on or combinations with
|
2014-02-20 17:53:30 +00:00
|
|
|
the Bortez's GNU Utilities, even if such a claim is disclosed in the same
|
2004-08-20 23:25:45 +00:00
|
|
|
patent as a Claim. Subsidiaries are entities that are wholly owned by
|
2014-02-20 17:53:30 +00:00
|
|
|
Bortez.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
This statement does not negate, limit or restrict any rights you already
|
2004-08-20 23:25:45 +00:00
|
|
|
have under the GNU General Public License version 2.
|
2004-01-16 20:00:33 +00:00
|
|
|
\end{quotation}
|
|
|
|
|
2014-02-20 17:53:30 +00:00
|
|
|
This quelled Bortez's concerns about other patent licensing they sought to
|
|
|
|
do outside of the GPL'd software, and satisfied FSF's concerns that Bortez
|
2004-02-12 21:08:33 +00:00
|
|
|
give proper permissions to exercise teachings of patents that were
|
2004-01-16 20:00:33 +00:00
|
|
|
exercised in their GPL'd software release.
|
|
|
|
|
2014-02-20 17:53:30 +00:00
|
|
|
Finally, a GPL Compliance Officer inside Bortez was appointed to take
|
2004-08-20 23:25:45 +00:00
|
|
|
responsibility for all matters of GPL compliance inside the company.
|
2014-04-03 00:58:40 +00:00
|
|
|
Bortez is responsible for informing FSF if the position is given to
|
2004-08-20 23:25:45 +00:00
|
|
|
someone else inside the company, and making sure that FSF has direct
|
2014-04-03 00:58:40 +00:00
|
|
|
contact with Bortez's Compliance Officer.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
\section{Lessons}
|
|
|
|
|
|
|
|
This case introduces a number of concepts regarding GPL enforcement.
|
|
|
|
|
|
|
|
\begin{enumerate}
|
|
|
|
|
|
|
|
\item {\bf Enforcement should not begin until the evidence is confirmed.}
|
2014-04-03 00:57:55 +00:00
|
|
|
Most companies that distribute GPL'd software do so in compliance, and at
|
2004-08-20 23:25:45 +00:00
|
|
|
times, violation reports are mistaken. Even with extensive efforts in
|
2004-01-16 20:00:33 +00:00
|
|
|
GPL education, many users do not fully understand their rights and the
|
2004-08-20 23:25:45 +00:00
|
|
|
obligations that companies have. By working through the investigation
|
2004-01-16 20:00:33 +00:00
|
|
|
with reporters, the violation can be properly confirmed, and {\bf the
|
2004-02-12 21:08:33 +00:00
|
|
|
user of the software can be educated about what to expect with GPL'd
|
2004-08-20 23:25:45 +00:00
|
|
|
software}. When users and customers of GPL'd products know their
|
2004-02-12 21:08:33 +00:00
|
|
|
rights, what to expect, and how to properly exercise their rights
|
|
|
|
(particularly under \S 3(b)), it reduces the chances for user
|
|
|
|
frustration and inappropriate community outcry about an alleged GPL
|
|
|
|
violation.
|
|
|
|
|
|
|
|
\item {\bf GPL compliance requires friendly negotiation and cooperation.}
|
|
|
|
Often, attorneys and managers are legitimately surprised to find out
|
2004-08-20 23:25:45 +00:00
|
|
|
GPL'd software is included in their company's products. Engineers
|
2004-02-12 21:08:33 +00:00
|
|
|
sometimes include GPL'd software without understanding the requirements.
|
|
|
|
This does not excuse companies from their obligations under the license,
|
|
|
|
but it does mean that care and patience are essential for reaching GPL
|
2004-08-20 23:25:45 +00:00
|
|
|
compliance. We want companies to understand that participating and
|
2004-02-12 21:08:33 +00:00
|
|
|
benefiting from a collaborative Free Software community is not a burden,
|
|
|
|
so we strive to make the process of coming into compliance as smooth as
|
|
|
|
possible.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
\item {\bf Confirming compliance is a community effort.} The whole point
|
2014-03-20 17:31:54 +00:00
|
|
|
of making sure that software distributors respect the terms of the GPL is to
|
2004-01-16 20:00:33 +00:00
|
|
|
allow a thriving software sharing community to benefit and improve the
|
2004-08-20 23:25:45 +00:00
|
|
|
work. FSF is not the expert on how a compiler for consumer electronic
|
|
|
|
devices should work. We therefore inform the community who originally
|
2004-01-16 20:00:33 +00:00
|
|
|
brought the violation to our attention and ask them to assist in
|
2004-08-20 23:25:45 +00:00
|
|
|
evaluation and confirmation of the product's compliance. Of course, FSF
|
2004-01-16 20:00:33 +00:00
|
|
|
coordinates and oversees the process, but we do not want compliance for
|
|
|
|
compliance's sake; rather, we wish to foster a cooperating community of
|
|
|
|
development around the Free Software in question, and encourage the
|
|
|
|
once-violator to begin participating in that community.
|
|
|
|
|
|
|
|
\item {\bf Informing the harmed community is part of compliance.} FSF asks
|
|
|
|
violators to make some attempt --- such as via newsletters and the
|
2004-08-20 23:25:45 +00:00
|
|
|
company's Web site --- to inform those who already have the products as
|
2014-03-20 17:31:54 +00:00
|
|
|
to their rights under the GPL\@. One of the key thrusts of the GPL's \S 1 and
|
2004-08-20 23:25:45 +00:00
|
|
|
\S 3 is to {\em make sure the user knows she has these rights\/}. If a
|
2004-02-12 21:08:33 +00:00
|
|
|
product was received out of compliance by a customer, she may never
|
2004-08-20 23:25:45 +00:00
|
|
|
actually discover that she has such rights. Informing customers, in a
|
2004-02-12 21:08:33 +00:00
|
|
|
way that is not burdensome but has a high probability of successfully
|
2004-01-16 20:00:33 +00:00
|
|
|
reaching those who would seek to exercise their freedoms, is essential
|
|
|
|
to properly remedy the mistake.
|
|
|
|
|
|
|
|
\item {\bf Lines between various copyright, patent, and other legal
|
|
|
|
mechanisms must be precisely defined and considered.} The most
|
2014-02-20 17:53:30 +00:00
|
|
|
difficult negotiation point of the Bortez case was drafting language
|
|
|
|
that simultaneously protected Bortez's patent rights outside of the
|
2004-02-12 21:08:33 +00:00
|
|
|
GPL'd source, but was consistent with the implicit patent grant in
|
2014-03-20 17:31:54 +00:00
|
|
|
the GPL\@. As we discussed in the first course of this series, there is
|
|
|
|
indeed an implicit patent grant with the GPL, thanks to \S 6 and \S 7.
|
2004-02-12 21:08:33 +00:00
|
|
|
However, many companies become nervous and wish to make the grant
|
2004-01-16 20:00:33 +00:00
|
|
|
explicit to assure themselves that the grant is sufficiently narrow for
|
2004-08-20 23:25:45 +00:00
|
|
|
their needs. We understand that there is no reasonable way to determine
|
2004-01-16 20:00:33 +00:00
|
|
|
what patent claims read on a company's GPL holdings and which do not, so
|
|
|
|
we do not object to general language that explicitly narrows the patent
|
|
|
|
grant to only those patents that were, in fact, exercised by the GPL'd
|
|
|
|
software as released by the company.
|
|
|
|
|
|
|
|
\end{enumerate}
|
2004-01-15 23:19:24 +00:00
|
|
|
|
2004-01-14 19:47:10 +00:00
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
2004-01-16 20:00:33 +00:00
|
|
|
\chapter{Bracken: a Minor Violation in a GNU/Linux Distribution}
|
|
|
|
|
2004-02-12 21:08:33 +00:00
|
|
|
In this case study, we consider a minor violation made by a company whose
|
2004-08-20 23:25:45 +00:00
|
|
|
knowledge of the Free Software community and its functions is deep.
|
2004-02-12 21:08:33 +00:00
|
|
|
|
|
|
|
\section{The Facts}
|
|
|
|
|
2004-01-16 20:00:33 +00:00
|
|
|
Bracken produces a GNU/Linux operating system product that is sold
|
2004-08-20 23:25:45 +00:00
|
|
|
primarily to OEM vendors to be placed in appliance devices used for a
|
|
|
|
single purpose, such as an Internet-browsing-only device. The product
|
2014-03-20 17:31:54 +00:00
|
|
|
is almost 100\% Free Software, mostly licensed under the GPL and related
|
2004-08-20 23:25:45 +00:00
|
|
|
Free Software licenses.
|
|
|
|
|
|
|
|
FSF found out about this violation through a report first posted on a
|
|
|
|
Slashdot\footnote{Slashdot is a popular news and discussion site for
|
|
|
|
technical readers.} comment, and then it was brought to our attention again
|
|
|
|
by another Free Software copyright holder who had discovered the
|
|
|
|
same violation.
|
|
|
|
|
|
|
|
Bracken's GNU/Linux product is delivered directly from their Web site.
|
|
|
|
This allowed FSF engineers to directly download and confirm the
|
|
|
|
violation quickly. Two primary problems were discovered with the
|
2004-01-16 20:00:33 +00:00
|
|
|
online distribution:
|
|
|
|
|
|
|
|
\begin{itemize}
|
|
|
|
|
|
|
|
\item No source code nor offer for source code was provided for a number
|
|
|
|
of components for the distributed GNU/Linux system; only binaries were
|
2004-08-20 23:25:45 +00:00
|
|
|
available
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
\item An End User License Agreement (``EULA'') was included that
|
2014-03-20 17:31:54 +00:00
|
|
|
contradicted the permissions granted by the GPL\@
|
2004-08-20 23:25:45 +00:00
|
|
|
|
2004-01-16 20:00:33 +00:00
|
|
|
\end{itemize}
|
|
|
|
|
2004-08-20 23:25:45 +00:00
|
|
|
FSF contacted Bracken and gave them the details of the violation. Bracken
|
|
|
|
immediately ceased distribution of the product temporarily and set forth
|
|
|
|
a plan to bring themselves back into compliance. This plan included the
|
2004-01-16 20:00:33 +00:00
|
|
|
following steps:
|
|
|
|
|
|
|
|
\begin{itemize}
|
|
|
|
|
2014-03-20 17:31:54 +00:00
|
|
|
\item Bracken attorneys would rewrite the EULA to comply with the GPL and
|
2004-08-20 23:25:45 +00:00
|
|
|
would vet the new EULA through FSF before use
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
\item Bracken engineers would provide source side-by-side with the
|
|
|
|
binaries for the GNU/Linux distribution on the site (and on CD's, if
|
2004-08-20 23:25:45 +00:00
|
|
|
ever they distributed that way)
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
\item Bracken attorneys would run an internal seminar for its engineers
|
2004-08-20 23:25:45 +00:00
|
|
|
regarding proper GPL compliance to help ensure that such oversights
|
|
|
|
regarding source releases would not occur in the future
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
\item Bracken would resume distribution of the product only after FSF
|
2004-08-20 23:25:45 +00:00
|
|
|
formally restored Bracken's distribution rights
|
2004-01-16 20:00:33 +00:00
|
|
|
\end{itemize}
|
|
|
|
|
2004-08-20 23:25:45 +00:00
|
|
|
This case was completed in about a month. FSF approved the new EULA
|
2014-03-20 17:31:54 +00:00
|
|
|
text. The key portion in the EULA relating to the GPL read as follows:
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
\begin{quotation}
|
|
|
|
Many of the Software Programs included in Bracken Software are distributed
|
|
|
|
under the terms of agreements with Third Parties (``Third Party
|
|
|
|
Agreements'') which may expand or limit the Licensee's rights to use
|
2004-08-20 23:25:45 +00:00
|
|
|
certain Software Programs as set forth in [this EULA]. Certain Software
|
2004-01-16 20:00:33 +00:00
|
|
|
Programs may be licensed (or sublicensed) to Licensee under the GNU
|
|
|
|
General Public License and other similar license agreements listed in part
|
|
|
|
in this section which, among other rights, permit the Licensee to copy,
|
|
|
|
modify and redistribute certain Software Programs, or portions thereof,
|
|
|
|
and have access to the source code of certain Software Programs, or
|
2004-08-20 23:25:45 +00:00
|
|
|
portions thereof. In addition, certain Software Programs, or portions
|
2004-01-16 20:00:33 +00:00
|
|
|
thereof, may be licensed (or sublicensed) to Licensee under terms stricter
|
2004-08-20 23:25:45 +00:00
|
|
|
than those set forth in [this EULA]. The Licensee must review the
|
2004-01-16 20:00:33 +00:00
|
|
|
electronic documentation that accompanies certain Software Programs, or
|
2004-08-20 23:25:45 +00:00
|
|
|
portions thereof, for the applicable Third Party Agreements. To the
|
2004-01-16 20:00:33 +00:00
|
|
|
extent any Third Party Agreements require that Bracken provide rights to
|
|
|
|
use, copy or modify a Software Program that are broader than the rights
|
|
|
|
granted to the Licensee in [this EULA], then such rights shall take
|
|
|
|
precedence over the rights and restrictions granted in this Agreement
|
|
|
|
solely for such Software Programs.
|
|
|
|
\end{quotation}
|
|
|
|
|
|
|
|
FSF restored Bracken's distribution rights shortly after the work was
|
|
|
|
completed as described.
|
|
|
|
|
|
|
|
\section{Lessons Learned}
|
|
|
|
|
2004-02-12 21:08:33 +00:00
|
|
|
This case was probably the most quickly and easily resolved of all GPL
|
2004-08-20 23:25:45 +00:00
|
|
|
violations in the history of FSF's Compliance Lab. The ease with which
|
2004-01-16 20:00:33 +00:00
|
|
|
the problem was resolved shows a number of cultural factors that play a
|
|
|
|
role in GPL compliance.
|
|
|
|
|
|
|
|
\begin{enumerate}
|
|
|
|
|
|
|
|
\item {\bf Companies that understand Free Software culture better have an
|
|
|
|
easier time with compliance.} Bracken's products were designed and
|
2004-08-20 23:25:45 +00:00
|
|
|
built around the GNU/Linux system and Free Software components. Their
|
2004-01-16 20:00:33 +00:00
|
|
|
engineers were deeply familiar with the Free Software ecosystem, and
|
2014-03-20 17:31:54 +00:00
|
|
|
their lawyers had seen and reviewed the GPL before. The violation was
|
2004-08-20 23:25:45 +00:00
|
|
|
completely an honest mistake. Since the culture inside the company had
|
2004-02-12 21:08:33 +00:00
|
|
|
already adapted to the cooperative style of resolution in the Free
|
|
|
|
Software world, there was very little work for either party to bring the
|
|
|
|
product into compliance.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
\item {\bf When people in key positions understand the Free Software
|
2004-08-20 23:25:45 +00:00
|
|
|
nature of their software products, compliance concerns are as
|
|
|
|
mundane as minor software bugs.} Even the most functional system or
|
|
|
|
structure has its problems, and successful business often depends on
|
|
|
|
agile response to the problems that do come up; avoiding problems
|
|
|
|
altogether is a pipe dream. Minor GPL violations can and do happen
|
|
|
|
even with well-informed redistributors. However, resolution is
|
|
|
|
reached quickly when the company --- and in particular, the lawyers,
|
|
|
|
managers, and engineers working on the Free Software product lines
|
|
|
|
--- have adapted to Free Software culture that the lower-level
|
|
|
|
engineer already understood
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
\item {\bf Legally, distribution must stop when a violation is
|
2004-02-12 21:08:33 +00:00
|
|
|
identified.} In our opinion, Bracken went above and beyond the call of
|
|
|
|
duty by ceasing distribution while the violation was being resolved.
|
|
|
|
Under GPL \S 4, the redistributor loses the right to distribute the
|
|
|
|
software, and thus they are in ongoing violation of copyright law if
|
2004-08-20 23:25:45 +00:00
|
|
|
they distribute before rights are restored. It is FSF's policy to
|
2004-02-12 21:08:33 +00:00
|
|
|
temporarily allow distribution while compliance negotiations are ongoing
|
|
|
|
and only in the most extreme cases (where the other party appears to be
|
|
|
|
negotiating in bad faith) does FSF even threaten an injunction on
|
2004-08-20 23:25:45 +00:00
|
|
|
copyright grounds. However, Bracken --- as a good Free Software citizen
|
2004-02-12 21:08:33 +00:00
|
|
|
--- chose to be on the safe side and do the legally correct thing while
|
2004-08-20 23:25:45 +00:00
|
|
|
the violation case was pending. From start to finish, it took less
|
|
|
|
than a month to resolve. This lapse in distribution did not, to FSF's
|
2004-02-12 21:08:33 +00:00
|
|
|
knowledge, impact Bracken's business in any way.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
2004-08-20 23:25:45 +00:00
|
|
|
\item {\bf EULAs are a common area for GPL problems.} Often, EULAs
|
|
|
|
are drafted from boilerplate text that a company uses for all its
|
|
|
|
products. Even the most diligent attorneys forget or simply do not
|
2014-03-20 17:31:54 +00:00
|
|
|
know that a product contains software licensed under the GPL and other
|
2004-08-20 23:25:45 +00:00
|
|
|
Free Software licenses. Drafting a EULA that accounts for such
|
|
|
|
licenses is straightforward; the text quoted above works just fine.
|
|
|
|
The EULA must be designed so that it does not trump rights and
|
2014-03-20 17:31:54 +00:00
|
|
|
permissions already granted by the GPL\@. The EULA must clearly state
|
|
|
|
that if there is a conflict between it and the GPL, with regard to GPL'd
|
2004-08-20 23:25:45 +00:00
|
|
|
code, the GPL is the overriding license.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
\item {\bf Compliance Officers are rarely necessary when companies are
|
2014-02-20 17:53:30 +00:00
|
|
|
educated about GPL compliance.} As we saw in the Bortez case, FSF asks
|
2004-01-16 20:00:33 +00:00
|
|
|
that a formal ``GPL Compliance Officer'' be appointed inside a
|
|
|
|
previously violating organization to shepherd the organization to a
|
2004-08-20 23:25:45 +00:00
|
|
|
cooperative approach to GPL compliance. However, when FSF
|
2004-01-16 20:00:33 +00:00
|
|
|
sees that an organization already has such an approach, there is no
|
|
|
|
need to request that such an officer be appointed.
|
|
|
|
|
|
|
|
\end{enumerate}
|
|
|
|
|
2004-01-14 19:47:10 +00:00
|
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
2004-01-16 20:00:33 +00:00
|
|
|
\chapter{Vigorien: Security, Export Controls, and GPL Compliance}
|
|
|
|
|
|
|
|
This case study introduces how concerns of ``security through obscurity''
|
|
|
|
and regulatory problems can impact GPL compliance matters.
|
|
|
|
|
|
|
|
\section{The Facts}
|
|
|
|
|
2004-08-20 23:25:45 +00:00
|
|
|
Vigorien distributes a back-up solution product that allows system
|
|
|
|
administrators to create encrypted backups of file-systems on
|
|
|
|
Unix-like computers. The product is based on GNU tar, a backup utility
|
|
|
|
that replaces the standard Unix utility simply called tar, but has
|
|
|
|
additional features.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
Vigorien's backup solution added cryptographic features to GNU tar, and
|
|
|
|
included a suite of utilities and graphical user interfaces surrounding
|
|
|
|
GNU tar to make backups convenient.
|
|
|
|
|
|
|
|
FSF discovered the violation from a user report, and determined that the
|
|
|
|
cryptographic features were the only part of the product that constituted
|
|
|
|
a derivative work of GNU tar; the extraneous utilities merely made
|
2004-08-20 23:25:45 +00:00
|
|
|
shell calls out to GNU tar. FSF requested that Vigorien come into
|
2014-03-20 17:31:54 +00:00
|
|
|
compliance with the GPL by releasing the source of GNU tar, with the
|
2004-01-16 20:00:33 +00:00
|
|
|
cryptographic modifications, to its customers.
|
|
|
|
|
2004-02-12 21:08:33 +00:00
|
|
|
Vigorien released the original GNU tar sources, but kept the cryptographic
|
2004-08-20 23:25:45 +00:00
|
|
|
modifications proprietary. They argued that the security of their system
|
2004-02-12 21:08:33 +00:00
|
|
|
depending on keeping the software proprietary and that regardless, USA
|
|
|
|
export restrictions on cryptographic software prohibited such a release.
|
|
|
|
FSF disputed the first claim, pointing out that Vigorien had only one
|
|
|
|
option if they did not want to release the source: they would have to
|
2004-08-20 23:25:45 +00:00
|
|
|
remove GNU tar from the software and not distribute it further. Vigorien
|
2004-02-12 21:08:33 +00:00
|
|
|
rejected this suggestion, since GNU tar was an integral part of the
|
2004-08-20 23:25:45 +00:00
|
|
|
product, and the security changes were useless without GNU tar.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
Regarding the export control claims, FSF proposed a number of options,
|
|
|
|
including release of the source from one of Vigorien's divisions overseas
|
|
|
|
where no such restrictions occurred, but Vigorien argued that the problem
|
|
|
|
was insoluble because they operated primarily in the USA\@.
|
|
|
|
|
|
|
|
The deadlock on the second issue was resolved when those cryptographic
|
|
|
|
export restrictions were lifted shortly thereafter, and FSF again raised
|
2004-08-20 23:25:45 +00:00
|
|
|
the matter with Vigorien. At that point, they dropped the first claim and
|
|
|
|
agreed to release the remaining source module to their customers. They
|
2004-01-16 20:00:33 +00:00
|
|
|
did so, and the violation was resolved.
|
|
|
|
|
|
|
|
|
|
|
|
\section{Lessons Learned}
|
|
|
|
|
|
|
|
\begin{enumerate}
|
|
|
|
|
2004-08-20 23:25:45 +00:00
|
|
|
\item {\bf Removing the GPL'd portion of the product is always an
|
|
|
|
option.} Many violators' first response is to simply refuse to
|
2014-03-20 17:31:54 +00:00
|
|
|
release the source code as the GPL requires. FSF offers the option to
|
2004-08-20 23:25:45 +00:00
|
|
|
simply remove the GPL'd portions from the product and continue along
|
|
|
|
without them. Every case where this has been suggested has led to
|
|
|
|
the same conclusion. Like Vigorien, the violator argues that the
|
|
|
|
product cannot function without the GPL'd components, and they
|
|
|
|
cannot effectively replace them.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
2004-02-12 21:08:33 +00:00
|
|
|
Such an outcome is simply further evidence that the combined work in
|
2014-10-16 02:14:45 +00:00
|
|
|
question is indeed a modified version of the original GPL'd component.
|
2004-01-16 20:00:33 +00:00
|
|
|
If the other components cannot stand on their own and be useful without
|
|
|
|
the GPL'd portions, then one cannot effectively argue that the work as a
|
2014-10-16 02:14:45 +00:00
|
|
|
whole is not a based on the GPL'd portions.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
2004-02-12 21:08:33 +00:00
|
|
|
\item {\bf The whole product is not always covered.} In this case,
|
2004-08-20 23:25:45 +00:00
|
|
|
Vigorien had additional works aggregated. The backup system was a suite
|
2014-03-20 17:31:54 +00:00
|
|
|
of utilities, some of which were the GPL and some of which were not. While
|
2004-02-12 21:08:33 +00:00
|
|
|
the cryptographic routines were tightly coupled with GNU tar and clearly
|
2014-10-16 02:14:45 +00:00
|
|
|
made a whole new combined work of both components, the various GUI utilities were separate and
|
2004-02-12 21:08:33 +00:00
|
|
|
independent works merely aggregated with the distribution of the
|
|
|
|
GNU-tar-based product.
|
|
|
|
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
\item {\bf ``Security'' concerns do not exonerate a distributor from GPL
|
|
|
|
obligations, and ``security through obscurity'' does not work anyway.}
|
|
|
|
The argument that ``this is security software, so it cannot be released
|
|
|
|
in source form'' is not a valid defense for explaining why the terms of
|
2004-08-20 23:25:45 +00:00
|
|
|
the GPL are ignored. If companies do not want to release source code
|
2004-01-16 20:00:33 +00:00
|
|
|
for some reason, then they should not base the work on GPL'd software.
|
2004-08-20 23:25:45 +00:00
|
|
|
No external argument for noncompliance can hold weight if the work as
|
2014-10-16 02:14:45 +00:00
|
|
|
a whole is indeed a modified version of a GPL'd program.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
The ``security concerns'' argument is often floated as a reason to keep
|
|
|
|
software proprietary, but the computer security community has on
|
|
|
|
numerous occasions confirmed that such arguments are entirely specious.
|
|
|
|
Security experts have found --- since the beginnings of the field of
|
2004-08-20 23:25:45 +00:00
|
|
|
cryptography in the ancient world --- that sharing results about systems
|
2004-01-16 20:00:33 +00:00
|
|
|
and having such systems withstand peer review and scrutiny builds the
|
2004-08-20 23:25:45 +00:00
|
|
|
most secure systems. While full disclosure may help some who wish to
|
2004-01-16 20:00:33 +00:00
|
|
|
compromise security, it helps those who want to fix problems even more
|
|
|
|
by identifying them early.
|
|
|
|
|
|
|
|
\item {\bf External regulatory problems can be difficult to resolve.}
|
2014-03-20 17:31:54 +00:00
|
|
|
The GPL, though grounded in copyright law, does not have the power to trump
|
2004-08-20 23:25:45 +00:00
|
|
|
regulations like export controls. While Vigorien's ``security
|
|
|
|
concerns'' were specious, their export control concerns were not. It is
|
|
|
|
indeed a difficult problem that FSF acknowledges. We want compliance
|
2014-03-20 17:31:54 +00:00
|
|
|
with the GPL and respect for users' freedoms, but we certainly do not expect
|
2004-08-20 23:25:45 +00:00
|
|
|
companies to commit criminal offenses for the sake of compliance. We
|
2004-01-16 20:00:33 +00:00
|
|
|
will see more about this issue in our next case study.
|
|
|
|
\end{enumerate}
|
|
|
|
|
2004-01-14 19:47:10 +00:00
|
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
2004-01-16 20:00:33 +00:00
|
|
|
\chapter{Haxil, Polgara, and Thesulac: Mergers, Upstream Providers and Radio Devices}
|
|
|
|
|
|
|
|
This case study considers an ongoing (at the time of writing) violation
|
2004-08-20 23:25:45 +00:00
|
|
|
that has occurred. By the end of the investigation period, three
|
2004-02-12 21:08:33 +00:00
|
|
|
companies were involved and many complex issues arose.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
\section{The Facts}
|
|
|
|
|
|
|
|
Haxil produced a consumer electronics device which included a mini
|
2004-08-20 23:25:45 +00:00
|
|
|
GNU/Linux distribution to control the device. The device was of interest
|
|
|
|
to many technically-minded consumers, who purchased the device and very
|
2004-01-16 20:00:33 +00:00
|
|
|
quickly discovered that Free Software was included without source.
|
|
|
|
Mailing lists throughout the Free Software community erupted with
|
|
|
|
complaints about the problem, and FSF quickly investigated.
|
|
|
|
|
2004-08-20 23:25:45 +00:00
|
|
|
FSF confirmed that FSF-copyrighted GPL'd software was included. In
|
2004-01-16 20:00:33 +00:00
|
|
|
addition, the whole distribution included GPL'd works from hundreds of
|
|
|
|
individual copyright holders, many of whom were, at this point, up in
|
|
|
|
arms about the violation.
|
|
|
|
|
2004-08-20 23:25:45 +00:00
|
|
|
Meanwhile, Haxil was in the midst of being acquired by Polgara. Polgara
|
2004-01-16 20:00:33 +00:00
|
|
|
was as surprised as everyone else to discover the product was based on
|
2004-02-12 21:08:33 +00:00
|
|
|
GPL'd software; this fact had not been part of the disclosures made during
|
2004-08-20 23:25:45 +00:00
|
|
|
acquisition. FSF contacted Haxil, Polgara, and the product managers
|
2004-02-12 21:08:33 +00:00
|
|
|
who had transitioned into the ``Haxil division'' of the newly-merged
|
2004-08-20 23:25:45 +00:00
|
|
|
Polgara company. Polgara's General Counsel's office worked with FSF on
|
2004-01-16 20:00:33 +00:00
|
|
|
the matter.
|
|
|
|
|
2004-08-20 23:25:45 +00:00
|
|
|
FSF formed a coalition with the other primary copyright holders
|
|
|
|
to pursue the enforcement effort on their behalf. FSF communicated
|
2004-01-16 20:00:33 +00:00
|
|
|
directly with Polgara's representatives to begin working through the
|
2004-08-20 23:25:45 +00:00
|
|
|
issues on behalf of itself and the Free Software community at large.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
Polgara pointed out that the software distribution they used was mostly
|
|
|
|
contributed by an upstream provider, Thesulac, and Haxil's changes to that
|
2004-08-20 23:25:45 +00:00
|
|
|
code base were minimal. Polgara negotiated with Thesulac to obtain the
|
|
|
|
source, although the issue moved very slowly in the channels between
|
2004-01-16 20:00:33 +00:00
|
|
|
Polgara and Thesulac.
|
|
|
|
|
|
|
|
FSF encouraged a round-table meeting so that high bandwidth communication
|
2004-08-20 23:25:45 +00:00
|
|
|
could occur between FSF, Polgara and Thesulac. Polgara and Thesulac
|
|
|
|
agreed, and that discussion began. Thesulac provided nearly complete
|
2004-01-16 20:00:33 +00:00
|
|
|
sources to Polgara, and Polgara made a full software release on their
|
2004-08-20 23:25:45 +00:00
|
|
|
Web site. At the time of writing, that software still has some build
|
2014-02-20 17:53:30 +00:00
|
|
|
problems (similar to those that occurred with Bortez, as described in
|
2004-08-20 23:25:45 +00:00
|
|
|
Section~\ref{davrik-build-problems}). FSF continues to negotiate with
|
2004-01-16 20:00:33 +00:00
|
|
|
Polgara and Thesulac to resolve these problems, which have a clear path to
|
2004-08-20 23:25:45 +00:00
|
|
|
a solution and are expected to resolve.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
2004-08-20 23:25:45 +00:00
|
|
|
Similar to the Vigorien case, Thesulac has regulatory concerns. In this
|
2004-01-16 20:00:33 +00:00
|
|
|
case, it is not export controls --- an issue that has since been resolved
|
2004-08-20 23:25:45 +00:00
|
|
|
--- but radio spectrum regulation. Since this consumer electronic device
|
2004-01-16 20:00:33 +00:00
|
|
|
contains a software-programmable radio transmitter, regulations in (at
|
|
|
|
least) the USA and Japan prohibit release of those portions of the code
|
2004-08-20 23:25:45 +00:00
|
|
|
that operate the device. Since this is a low-level programming issue, the
|
2014-10-16 02:14:45 +00:00
|
|
|
changes to operate the device form a single combined work with the kernel named
|
2014-10-15 23:11:15 +00:00
|
|
|
Linux. A decade later, this situation remains largely unresolved.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
\section{Lessons Learned}
|
|
|
|
|
|
|
|
\begin{enumerate}
|
|
|
|
|
|
|
|
\item {\bf Community outrage, while justified, can often make negotiation
|
2004-02-12 21:08:33 +00:00
|
|
|
more difficult.} FSF has a strong policy never to publicize names of
|
|
|
|
GPL violators if they are negotiating in a friendly way and operating in
|
2004-08-20 23:25:45 +00:00
|
|
|
good faith toward compliance. Most violations are honest mistakes, and
|
|
|
|
FSF sees no reason to publicly admonish violators who genuinely want to
|
2014-03-20 17:31:54 +00:00
|
|
|
come into compliance with the GPL and to work hard staying in compliance.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
This case was so public in the Free Software community that both Haxil's
|
|
|
|
and Polgara's representatives were nearly shell-shocked by the time FSF
|
2004-08-20 23:25:45 +00:00
|
|
|
began negotiations. There was much work required to diffuse the
|
|
|
|
situation. We empathize with our community and their outrage about GPL
|
2004-01-16 20:00:33 +00:00
|
|
|
violations, but we also want to follow a path that leads expediently
|
2004-08-20 23:25:45 +00:00
|
|
|
to compliance. In our experience, public outcry works best as a last
|
2004-01-16 20:00:33 +00:00
|
|
|
resort, not the first.
|
|
|
|
|
|
|
|
\item {\bf For software companies, GPL compliance belongs on a corporate
|
|
|
|
acquisition checklist. } Polgara was truly amazed that Haxil had used
|
|
|
|
GPL'd software in a major new product line but never informed Polgara
|
2004-08-20 23:25:45 +00:00
|
|
|
during the acquisition process. While GPL compliance is not a
|
2004-01-16 20:00:33 +00:00
|
|
|
particularly difficult matter, it is an additional obligation that comes
|
2004-08-20 23:25:45 +00:00
|
|
|
along with the product line. When planning mergers and joint ventures,
|
2004-02-12 21:08:33 +00:00
|
|
|
one should include lists of GPL'd components contained in the products
|
|
|
|
discussed.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
\item {\bf Compliance problems of upstream providers do not excuse a
|
|
|
|
violation for the downstream distributor.} To paraphrase \S 6, upstream
|
|
|
|
providers are not responsible for enforcing compliance of their
|
|
|
|
downstream, nor are downstream distributors responsible for compliance
|
2004-08-20 23:25:45 +00:00
|
|
|
problems of upstream providers. However, engaging in distribution of
|
2004-02-12 21:08:33 +00:00
|
|
|
GPL'd works out of compliance is still just that: a compliance problem.
|
|
|
|
When FSF carries out enforcement, we are patient and sympathetic when
|
2004-08-20 23:25:45 +00:00
|
|
|
the problem appears to be upstream. In fact, we urge the violator to
|
|
|
|
point us to the upstream provider so we may talk to them directly. In
|
|
|
|
this case, we were happy to begin negotiations with Thesulac. However,
|
2004-02-12 21:08:33 +00:00
|
|
|
Polgara still has an obligation to bring their product into compliance,
|
|
|
|
regardless of Thesulac's response.
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
\item {\bf It behooves upstream providers to advise downstream
|
|
|
|
distributors about compliance matters.} FSF has encouraged Thesulac to
|
|
|
|
distribute a ``good practices for GPL compliance'' document with their
|
2004-08-20 23:25:45 +00:00
|
|
|
product. Polgara added various software components to Thesulac's
|
2004-01-16 20:00:33 +00:00
|
|
|
product, and it is conceivable that such additions can introduce
|
2004-08-20 23:25:45 +00:00
|
|
|
compliance. In FSF's opinion, Thesulac is in no way legally responsible
|
2004-01-16 20:00:33 +00:00
|
|
|
for such a violation introduced by their customer, but it behooves them
|
2004-02-12 21:08:33 +00:00
|
|
|
from a marketing standpoint to educate their customers about using the
|
2004-08-20 23:25:45 +00:00
|
|
|
product. We can argue whether or not it is your coffee vendor's fault
|
2004-01-16 20:00:33 +00:00
|
|
|
if you burn yourself with their product, but (likely) no one on either
|
|
|
|
side would dispute the prudence of placing a ``caution: hot'' label on
|
|
|
|
the cup.
|
|
|
|
|
|
|
|
\item {\bf FSF enforcement often avoids redundant enforcement cases from
|
|
|
|
many parties.} Most Free Software systems have hundreds of copyright
|
2004-08-20 23:25:45 +00:00
|
|
|
holders. Some have thousands. FSF is in a unique position as one of
|
2004-01-16 20:00:33 +00:00
|
|
|
the largest single copyright holders on GPL'd software and as a
|
2004-08-20 23:25:45 +00:00
|
|
|
respected umpire in the community, neutrally enforcing the rules of the
|
|
|
|
GPL road. FSF works hard in the community to convince copyright
|
2004-01-16 20:00:33 +00:00
|
|
|
holders that consolidating GPL claims through FSF is better for them,
|
|
|
|
and more likely to yield positive compliance results.
|
|
|
|
|
|
|
|
A few copyright holders engage in the ``proprietary relicensing''
|
|
|
|
business, so they use GPL enforcement as a sales channel for that
|
2004-08-20 23:25:45 +00:00
|
|
|
business. FSF, as a community-oriented, not-for-profit organization,
|
2004-01-16 20:00:33 +00:00
|
|
|
seeks only to preserve the freedom of Free Software in its enforcement
|
2004-08-20 23:25:45 +00:00
|
|
|
efforts. As it turns out, most of the community of copyright holders
|
|
|
|
of Free Software want the same thing. Share and share alike is a
|
2004-01-16 20:00:33 +00:00
|
|
|
simple rule to follow, and following that rule to FSF's satisfaction
|
|
|
|
usually means you are following it to the satisfaction of the entire
|
|
|
|
Free Software community.
|
2004-02-12 21:08:33 +00:00
|
|
|
|
2004-01-16 20:00:33 +00:00
|
|
|
\end{enumerate}
|
2004-01-14 19:47:10 +00:00
|
|
|
|
2014-10-18 22:49:39 +00:00
|
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
2014-11-02 20:40:43 +00:00
|
|
|
% FIXME: make this section properly TeX-formatted
|
2014-11-02 16:54:56 +00:00
|
|
|
\chapter{ThinkPenguin Wireless Router: A study in Excellent CCS}
|
2014-10-18 22:49:39 +00:00
|
|
|
|
2014-10-25 06:56:11 +00:00
|
|
|
This case study does a step-by-step build and installation analysis of one
|
|
|
|
of the best Complete, Corresponding Source (CCS) releases we've seen. The
|
|
|
|
CSS release studied here was provided for the binary distribution of a
|
2014-11-02 16:54:56 +00:00
|
|
|
physical product by ThinkPenguin. The product is the model
|
2014-10-25 06:56:11 +00:00
|
|
|
``TPE-NWIFIROUTER'', a wireless router.
|
|
|
|
|
|
|
|
The method of
|
2014-10-18 22:49:39 +00:00
|
|
|
distribution (complete source accompanying the product) and the way the source
|
|
|
|
was laid out provide very good examples of how to make things easier for both
|
|
|
|
the distributor and the purchaser of the hardware containing GPLed components.
|
|
|
|
|
|
|
|
\section{Root Filesystem and Kernel Compilation}
|
|
|
|
|
|
|
|
* We found a CD included in the box that the ThinkPenguin TPE-NWIFIROUTER
|
|
|
|
shipped in, labelled "libreCMC v1.2.1 source code". On the CD, there was a
|
|
|
|
README file at the top level, which mentioned that to build the software, one
|
|
|
|
needed a GNU/Linux system as well as a list of approximately 10 packages.
|
|
|
|
These sorts of plain text instructions are helpful because we know what kind
|
|
|
|
of system we are expected to use, and what commands we should run on it. Such
|
|
|
|
instructions are not strictly required, as an obviously-named shell script may
|
|
|
|
suffice, but they are helpful in clarifying any ambiguities that may arise.
|
2014-11-02 20:40:43 +00:00
|
|
|
** Since it appears that this source release will build on a wide range of
|
|
|
|
distributions, it was fine that no specific distribution was specified.
|
|
|
|
However, most source releases we see will only build on a very specific
|
|
|
|
distribution, due to a variety of assumptions made about the build
|
|
|
|
environment. While such a situation is not ideal in the general sense, it is
|
|
|
|
fine to specify a particular distribution that must be use to build the
|
|
|
|
source release (such as "Debian 7 amd64"), from a compliance perspective.
|
|
|
|
As an example, we noticed such an assumption later on in this source release,
|
|
|
|
but it would be easy to correct in the instructions in this situation (see
|
2014-11-06 13:25:55 +00:00
|
|
|
"`GLIBC\verb0_02.14' not found" below).
|
2014-10-25 06:57:52 +00:00
|
|
|
|
|
|
|
% FIXME: Spend some time here (admittedly a digression: maybe refer to
|
|
|
|
% another section later?) about how it's ok to specify a specific build
|
|
|
|
% environment.
|
2014-11-02 20:40:43 +00:00
|
|
|
% FIXME(dg): Hopefully the above will suffice. I can expand more/differently if
|
|
|
|
% such is desired.
|
2014-10-25 23:45:56 +00:00
|
|
|
|
|
|
|
* The actual building of the source code was completed in the following way:
|
|
|
|
** Since the instructions didn't mention a specific distro to use, we ran the
|
|
|
|
build on an amd64 Debian 6 machine we had. The only distro requirement was:
|
|
|
|
|
|
|
|
To build your own firmware you need to have access to a GNU/Linux system
|
|
|
|
(case-sensitive filesystem required).
|
|
|
|
|
|
|
|
** The README mentioned that:
|
|
|
|
|
|
|
|
"In order to build firmware images for your router,the
|
|
|
|
following needs to be installed :
|
|
|
|
|
|
|
|
gcc, binutils, bzip2, flex, python, perl, make, find,
|
|
|
|
grep, diff, unzip, gawk, getopt, libz-dev and libc headers."
|
|
|
|
|
|
|
|
So we ran "dpkg --list" and confirmed that each package was installed (this
|
|
|
|
is indicated by a leading "ii" on the line containing the package). Other
|
|
|
|
GNU/Linux distributions may have other ways of determing which packages are
|
|
|
|
installed.
|
|
|
|
** We then extracted the LibreCMC tarball by running
|
2014-11-06 13:25:55 +00:00
|
|
|
"tar --posix -jxpf /media/libreCMC\verb0_0v1\verb0_02\verb0_01\verb0_0SRC/librecmc-v1.2.1.tar.bz2". The
|
2014-10-25 23:45:56 +00:00
|
|
|
CD did contain another tarball (librecmc-u-boot.tar.bz2), but there appeared
|
2014-11-06 13:25:55 +00:00
|
|
|
to be separate instructions for that (in the u-boot\verb0_0reflash text file in the
|
2014-10-25 23:45:56 +00:00
|
|
|
same directory). Having the README be more explicit about this would be nice
|
|
|
|
but did not ultimately prevent us from determing the proper steps to execute.
|
|
|
|
** The README mentioned the following optional step, which we skipped because
|
|
|
|
we did not need to modify the configuration for our initial build:
|
|
|
|
|
|
|
|
Please use "make menuconfig" to configure your appreciated
|
|
|
|
configuration for the toolchain and firmware. Please note that
|
|
|
|
the default configuration is what was used to build the firmware
|
|
|
|
image for your router. It is advised that you use this configuration.
|
|
|
|
|
|
|
|
** The next instruction was 'Simply running "make" will build your firmware.'
|
|
|
|
So we entered the "librecmc" directory that had been created from the above
|
|
|
|
"tar" command and then ran "make". The build took about 40 minutes to run on
|
2014-11-02 17:41:25 +00:00
|
|
|
our system. The command used and output from running it are available here:
|
|
|
|
|
2014-11-06 13:25:55 +00:00
|
|
|
enforcement-case-studies\verb0_0log-output/thinkpenguin\verb0_0librecmc-complete.log
|
2014-10-25 07:02:26 +00:00
|
|
|
|
|
|
|
% FIXME: Above, I'd like to see more ``walk through'' of the step by step
|
|
|
|
% instructions. The text is a bit terse: could be expanded to talk more.
|
2014-10-25 23:45:56 +00:00
|
|
|
% FIXME(dg): Hopefully the above will suffice. I can expand more/differently if
|
|
|
|
% such is desired.
|
2014-10-25 07:02:26 +00:00
|
|
|
|
2014-10-18 22:49:39 +00:00
|
|
|
* It was helpful to know that we could use "make menuconfig" for configuration
|
|
|
|
changes, as being able to modify the source is an important part of the GPL's
|
|
|
|
requirements. Adding instructions like these shows that the distributor is
|
|
|
|
aware of and interested in promoting the spirit of the GPL, by making it
|
|
|
|
easier to modify the source than may be strictly required by the GPL's text.
|
2014-10-25 07:02:26 +00:00
|
|
|
|
|
|
|
% FIXME: We should somewhere (perhaps on each step we discuss) talk about
|
|
|
|
% what often goes wrong on those steps, and why this is right. As written
|
|
|
|
% now, there is no driving home of the fact that it is uncommon that things
|
|
|
|
% are so smooth. :)
|
2014-11-02 20:40:43 +00:00
|
|
|
% FIXME(dg): Hopefully the below will suffice. I can expand more/differently if
|
|
|
|
% such is desired. (I presume the above comment relates to the below text.)
|
2014-10-25 07:02:26 +00:00
|
|
|
|
2014-10-18 22:49:39 +00:00
|
|
|
* The "make" step completed successfully on our system and resulted in several
|
|
|
|
files being generated in the bin/ar71xx directory, namely firmware images.
|
2014-11-02 20:40:43 +00:00
|
|
|
** This step is normally where we run into the greatest number of build issues
|
|
|
|
(and thus compliance problems). In many cases, the "make" step will fail due
|
|
|
|
to a missing package or because toolchain paths are not setup correctly. As
|
|
|
|
a result, it is important to test the provided instructions on a clean system
|
|
|
|
before distributing the binaries and corresponding source. Listing the
|
|
|
|
specific GNU/Linux distribution and any non-default packages required for the
|
|
|
|
build (ie. those installed before testing the instructions) in the build
|
|
|
|
instructions makes it easier for the end user to successfully build the
|
|
|
|
source release.
|
2014-10-25 07:02:26 +00:00
|
|
|
|
2014-11-02 21:49:23 +00:00
|
|
|
* There appeared to be several filesystem and kernel images, for different
|
|
|
|
hardware versions. It was unclear which one to install on the particular
|
|
|
|
device we received or how to install it, both of which should have been
|
|
|
|
mentioned in the README.
|
|
|
|
|
2014-10-25 07:02:26 +00:00
|
|
|
% FIXME: Below, we probably want to talk to them to add this, and also, be a
|
|
|
|
% bit more expansive.
|
|
|
|
|
2014-10-18 22:49:39 +00:00
|
|
|
* The above installation issue is mitigated by the availability of a web UI in
|
|
|
|
the product that performs firmware image installation. It would be best if
|
|
|
|
instructions like those at http://librecmc.org/librecmc/wiki?name=Tp+MR3020
|
|
|
|
were included in the README, as the user cannot be expected to infer that or
|
|
|
|
to find such a link.
|
|
|
|
|
2014-11-02 21:49:23 +00:00
|
|
|
\section{Root Filesystem and Kernel Installation}
|
|
|
|
|
|
|
|
As mentioned above, the specific steps for installing an updated firmware image
|
|
|
|
were not provided, but we found that the firmware update method available in the
|
|
|
|
web interface worked fine. In particular, we went to http://192.168.10.1/ in
|
|
|
|
our browser, then logged in and chose System -> Backup / Flash Firmware. From
|
|
|
|
there, we went to the "Flash new firmware image" section and selected the
|
|
|
|
librecmc-ar71xx-generic-tl-wr841n-v8-squashfs-sysupgrade.bin image in the
|
|
|
|
bin/ar71xx directory mentioned above. We chose the "v8" image because we found
|
|
|
|
our router said "v8.2" on the bottom and "sysupgrade" because we were doing a
|
|
|
|
firmware upgrade rather than a fresh install.
|
|
|
|
|
|
|
|
When we clicked "Flash image...", we were prompted to confirm the MD5 hash of
|
|
|
|
the image to flash and then clicked "Proceed" to flash the image. The process
|
|
|
|
took about one minute, at which point we were back at the web UI login screen.
|
|
|
|
We logged in and found that the Kernel Log section showed we were running the
|
|
|
|
new kernel.
|
|
|
|
|
|
|
|
We then logged in via SSH again and ran "busybox", which printed the new version
|
|
|
|
string, showing it was using our newly-compiled version (given the date).
|
|
|
|
|
2014-10-18 22:49:39 +00:00
|
|
|
\section{U-Boot Compilation}
|
|
|
|
|
2014-11-06 13:25:55 +00:00
|
|
|
* As mentioned above, we also found a "u-boot\verb0_0reflash" file at the top level of
|
2014-10-18 22:49:39 +00:00
|
|
|
the included source CD. We followed the instructions for compiling U-Boot,
|
|
|
|
which were fairly straight-forward. One modification would be to mention that
|
2014-11-06 13:25:55 +00:00
|
|
|
"\$U-BOOT\verb0_0SRC" referred to the extracted source directory, which was implied,
|
2014-10-18 22:49:39 +00:00
|
|
|
but should have been explicit.
|
|
|
|
* Additionally, we noticed that the included toolchain binaries, which were used
|
|
|
|
by the U-Boot compilation process by default, did not run on our system. In
|
|
|
|
particular, we received this error:
|
|
|
|
|
2014-11-06 13:25:55 +00:00
|
|
|
mips-librecmc-linux-uclibc-gcc.bin: /lib/libc.so.6: version `GLIBC`\verb0_02.14' not found (required by mips-librecmc-linux-uclibc-gcc.bin)
|
2014-10-18 22:49:39 +00:00
|
|
|
|
2014-11-02 17:41:25 +00:00
|
|
|
The complete log output (including the command used to run it) is here:
|
|
|
|
|
2014-11-06 13:25:55 +00:00
|
|
|
enforcement-case-studies\verb0_0log-output/thinkpenguin\verb0_0u-boot-build\verb0_0fail.log
|
2014-11-02 17:41:25 +00:00
|
|
|
|
2014-10-18 22:49:39 +00:00
|
|
|
* We found that by removing toolchain/bin and symlinking the toolchain built for
|
|
|
|
the filesystem/kernel above in its place, we were able to complete the U-Boot
|
|
|
|
build. Specifically, we symlinked toolchain/bin to:
|
|
|
|
|
2014-11-06 13:25:55 +00:00
|
|
|
../../staging\verb0_0dir/toolchain-mips\verb0_034kc\verb0_0gcc-4.6-linaro\verb0_0uClibc-0.9.33.2/bin
|
2014-10-18 22:49:39 +00:00
|
|
|
|
2014-11-02 17:41:25 +00:00
|
|
|
Output from the symlink operation can be found here:
|
|
|
|
|
2014-11-06 13:25:55 +00:00
|
|
|
enforcement-case-studies\verb0_0log-output/thinkpenguin\verb0_0u-boot-create\verb0_0symlink.log
|
2014-11-02 17:41:25 +00:00
|
|
|
|
2014-10-18 22:49:39 +00:00
|
|
|
* Ideally the pre-built toolchain binaries should not be included and a symlink
|
|
|
|
as mentioned above should be created by default, with a mention that the
|
|
|
|
U-Boot build depends on the previous build for its toolchain.
|
|
|
|
* After compilation completed successfully, we found a new U-Boot image in the
|
|
|
|
bin directory. The instructions explained how to install it on the device.
|
2014-11-02 17:41:25 +00:00
|
|
|
Output from the successful build (after the symlink was created) is here:
|
|
|
|
|
2014-11-06 13:25:55 +00:00
|
|
|
enforcement-case-studies\verb0_0log-output/thinkpenguin\verb0_0u-boot-finish\verb0_0build.log
|
2014-10-18 22:49:39 +00:00
|
|
|
|
2014-11-02 21:49:23 +00:00
|
|
|
\section{U-Boot Installation}
|
|
|
|
|
|
|
|
We obtained a serial cable along with our router, in order to complete the
|
2014-11-06 13:25:55 +00:00
|
|
|
U-Boot installation per the instructions in u-boot\verb0_0reflash. However, we were
|
2014-11-02 21:49:23 +00:00
|
|
|
only able to read data from the serial port; we were unable to interrupt the
|
|
|
|
boot process or access the U-Boot console to complete the U-Boot re-flash. Here
|
|
|
|
are the steps we tried:
|
|
|
|
|
|
|
|
* We found the serial cable included was a USB serial adapter that had a male
|
|
|
|
USB type A connector on one end and 4 female jumper wires at the other end.
|
|
|
|
These female jumper wires were red, black, white, and green.
|
|
|
|
* The instructions did not specify how to connect these wires, but we were able
|
|
|
|
to determine this in part using the "v8.4" image (close to our "v8.2" router)
|
2014-11-06 13:25:55 +00:00
|
|
|
at \url{http://wiki.openwrt.org/toh/tp-link/tl-wr841nd#serial.console} . Aside from
|
2014-11-02 21:49:23 +00:00
|
|
|
power and ground (red and black), we did have to guess which of the wires was
|
|
|
|
RX and TX. By experimentation we found that green was RX and white was TX.
|
|
|
|
When we tried the other way, we received no data to our serial console at boot
|
|
|
|
time.
|
|
|
|
* We did have to use the included jumper pin gender changer with the USB serial
|
|
|
|
adapter, which we put through the holes on the router's mainboard and then
|
|
|
|
connected to the USB serial adapter. The fit was fairly loose so it would be
|
|
|
|
nice if future router versions included a tighter gender changer or (ideally)
|
|
|
|
had the jumper pins soldered onto the board to begin with (so no gender
|
|
|
|
changer would be required).
|
|
|
|
* We used 115200 8N1 as our serial console settings (with no hardware or
|
|
|
|
software flow control). This was tested with both the minicom and screen
|
|
|
|
commands. We found that if we connected all 4 wires on the USB serial adapter
|
|
|
|
that the router would start without additional power and our console would
|
|
|
|
receive the startup messages. We could replicate the same behavior by
|
|
|
|
omitting the power cable from the USB serial adapter (red wire) and connecting
|
|
|
|
the main power adapter to the router instead.
|
|
|
|
* While we did see the U-Boot and kernel boot logs in our serial console, we
|
2014-11-06 13:25:55 +00:00
|
|
|
were unable to interrupt the boot process as u-boot\verb0_0reflash indicated we
|
2014-11-02 21:49:23 +00:00
|
|
|
should. We suspect this is a misconfiguration of our serial console, but it's
|
|
|
|
unclear exactly how it is misconfigured, as we were able to receive data fine
|
|
|
|
(we just couldn't send data to the router).
|
|
|
|
* As a result, we were unable to complete the U-Boot installation test. We did
|
|
|
|
appreciate that installation instructions were included, though these
|
|
|
|
instructions should be updated to include more specifics about connecting the
|
|
|
|
serial cable. Since ThinkPenguin does have the option to ship a serial
|
|
|
|
adapter with the router, it would be helpful if instructions specific to that
|
|
|
|
adapter were included, as the wiring configuration one should use was unclear.
|
|
|
|
* Additionally, instructions for removing the router's case should be included.
|
|
|
|
We found that the two screws that needed removal to open the case were hidden
|
|
|
|
underneath rubber feet on the case. Indicating which feet need removal to
|
|
|
|
unscrew the case would be helpful. The instructions should also note that the
|
|
|
|
case needs to be carefully separated once the screws are removed; it
|
|
|
|
effectively snaps apart, but care must be taken to avoid breaking the plastic
|
|
|
|
fasteners that keep the case together after the screws are removed.
|
2014-10-18 22:49:39 +00:00
|
|
|
|
2014-10-25 23:49:47 +00:00
|
|
|
\section{Firmware Comparison}
|
|
|
|
|
|
|
|
To ensure that the CCS did indeed correspond to the firmware that was shipped on
|
|
|
|
the router, we compared the firmware image that we built using the above steps
|
|
|
|
with the filesystem we found on the device itself. The comparison steps we used
|
|
|
|
were:
|
|
|
|
|
|
|
|
* Extract the filesystem from the image we built by running find-firmware.pl
|
|
|
|
from https://gitorious.org/gpl-compliance-tools/gpl-compliance-scripts on
|
|
|
|
librecmc-ar71xx-generic-tl-wr841n-v8-squashfs-factory.bin from the bin/ar71xx
|
|
|
|
directory mentioned above (we noticed that our router said "Ver:8.2" on the
|
|
|
|
bottom). Then run squashfs4.2/squashfs-tools/bat-unsquashfs42 from
|
|
|
|
bat-extratools (at http://www.binaryanalysis.org/en/content/show/download )
|
|
|
|
on the resulting morx0.squash and use the filesystem in the new squashfs-root
|
|
|
|
directory for comparison.
|
|
|
|
* Login to the web interface (at http://192.168.10.1/ ) from a computer that is
|
|
|
|
connected to the router.
|
|
|
|
* Set a password using the provided link at the top (the UI warns that no
|
|
|
|
password is set and asks the user to change it).
|
|
|
|
* Login to the router via SSH, using the root user and the password we just set.
|
|
|
|
* Compare representative directory listings and binaries to ensure the set of
|
|
|
|
included files (on the router) is similar to those found in the firmware image
|
|
|
|
we created (whose contents are now in the local squashfs-root directory). In
|
|
|
|
particular, we did the following comparisons:
|
|
|
|
** List the /bin folder ("ls -l /bin") and confirm the list of files is the same
|
|
|
|
and that the file sizes are similar.
|
|
|
|
** Check the "strings" output of /bin/busybox to confirm it was similar in both
|
|
|
|
places (similar number of lines and content of lines). One cannot directly
|
|
|
|
compare the binaries because the slight compilation variations will cause
|
|
|
|
some bits to be different.
|
|
|
|
** Do the above two steps for /lib/modules, /usr/bin, and other directories with
|
|
|
|
a significant number of binaries.
|
2014-11-02 21:49:23 +00:00
|
|
|
** To check that the kernel is sufficiently similar, compare the "dmesg" output
|
|
|
|
both before and after flashing the new firmware. The kernel version string
|
|
|
|
should be similar, but should have a different build date and user@host
|
|
|
|
indicator. The kernel binary itself is not easily accessible from an SSH
|
|
|
|
login, but may be retrievable using the U-Boot console (the start address of
|
2014-11-06 13:25:55 +00:00
|
|
|
the kernel in flash appears to be 0x9F000000, based on the u-boot\verb0_0reflash
|
2014-11-02 21:49:23 +00:00
|
|
|
instructions). We were not able to verify this, due to the serial connection
|
|
|
|
issues (see above section on U-Boot installation).
|
2014-10-25 23:49:47 +00:00
|
|
|
|
2014-10-18 22:49:39 +00:00
|
|
|
\section{Minor Infractions}
|
|
|
|
|
|
|
|
As mentioned above, there were a few minor infractions. These made it slightly
|
|
|
|
difficult to complete the build and installation without additional context, but
|
|
|
|
did not make the build impossible to complete without more information, such as
|
|
|
|
missing source code for kernel modules or depending on a specific cross-compiler
|
|
|
|
but not mentioning which one or, better yet, including its source code, which
|
|
|
|
are both more problematic infractions. These minor infractions were:
|
|
|
|
|
|
|
|
% FIXME: clarify seriousness of no install instructions; lack of clarity in
|
|
|
|
% which version to install could be more problematic
|
|
|
|
|
|
|
|
* Not mentioning how to extract the source tarball and then where to run the
|
|
|
|
"make" command.
|
|
|
|
* Not mentioning how to install the kernel and root filesystem on the device;
|
|
|
|
this is the biggest of these 3 issues but a bit less troublesome than it would
|
|
|
|
otherwise have been since the web-based firmware update process is well-known.
|
|
|
|
* Using pre-built toolchain binaries that don't work on all systems instead of
|
|
|
|
the ones that are built in a separate step, but not moved to the right place.
|
2014-11-02 21:49:23 +00:00
|
|
|
We were able to build corresponding toolchain binaries from source (though
|
|
|
|
for a slightly different target) so this is not a severe toolchain violation
|
|
|
|
of the type we normally find (where toolchain binaries are provided without
|
|
|
|
source). However, including instructions to use the built toolchain binaries
|
|
|
|
instead would be best, or alternatively specifying the distribution on which
|
|
|
|
the toolchain binaries must be run (to avoid being unable to run them as we
|
|
|
|
were).
|
2014-10-18 22:49:39 +00:00
|
|
|
|
|
|
|
|
2004-01-14 19:47:10 +00:00
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
2014-02-20 17:58:44 +00:00
|
|
|
% COMMENT OUT THIS CHAPTER.
|
|
|
|
% FIXME: is this material moot now that we include the compliance guide?
|
|
|
|
% Either way, it should be merged into compliance guide.
|
|
|
|
%\chapter{Good Practices for Compliance}
|
2004-01-14 19:47:10 +00:00
|
|
|
|
2004-01-16 20:00:33 +00:00
|
|
|
Generally, from the experience of GPL enforcement, we glean the following
|
|
|
|
general practices that can help in GPL compliance for organizations that
|
|
|
|
distribute products based on GPL'd software:
|
2004-01-15 23:19:24 +00:00
|
|
|
|
2004-08-20 23:25:45 +00:00
|
|
|
\begin{itemize}
|
2004-01-15 23:19:24 +00:00
|
|
|
|
2004-01-16 20:00:33 +00:00
|
|
|
\item Talk to your software engineers and ask them where they got the
|
2004-08-20 23:25:45 +00:00
|
|
|
components they use in the products they build. Find out if GPL'd
|
2004-01-16 20:00:33 +00:00
|
|
|
components are present.
|
2004-01-15 23:19:24 +00:00
|
|
|
|
2004-01-16 20:00:33 +00:00
|
|
|
\item Teach your engineering staff to pay attention to license documents.
|
|
|
|
Give them easy-to-follow policies to get approval for using a Free
|
|
|
|
Software component.
|
2004-01-15 23:19:24 +00:00
|
|
|
|
2004-01-16 20:00:33 +00:00
|
|
|
\item Build a ``Free Software Licensing'' committee that handles requests
|
2014-03-20 17:31:54 +00:00
|
|
|
and questions about the GPL and other Free Software licenses.
|
2004-01-15 23:19:24 +00:00
|
|
|
|
2014-03-20 17:31:54 +00:00
|
|
|
\item Add ``What parts of your products are under the GPL or other Free
|
2004-01-16 20:00:33 +00:00
|
|
|
Software licenses?'' to your checklist of questions to ask when you
|
|
|
|
consider mergers, acquisitions, or joint ventures.
|
2004-01-15 23:19:24 +00:00
|
|
|
|
2004-01-16 20:00:33 +00:00
|
|
|
\item Encourage your engineers to participate collaboratively with GPL'd
|
2004-08-20 23:25:45 +00:00
|
|
|
software development. The more knowledge about the Free Software world
|
2004-01-16 20:00:33 +00:00
|
|
|
your organization has, the better equipped it is to deal with this
|
|
|
|
rapidly changing field.
|
2004-01-15 23:19:24 +00:00
|
|
|
|
2004-01-16 20:00:33 +00:00
|
|
|
\item When someone points out a potential GPL violation in one of your
|
2014-03-20 17:31:54 +00:00
|
|
|
products, do not assume the product line is doomed. The GPL is not a virus;
|
2004-01-16 20:00:33 +00:00
|
|
|
merely having GPL'd code in one part of a product does not necessarily
|
2004-08-20 23:25:45 +00:00
|
|
|
mean that every related product must also be GPL'd. And, even if some
|
2004-01-16 20:00:33 +00:00
|
|
|
software needs to be released that was not before, the product will
|
2004-08-20 23:25:45 +00:00
|
|
|
surely survive. In FSF's enforcement efforts, we have not yet
|
2004-01-16 20:00:33 +00:00
|
|
|
seen a product line die because source was released to customers in
|
2014-03-20 17:31:54 +00:00
|
|
|
compliance with the GPL.
|
2004-01-14 19:47:10 +00:00
|
|
|
|
2004-08-20 23:25:45 +00:00
|
|
|
\end{itemize}
|
2004-01-16 20:00:33 +00:00
|
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
2004-01-14 19:47:10 +00:00
|
|
|
% LocalWords: proprietarize redistributors sublicense yyyy Gnomovision EULAs
|
|
|
|
% LocalWords: Yoyodyne FrontPage improvers Berne copyrightable Stallman's GPLs
|
|
|
|
% LocalWords: Lessig Lessig's UCITA pre PDAs CDs reshifts GPL's Gentoo glibc
|
2004-08-20 23:25:45 +00:00
|
|
|
% LocalWords: TrollTech administrivia LGPL's MontaVista OpenTV Mitek Arce DVD
|
|
|
|
% LocalWords: unprotectable protectable Unfreedonia chipset CodeSourcery Iqtel
|
|
|
|
% LocalWords: impermissibly Bateman faire minimis Borland uncopyrightable Mgmt
|
2014-04-03 00:58:40 +00:00
|
|
|
% LocalWords: franca downloadable Bortez Bortez's
|
2004-08-20 23:25:45 +00:00
|
|
|
% LocalWords: Slashdot sublicensed Vigorien Vigorien's Haxil Polgara
|
2004-02-12 21:08:33 +00:00
|
|
|
% LocalWords: Thesulac Polgara's Haxil's Thesulac's SDK CD's
|