<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>5482</bug_id>
          
          <creation_ts>2013-11-05 19:35:49 +0000</creation_ts>
          <short_desc>Add section on doing security checks in order to create a secure image</short_desc>
          <delta_ts>2015-03-30 07:02:56 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>Development Manual</product>
          <component>development</component>
          <version>1.6</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>22 September 2014: IN PROGRESS REVIEW</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.7 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Saul Wold">sgw</reporter>
          <assigned_to name="Jeff Osier-Mixon">jefro</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>bluelightning</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
    
    <cc>jefro</cc>
    
    <cc>maxin.baby.john</cc>
    
    <cc>sgw</cc>
    
    <cc>srifenbark</cc>
          
          <qa_contact name="Alexandru Georgescu">alexandru.c.georgescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>38570</commentid>
    <comment_count>0</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-11-05 19:35:49 +0000</bug_when>
    <thetext>We need to document some best practices for securing the image, along with examples.

Items include setting the root password, running some set of meta-security programs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38587</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2013-11-06 14:24:10 +0000</bug_when>
    <thetext>Hi, 

What are the practices?  Who understands how to do this?  

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39678</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-01-07 13:52:22 +0000</bug_when>
    <thetext>Changing to NEEDINFO.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40833</commentid>
    <comment_count>3</comment_count>
    <who name="Maxin B. John (inactive)">maxin.baby.john</who>
    <bug_when>2014-03-03 12:22:29 +0000</bug_when>
    <thetext>Updated the instructions to set password to the root user:
https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_set_or_change_the_root_password</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42076</commentid>
    <comment_count>4</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-04-01 22:41:37 +0000</bug_when>
    <thetext>Enhancement - moving to 1.7.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43611</commentid>
    <comment_count>5</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-05-28 09:05:28 +0000</bug_when>
    <thetext>I sent out a specific email to Saul and also included Paul asking some targeted questions around this issue.  

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43617</commentid>
    <comment_count>6</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-05-28 12:18:56 +0000</bug_when>
    <thetext>Hi, 

I have enhanced the &quot;Making Images More Secure&quot; section in the dev-manual (http://www.yoctoproject.org/docs/1.7/dev-manua/dev-manual.html#making-images-more-secure) to incorporate some information that Paul Eggleton sent me to help address this issue.  The result is some sub-sections that describe various things the use can do or consider to make their image more secure.  We still need some further information in a couple areas though.  

In particular, we need to decide how extensively to document the meta/conf/distro/include/security_flags.inc file and those flags.  I left what we had in there regarding some general information about flags.  Another area is the small section pointing to some tools we now provide in the meta-security layer in the YP repositories.  I don&apos;t understand what the tools are.  We probably need to describe this stuff better. 

This is a start.  If you have feedback on the changes I put in you can comment and we can move forward.  I am still leaving this bug in NEED INFO for now.  I don&apos;t think it is quite ready for IN PROGRESS REVIEW.

Thanks, 
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43700</commentid>
    <comment_count>7</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-06-02 07:45:00 +0000</bug_when>
    <thetext>Hi, 

I have updated this section to the point where I think it can go to a general review.  I have worked with Paul Eggleton to get to this point so he has provided extensive review of the material.  I am marking the status now to IN PROGRESS REVIEW.  I will leave it open as that for a while for further comments.

See http://www.yoctoproject.org/docs/1.7/dev-manual/dev-manual.html#making-images-more-secure 

Regarding the documentation of the many flags.  I think we can move this to a separate documentation bug after these general improvements to the section are approved.

Thanks, 
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44083</commentid>
    <comment_count>8</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-06-19 04:53:01 +0000</bug_when>
    <thetext>Setting to M3 for 1.7.

Still under review.  I will let it ride longer and then if no comments come I am closing it.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44162</commentid>
    <comment_count>9</comment_count>
    <who name="Jeff Osier-Mixon">jefro</who>
    <bug_when>2014-06-24 17:19:13 +0000</bug_when>
    <thetext>assigned to jefro</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45689</commentid>
    <comment_count>10</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2014-09-18 15:38:54 +0000</bug_when>
    <thetext>That section looks good as a high-level overview with sufficient warnings that this is a brief summary and nothing more. :)  When it mentions &quot;using SMACK or SELinux&quot; it would be helpful to link to meta-selinux at http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45742</commentid>
    <comment_count>11</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-09-22 13:42:36 +0000</bug_when>
    <thetext>Ross, 

Thanks for the review feedback.  I have updated that area to include a reference to the meta-selinux layer.  You can see the change at http://www.yoctoproject.org/docs/1.7/dev-manual/dev-manual.html#making-images-more-secure.  I will keep it in IN PROGRESS REVIEW and if I don&apos;t hear of anything more after a while I will close the bug. 

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46605</commentid>
    <comment_count>12</comment_count>
    <who name="Jeff Osier-Mixon">jefro</who>
    <bug_when>2014-10-27 20:08:58 +0000</bug_when>
    <thetext>I&apos;m not sure why I am the owner of this, but it looks to me like it can be closed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46607</commentid>
    <comment_count>13</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-10-27 20:31:14 +0000</bug_when>
    <thetext>I will mark it closed then.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47099</commentid>
    <comment_count>14</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2014-11-20 10:42:32 +0000</bug_when>
    <thetext>Scott, is there something QA needs to verify on this?

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47107</commentid>
    <comment_count>15</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-11-20 13:58:49 +0000</bug_when>
    <thetext>Alex, 

Nope... I think it can be closed.  The fix is in the daisy, dizzy, and master branches.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47555</commentid>
    <comment_count>16</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2014-12-15 11:38:27 +0000</bug_when>
    <thetext>verified as per above comments</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>