Open Source Policy: Tips for Becoming a Good Open Source Citizen
Upcoming SlideShare
Loading in...5
×
 

Open Source Policy: Tips for Becoming a Good Open Source Citizen

on

  • 1,747 views

Steven Grandchamp, CEO of OpenLogic, delivered this presentation on open source policies at the 2011 POSSCON conference in Columbia, South Carolina.

Steven Grandchamp, CEO of OpenLogic, delivered this presentation on open source policies at the 2011 POSSCON conference in Columbia, South Carolina.

Statistics

Views

Total Views
1,747
Views on SlideShare
1,744
Embed Views
3

Actions

Likes
0
Downloads
66
Comments
0

2 Embeds 3

http://192.168.6.184 2
http://localhost 1

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Open Source Policy: Tips for Becoming a Good Open Source Citizen Open Source Policy: Tips for Becoming a Good Open Source Citizen Presentation Transcript

  • Open Source Policy: Tips for Becoming a Good Open Source CitizenPOSSCONSteven Grandchamp, CEO, OpenLogic
  • Today s discussion !   Part 1 !  Do I really need a policy ? !  Why should I be concerned ? !   Part 2 !  What are the key elements of an open source policy? !  What should I do about it? !  What level of compliance with open source licenses? !  How can I get started? Copyright OpenLogic 2011 2
  • About OpenLogic OpenLogic helps enterprises to successfully and safely acquire, deploy, support and control all of the free and open source software they use. !   Scanning Tools !   Open Source Audits !   Open Source Support Copyright OpenLogic 2011
  • Then… Copyright OpenLogic 2011
  • Now... Open Source is Used in 88% of Android Apps & 41% of iOS Apps Source: OpenLogic Mobile Research 9/2010 Copyright OpenLogic 2011 5
  • So… 6
  • More Than A Theoretical Risk: Legal Action Source: Ars Technica Source: cnet Source: The Inquirer Free Software Foundation has been active in GPL enforcement. Copyright OpenLogic 2006 7
  • More Than A Theoretical Risk: Bad PR? Source: Network World Source: Matthew Garrett http://www.codon.org.uk/~mjg59/android_tablets/ Copyright OpenLogic 2006 8
  • Compliance Concern Many Apps Aren t Consistently Complying with Open Source Licenses Copyright OpenLogic 2011 9
  • Takedown Requests to Android Market Feb 2011 = 206 Takedown Requests Source: Chilling Effects Clearinghouse, Takedown Complaints for Android Market Copyright OpenLogic 2006 10
  • Research Methodology !   Scanned 635 Top Apps with OSS Deep Discovery !  123 Android Apps !  512 iOS Apps !   Picked top paid and free apps across categories !   Identified 68 Apps with GPL, LGPL or Apache !  52 with Apache !  16 with GPL/LGPL !   Examined those apps for compliance with key obligations Copyright OpenLogic 2011 11
  • Four Areas of Compliance Analyzed Apache GPL/LGPL Provide copy of license Provide copy of license Notices/Attributions Provide source code Copyright OpenLogic 2011 12
  • Failure to Comply 71% of Apps using Comply 29% Open Source Do Not Comply under GPL, LGPL 71% and Apache do not comply Source: OpenLogic Mobile Research 3/2011 Copyright OpenLogic 2011 13
  • REALLY?Do I need to care? 14
  • Three Reasons to Comply 1.  It s the right thing to do 2.  Protect your IP 3.  Money in your pocket Copyright OpenLogic 2011 15
  • It s The Right Thing to Do Free software… but please comply Copyright OpenLogic 2011 16
  • Protect your IP ©©© Copyleft open source ©©© licenses can impact licensing of your IP ©©© Copyright OpenLogic 2006 17
  • Protect your IP Open Source under “Copyleft” Your code license Linking Derivative work? Depends on the license and how you combine the code Copyright OpenLogic 2006 18
  • Money in Your Pocket Non-compliance can result in: Takedowns Injunctions Lawsuits Legal costs Copyright OpenLogic 2006 19
  • OK, OKI get it. 20
  • How to Become A Good Open Source Citizen 1.  Understand open source licensing 2.  Create an open source policy 3.  Track all open source usage 4.  Conduct a scan or audit of your code 5.  Develop a compliance checklist Copyright OpenLogic 2006 21
  • 1. Understand OSS Licensing !   Official definition of OSS license !  Approved by the Open Source Initiative (OSI) ! http://www.opensource.org/ !  Currently over 60 approved licenses !  Key Criteria !  Free distribution !  Source code is available !  Derived works are allowed !  Non-discrimination Copyright OpenLogic 2006 22
  • Categorizing Open Source Licenses Liberal Copyleft No Strings Traditional Additional Strings Attached Open Source Clauses !  MIT/X !  Original BSD !  GNU GPL !  GNU GPL v3 !  W3C !  Apache Software !  GNU LGPL !  Common Public License License !  Eclipse Public !  Mozilla Public License License !  SISSL !  IBM Public License Copyright OpenLogic 2006 23
  • Dependency Issues Impact Licensing !   OSS often depends on or bundles other OSS !   Need to look at all the dependencies and bundled projects and their licenses !  Important: The licenses may not be the same !  Important: Can be at odds with each other !  Important: Have multiple and conflicting obligations !   Example: !  Geronimo (Apache license) uses MySQL (GPL) through the MySQL driver (formerly LGPL but now GPL) Copyright OpenLogic 2006 24
  • 2. Create an Open Source Policy !   Things to include !  Licenses allowed !  Approval processes !  Audit and compliance processes !   Considerations !  Keep it lightweight !  Don t let fear guide you Copyright OpenLogic 2006 25
  • Elements of an Open Source Policy   Strategy and Stance !   Sourcing – where developers should get open source !   Certification – what criteria (technical, legal, community) !   Approvals – what needs to be approved by whom !   Approval Criteria – which licenses, packages, usage   Tracking & Reporting – what needs to be tracked   Scanning & Compliance– what audits, when, by whom !   Support & Maintenance – what support is required !   Contribution Policy & Community Interactions – what s allowed   Open Source Review Board – or group to manage policy !   Technical Infrastructure – repository, approval workflow, tracking, scanners Copyright OpenLogic 2006 26
  • Strategy !   Pro ? Con ? Neutral ? !   Risk – can vary by use model !  Standalone !  Bundled !  Embedded !   High – Legal Risk, distribution, mission critical, non approved license !   Medium – Customer facing, mission critical, immature community !   Low – not Medium or High Copyright OpenLogic 2006 27
  • 3. Track all Open Source Usage: Why? !   Know what you are using !   Best practices for software asset management !   Identify opportunities for sharing or savings !   Find out what open source is being used so you can leverage expertise, support, etc. across teams !   Legal & compliance !   Validate that you are complying with licenses !   Be able to determine impact of license changes !   Provide an audit trail for regulatory compliance !   Assess impact of lawsuit or IP infringement !   Maintenance !   Be prepared to handle security patches or critical issues !   Able to plan for maintenance updates !   Support !   Understand level of support necessary !   Share support resources (whether internal or external) Copyright OpenLogic 2006 28
  • 3. Track all Open Source Usage: What? !   What open source packages are used !   What versions are used !   The exact source/object code !   Where you got it from (source) !   What license it s under !   What applications it s used in !   What machines they are used on !   What operating system they are used with !   Whether the project is internal, external or for distribution !   When distributed and to whom !   Approval trail – who approved, when approved, for what purpose Copyright OpenLogic 2006 29
  • 4. Conduct a scan or audit of your code !   Outcome of an OSS audit: !  List of open source packages !  List of open source licenses !  List of license obligations !  List of licenses that may have conflicting terms !   Options !  Scanning tools !  Manual review !  Audit services Copyright OpenLogic 2006
  • Scanning & Compliance
  • Why Scan? !   If distributing and application !  Ensure an accurate bill of materials and bill of licenses and obligations for license compliance !   If deploying internally !  Understand license obligations – some may apply to internal use !  Understand support and maintenance requirements for operational issues !  Ensure policy compliance Copyright OpenLogic 2011 32
  • Scanning !   Why Scanning vs Self-reporting? !  Self-reporting is inaccurate because: !  Developers forget about things they included !  Developers often aren t aware of bundled packages !  Developers often aren t aware of additional licenses !  Outsourcers are notoriously inaccurate at self-reporting !  Commercial packages may include open source !  Our Application Audit experience !  100% of our App Audits find much more than the developers reported !  In many cases we find GPL that the company was not aware of Copyright OpenLogic 2011 33
  • Best Practices: Going Forward !   Start with any upcoming new products/releases !   Baseline current shipping version !  First scan and reconciliation will take the most time !  Delta scans can be done after that !   Scan at multiple points in SDLC !  Scan during development !  Scan prior to ship !  Final scan of shipped code Copyright OpenLogic 2011 34
  • Best Practices: Remediation !   Consider whether previously shipped products need to be scanned !  Is there a newer version that has been scanned? !  Did we find OSS in later scanned versions? !  How widely used is the product? !  How long has it been out? !  Are most people upgrading to latest versions? !  What is risk we are willing to take? !   Put in place any remediation needed for older products Copyright OpenLogic 2011 35
  • About Compliance !   Scanning and reconciliation is only the first step !   You need to ensure you are in compliance !   Expect to spend some back and forth time between legal and development to get it right !   Usage will change obligations that are applicable !  Legal and development will need to work together !   Be aware of your own EULAs/Contracts – they may need to change Copyright OpenLogic 2011 36
  • 5. Develop a compliance checklist !   Create a compliance checklist: !  Notices in code and/or documentation !  Source code provided in proper way !  Is there an EULA for your product? !   If there are conflicts or compliance is not possible: !  Can you live without this code? !  Is there an alternative to the code? !  Can you contact the author and ask for an exception/different license? !   Risk management: !  What is likely to get litigated? !  What are your sticking points that prevent perfect compliance? Copyright OpenLogic 2006
  • Special Outsourcing Considerations !   Outsourcer contracts !  Contract should require they fully disclose of all open source and licenses including bundled packages !  Contract should require your approval of open source use and licenses !  May want to require warranty/indemnification if they give you an inaccurate list (Verizon example) !  May want to specify remedies if they screw up and you need to make changes or remove open source !  May want to recommend or require scanning of code !  They do it !  You do it !  They pick or you specify third party service Copyright OpenLogic 2011 38
  • Special Outsourcing Considerations !   Outsourcer processes !  Discuss open source with them early in the project !  Plan to get list of open source (through scanning or self- reporting) early in development cycle !  Get a final list when they provide final code !  Either scan all incoming code that you plan to distribute or consider spot audits Copyright OpenLogic 2011 39
  • Thanks! !   Slides? ! www.openlogic.com/downloads ! www.slideshare.net !   Learn more ! www.openlogic.com !   To receive more details ! steven.grandchamp@openlogic.com !   Follow !  @openlogic Copyright OpenLogic 2006 40