<?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>8235</bug_id>
          
          <creation_ts>2015-09-01 14:10:47 +0000</creation_ts>
          <short_desc>Password utilities are removed when package management is disabled</short_desc>
          <delta_ts>2015-12-14 14:14:11 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>deployment</component>
          <version>2.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Diego Dompe">dompe</reporter>
          <assigned_to name="Mariano Lopez">mariano.lopez</assigned_to>
          <cc>javier.tia</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>mariano.lopez</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>53600</commentid>
    <comment_count>0</comment_count>
    <who name="Diego Dompe">dompe</who>
    <bug_when>2015-09-01 14:10:47 +0000</bug_when>
    <thetext>I&apos;m trying to create an image without package-management that includes the shadow and password utilities. However the code at meta/lib/oe/rootfs.py around line 243 always remove those utils if package-management is disabled.

This should be either configurable, or not happening. I think it&apos;s a valid case that I want password management without package management.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56768</commentid>
    <comment_count>1</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2015-11-25 02:34:38 +0000</bug_when>
    <thetext>It seems the original idea was to remove such utilities with a read-only rootfs.  Since this functionality was embedded in image.bbclas it only checks for the package manager and not for a read-only rootfs. Old commits make reference that these packages must be removed for the read-only filesystem, for example: http://lists.openembedded.org/pipermail/openembedded-core/2014-February/089116.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56769</commentid>
    <comment_count>2</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2015-11-25 02:39:21 +0000</bug_when>
    <thetext>The packages listed in there are not installed with every image, for example, core-image-minimal doesn&apos;t install shadow; it must be listed in IMAGE_INSTALL in order to be installed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56770</commentid>
    <comment_count>3</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2015-11-25 02:41:38 +0000</bug_when>
    <thetext>The logic to uninstall the packages should be changed from checking for a package manager to check for a read-only filesystem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56774</commentid>
    <comment_count>4</comment_count>
    <who name="Diego Dompe">dompe</who>
    <bug_when>2015-11-25 13:50:26 +0000</bug_when>
    <thetext>Agreed, the logic should check for read-only fs</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56907</commentid>
    <comment_count>5</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2015-12-01 18:06:37 +0000</bug_when>
    <thetext>Patch sent to the mailing list:

http://lists.openembedded.org/pipermail/openembedded-core/2015-November/113425.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57225</commentid>
    <comment_count>6</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2015-12-11 18:18:04 +0000</bug_when>
    <thetext>Waiting for integration in master, moving to 2.1 M2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57248</commentid>
    <comment_count>7</comment_count>
    <who name="Mariano Lopez">mariano.lopez</who>
    <bug_when>2015-12-14 14:14:11 +0000</bug_when>
    <thetext>This bug has been solved in commit:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=9c0186fd57fe6b8ed7b4de7645fdadfc2e5db149</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>