<?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>3843</bug_id>
          
          <creation_ts>2013-02-05 13:43:35 +0000</creation_ts>
          <short_desc>Build Appliance has no network - connman doesn&apos;t manage eth interfaces on qemu machines</short_desc>
          <delta_ts>2013-03-21 14:09:35 +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>1.4</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>1.4 M4</target_milestone>
          <dependson>3227</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stefan Stanacar">sstncr</reporter>
          <assigned_to name="Cristian Iorga">cristian.iorga</assigned_to>
          <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>29521</commentid>
    <comment_count>0</comment_count>
    <who name="Stefan Stanacar">sstncr</who>
    <bug_when>2013-02-05 13:43:35 +0000</bug_when>
    <thetext>Steps:
 - bitbake and boot build-appliance-image (using 1.4M3.rc1 or rc2 release)

Expected results:
  - VM should have access to the network

The VM doesn&apos;t have network because connman doesn&apos;t manage ethX interfaces anymore. This was tricky to notice at first because a minimal build works in Hob (it has sources pre-fetched).

Commit 7048fbdc05c1f2d9acaf1052550dec792c1f18da introduces connman-conf recipe for all qemu machines, which installs a config for connman, blacklisting all eth* interfaces. Blacklisting eth interfaces affects build appliance image too (because it&apos;s built as qemux86-64 machine usually).




Ugly fix (tested):

diff --git a/meta/recipes-core/images/build-appliance-image.bb b/meta/recipes-core/images/build-appliance-image.bb
index 2359eca..b8255ac 100644
--- a/meta/recipes-core/images/build-appliance-image.bb
+++ b/meta/recipes-core/images/build-appliance-image.bb
@@ -64,6 +64,8 @@ fakeroot do_populate_poky_src () {
        # Use Clearlooks GTK+ theme
        mkdir -p ${IMAGE_ROOTFS}/etc/gtk-2.0
        echo &apos;gtk-theme-name = &quot;Clearlooks&quot;&apos; &gt; ${IMAGE_ROOTFS}/etc/gtk-2.0/gtkrc
+        
+        rm -f ${IMAGE_ROOTFS}/etc/connman/main.conf
 }
 
 IMAGE_PREPROCESS_COMMAND += &quot;do_populate_poky_src; &quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30335</commentid>
    <comment_count>1</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2013-03-01 16:55:17 +0000</bug_when>
    <thetext>In connman 1.12, Ethernet provisioning is introduced.
Connman no longer is set up to ignore Ethernet interfaces for Build Appliance.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30568</commentid>
    <comment_count>2</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2013-03-08 08:25:46 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=6159ad1063f4be518d8f0a1c024f12fc16d13592</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30967</commentid>
    <comment_count>3</comment_count>
    <who name="Stefan Stanacar">sstncr</who>
    <bug_when>2013-03-21 14:09:35 +0000</bug_when>
    <thetext>Marked as Verified (1.4M5.rc1)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>