<?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>9437</bug_id>
          
          <creation_ts>2016-04-12 07:46:19 +0000</creation_ts>
          <short_desc>after dropping HOB from build appliance,  &quot;runqemu&quot;  doesn&apos;t work: TUN unavailable</short_desc>
          <delta_ts>2016-04-25 05:52:27 +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>Runtime</product>
          <component>build-appliance</component>
          <version>2.1</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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ke Zou">ke.zou</reporter>
          <assigned_to name="Juro Bystricky">juro.bystricky</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>ross.burton</cc>
    
    <cc>yi.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>61063</commentid>
    <comment_count>0</comment_count>
    <who name="Ke Zou">ke.zou</who>
    <bug_when>2016-04-12 07:46:19 +0000</bug_when>
    <thetext>BA image URL:
http://autobuilder.yoctoproject.org/pub/releases/yocto-2.1.rc1/build-appliance/

how to reproduce:
unzip build-appliance image
use vmplayer to run 
in BA shell: build image(core-image-minimal)
try to runqemu with newly-built image
&quot;runqemu qemuxxx nographic&quot;

the printout:
sh-4.3$ runqemmu qemuarm nographic
TUN control device /dev/net/tun is unavailable: you may need to enable TUN (e.g. sudo modprobe tun)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61173</commentid>
    <comment_count>1</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2016-04-13 18:26:54 +0000</bug_when>
    <thetext>To remedy this with the existing BA:
1. Switch to root terminal &quot;Terminal&quot; from the default &quot;Terminal &lt;2&gt;&quot;
2. Run 
   # sudo modprobe tun
3. 
   # cd /sbin
   # ls -s /usr/sbin/iptables iptables

4. Switch to &quot;Terminal &lt;2&gt;&quot;

   $ runqemu qemux86


I&apos;ll try to modify the BA recipe so that the above steps are not needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61293</commentid>
    <comment_count>2</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2016-04-15 16:27:29 +0000</bug_when>
    <thetext>Patch sent to the mailing list:
http://lists.openembedded.org/pipermail/openembedded-core/2016-April/120284.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61498</commentid>
    <comment_count>3</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2016-04-21 14:22:27 +0000</bug_when>
    <thetext>Patch merged with master:
https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=396e64d58e5f84bd30cedc5552b3c9ed61aa4840</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61597</commentid>
    <comment_count>4</comment_count>
    <who name="Ke Zou">ke.zou</who>
    <bug_when>2016-04-25 05:52:27 +0000</bug_when>
    <thetext>verified with yocto 2.1 rc2 build</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>