<?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>3804</bug_id>
          
          <creation_ts>2013-01-29 08:38:35 +0000</creation_ts>
          <short_desc>connman offline mode doesn&apos;t work on qemu images</short_desc>
          <delta_ts>2013-03-19 12:15:56 +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>connectivity</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="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Cristian Iorga">cristian.iorga</assigned_to>
          <cc>hongxu.jia</cc>
    
    <cc>liang.li2</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>Qi.Chen</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</cc>
    
    <cc>sstncr</cc>
    
    <cc>yi.zhao</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>29283</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2013-01-29 08:38:35 +0000</bug_when>
    <thetext>Image location: http://autobuilder.yoctoproject.org/pub/nightly/20130122-2/
Tree/Branch: poky/master
Git Rev: 8d6e55bf2192524bda84138b5356a2791adbbe61

Steps:
1. Launch connman-properties after system booting
2. choose &quot;offline mode&quot; and check the connection of all network interfaces

There is no response when click the &quot;OfflineMode&quot; button. the network interfaces still connect.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29346</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-01-30 12:44:46 +0000</bug_when>
    <thetext>This is probably because we&apos;re telling connman to ignore the statically configure networking channel.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29524</commentid>
    <comment_count>2</comment_count>
    <who name="Stefan Stanacar">sstncr</who>
    <bug_when>2013-02-05 15:15:21 +0000</bug_when>
    <thetext>Hi Yi,

For qemu machines connman doesn&apos;t manage any ethX interface anymore, so all connman networking tests on qemu are irrelevant. 

Have a look at /etc/connman/main.conf:

[General]

NetworkInterfaceBlacklist = eth


Commit 7048fbdc05c1f2d9acaf1052550dec792c1f18da introduced connman-conf recipe for all qemu machines, blacklisting eth interfaces. The reason behind the change was that on qemu machines the interface is statically configured anyway at boot time (runqemu passes an ip to qemu) and restarting connman would have killed the network (reconfiguring the interface).
So, I&apos;m not really sure how we should handle this, given that all connman tests on qemu are now irrelevant...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29998</commentid>
    <comment_count>3</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2013-02-21 09:41:45 +0000</bug_when>
    <thetext>Hello, this situation is generated by a previous patch that I have introduced, meant to stop connman from messing up with qemu machines network configuration.
As a side effect, wired interface (in this case eth0) are no longer under connman&apos;s control.
A better fix is in the work.
The situation is a little bit difficult because of connman&apos;s inability of providing ethernet provisioning.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30334</commentid>
    <comment_count>4</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2013-03-01 16:53:17 +0000</bug_when>
    <thetext>In connman 1.12, Ethernet provisioning is introduced.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30567</commentid>
    <comment_count>5</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2013-03-08 08:25:19 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=6159ad1063f4be518d8f0a1c024f12fc16d13592</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30836</commentid>
    <comment_count>6</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2013-03-19 12:15:56 +0000</bug_when>
    <thetext>Verified with master branch: 4da406cd50cf02a63ed76810a670aba1eb561c79</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>