<?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>3251</bug_id>
          
          <creation_ts>2012-10-09 06:50:01 +0000</creation_ts>
          <short_desc>packagegroup-core-tools-debug has hard dependency on openssh-sftp-server</short_desc>
          <delta_ts>2013-03-25 11:18:44 +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>core</component>
          <version>1.4</version>
          <rep_platform>x86</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>major</bug_severity>
          <target_milestone>1.4 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="tf">tf+bugs.yocto</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>26393</commentid>
    <comment_count>0</comment_count>
    <who name="tf">tf+bugs.yocto</who>
    <bug_when>2012-10-09 06:50:01 +0000</bug_when>
    <thetext>packagegroup-core-tools-debug has hard dependency on openssh-sftp-server, which makes it impossible to select debug-tweaks for images using dropbear. This is a regression from Denzil.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26394</commentid>
    <comment_count>1</comment_count>
    <who name="tf">tf+bugs.yocto</who>
    <bug_when>2012-10-09 06:52:49 +0000</bug_when>
    <thetext>Sorry, I obviously meant it&apos;s not possible to select tools-debug for images using dropbear.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26442</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-10-09 18:37:27 +0000</bug_when>
    <thetext>Based on initial investigation by Paul and myself, we could not directly reproduce this issue, it could be a host issue.  More details about packaging system used, what the actual failure mode is.

I attempted both a RPM and ipk installation and was able to login to both dropbear ssh and sftp with no root password.  I happened to build a qemumips, just because that what I had available.

If you could provide more data that would be very helpful.

I am going to downgrade this to just medium based on the current non-reproducibility.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26457</commentid>
    <comment_count>3</comment_count>
    <who name="tf">tf+bugs.yocto</who>
    <bug_when>2012-10-10 07:42:02 +0000</bug_when>
    <thetext>The packaging system is ipkg, and you need to select ssh-server-dropbear, dbg-pkgs and tools-debug image features. The problem is quite simple: open-sftp-server dbg symbols are in openssh-dbg which depends on openssh which conflicts with dropbear, so you get rootfs-time failure:

Collected errors:
 * check_conflicts_for: The following packages conflict with openssh:
 * check_conflicts_for: 	dropbear * 
 * opkg_install_cmd: Cannot install package openssh-dbg.

The easiest fix is to remove open-sftp-server from packagegroup-core-tools-debug, this addition is a new feature in Danny, so it will not be much missed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26481</commentid>
    <comment_count>4</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-10-10 12:53:01 +0000</bug_when>
    <thetext>Ah, so the crucial bit we were missing was dbg-pkgs, which triggers openssh-dbg to be installed since openssh-sftp-server is installed, and openssh-dbg by default depends on the openssh package, which conflicts with dropbear.

I&apos;m not sure what the correct solution is here but somehow the dependency chain needs to be broken. Bug #2605 was how openssh-sftp-server got added to packagegroup-tools-debug; it looks like it was added to support tcf-agent which in turn is there to support Eclipse. One solution would be to move tcf-agent and anything else that is specifically there for Eclipse support to a separate packagegroup that is actually marked as being for Eclipse (e.g. has eclipse in the name) since not everyone needs it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26489</commentid>
    <comment_count>5</comment_count>
    <who name="tf">tf+bugs.yocto</who>
    <bug_when>2012-10-10 14:45:15 +0000</bug_when>
    <thetext>Perhaps I might be better to fix the openssh packaging and add open-sftp-server-dbg instead of bundling it all together?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31045</commentid>
    <comment_count>6</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-03-22 19:46:06 +0000</bug_when>
    <thetext>I&apos;ve posted some RFC patches but I would really like feedback from Jessica (and anyone else who makes use of the tools-debug packagegroup) before they are proposed for merging:

http://lists.linuxtogo.org/pipermail/openembedded-core/2013-March/037205.html
http://lists.linuxtogo.org/pipermail/openembedded-core/2013-March/037206.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31055</commentid>
    <comment_count>7</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2013-03-23 13:29:46 +0000</bug_when>
    <thetext>Paul,

The package group breakup looks reasonable to me.


Thanks,
Jessica</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31099</commentid>
    <comment_count>8</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-03-25 11:18:44 +0000</bug_when>
    <thetext>Thanks! Patches merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e95ccb7d57b1a2a1cd5cdeb2871c0a0cd334d33e
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=1eb2b3dd6363516ffc1ddc4db4af2c2f5dd595cd

Also dropped rsync from packagegroup-tools-debug at the same time (since it was added for Anjuta and is already handled elsewhere):
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=131b66802eea49011ac25d022460ef83dbe86239</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>