<?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>4984</bug_id>
          
          <creation_ts>2013-08-05 18:50:28 +0000</creation_ts>
          <short_desc>sftp conection close  core-image-base</short_desc>
          <delta_ts>2013-08-21 20:50:37 +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.1</version>
          <rep_platform>Other</rep_platform>
          <op_sys>arm</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.5 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joerg Boge">joerg.boge</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>otavio</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>35389</commentid>
    <comment_count>0</comment_count>
    <who name="Joerg Boge">joerg.boge</who>
    <bug_when>2013-08-05 18:50:28 +0000</bug_when>
    <thetext>Hello,
I have build core-image-base with 

MACHINE ??= &apos;nitrogen6x&apos;
DISTRO ?= &apos;poky&apos;
PACKAGE_CLASSES ?= &quot;package_rpm&quot;
EXTRA_IMAGE_FEATURES = &quot;debug-tweaks ssh-server-openssh&quot;
USER_CLASSES ?= &quot;buildstats image-mklibs image-prelink&quot;
PATCHRESOLVE = &quot;noop&quot;
BB_DISKMON_DIRS = &quot;\
    STOPTASKS,${TMPDIR},1G,100K \
    STOPTASKS,${DL_DIR},1G,100K \
    STOPTASKS,${SSTATE_DIR},1G,100K \
    ABORT,${TMPDIR},100M,1K \
    ABORT,${DL_DIR},100M,1K \
    ABORT,${SSTATE_DIR},100M,1K&quot; 
CONF_VERSION = &quot;1&quot;
BB_NUMBER_THREADS = &apos;8&apos;
PARALLEL_MAKE = &apos;-j 8&apos;
ACCEPT_FSL_EULA = &quot;&quot;


ssh works fine

but sftp not

$sftp root@192.168.2.25
root@192.168.2.25&apos;s password: 
Connection closed

the only image witch works with sftp is core-image-sato-sdk

please help 

regards

Joerg</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35434</commentid>
    <comment_count>1</comment_count>
    <who name="Otavio Salvador">otavio</who>
    <bug_when>2013-08-06 18:01:24 +0000</bug_when>
    <thetext>I reassigned this to OE-Core as it seems not related to the BSP.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35484</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-08-08 05:31:56 +0000</bug_when>
    <thetext>I would like to get some clarification, are you on the target or the host?  I 
need some direction infromation.  There might be a 
package that being installed on the sato-sdk , but not on your -base image.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35485</commentid>
    <comment_count>3</comment_count>
    <who name="Joerg Boge">joerg.boge</who>
    <bug_when>2013-08-08 06:21:49 +0000</bug_when>
    <thetext>I want to upload from my Ubuntu 12.04 via sftp files. So i added ssh-server-openssh to the target. (See my local.conf file)

On sato sdk image surly are a lot of more packages. 
But ssh on it own should offer sftp upload.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35499</commentid>
    <comment_count>4</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-08-08 15:57:02 +0000</bug_when>
    <thetext>This is actually intended behavior, the default packaging on the SSH Daemon has sftp and sftp-server packaged separately and not included as part of the ssh-server-openssh as is trying to make the same functionality as dropbear.

SCP exists, you can use CORE_IMAGE_EXTRA_INSTALL_append = &quot; sftp-server&quot;, to include the sftp-server on your target.  This could be added to a wiki someplace, not sure where.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35521</commentid>
    <comment_count>5</comment_count>
    <who name="Joerg Boge">joerg.boge</who>
    <bug_when>2013-08-08 19:53:44 +0000</bug_when>
    <thetext>I try 

EXTRA_IMAGE_FEATURES = &quot;debug-tweaks ssh-server-openssh sftp-server&quot;
bitbake without error but did not solve the problem

the I try

EXTRA_IMAGE_FEATURES = &quot;debug-tweaks ssh-server-openssh&quot;
CORE_IMAGE_EXTRA_INSTALL_append = &quot; sftp-server&quot;


NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES &apos;sftp-server&apos; (but /home/joerg/roootfsbuilder/sources/poky/meta/recipes-core/images/core-image-base.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target &apos;sftp-server&apos; is unbuildable, removing...
Missing or unbuildable dependency chain was: [&apos;sftp-server&apos;]
ERROR: Required build target &apos;core-image-base&apos; has no buildable providers.
Missing or unbuildable dependency chain was: [&apos;core-image-base&apos;, &apos;sftp-server&apos;]

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35588</commentid>
    <comment_count>6</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-08-12 18:11:36 +0000</bug_when>
    <thetext>Sorry, I gave the wrong package name, it should be:  openssh-sftp-server</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35830</commentid>
    <comment_count>7</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-08-21 20:50:37 +0000</bug_when>
    <thetext>This should work with the openssh-stftp-server package added</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>