<?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>259</bug_id>
          
          <creation_ts>2010-09-02 07:23:58 +0000</creation_ts>
          <short_desc>[Connman] wpa_supplicant not start by default</short_desc>
          <delta_ts>2010-12-21 06:07:13 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>0.9</version>
          <rep_platform>All</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.0 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Dongxiao Xu">dongxiao.xu</assigned_to>
          <cc>dongxiao.xu</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          <cf_verified>Program Management</cf_verified>
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>9548</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2010-09-02 07:23:58 +0000</bug_when>
    <thetext>Testing Env:    
Host: Ubuntu 10.04 LTS
Kernel: 2.6.32-21-generic-pae
Poky gitinfo(used to build qemu-native):
e300aa048531a5a11c4c87848551e5541b5b3022 (git.pokylinux.org:poky-wr
+yocto-kernel-clean)
All images file from http://autobuilder.pokylinux.org/nightly/20100831-1/.

With 20100831 images from autobuilder, wpa_supplicant is not started by default after system is up. This causes we not able to test wifi in Connman.

#######
root@netbook:~# ps | grep wpa_supplicant
  833 root      2148 S    grep wpa_supplicant
#######

Reproduce Steps:
1. Download images from autobuilder
2. Burn netbook image into netbook or build qemu-native with poky tree
3. Boot the image and check wpa_supplicant is running with above command</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9557</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2010-09-02 17:08:17 +0000</bug_when>
    <thetext>This is not critical, wpa_supplicant can be started by hand and testing can continue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9575</commentid>
    <comment_count>2</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2010-09-03 00:05:16 +0000</bug_when>
    <thetext>It is strange that we could not reproduce this bug in local built image.

Jiajun and I separately built a netbook image, and wpa_supplicant could be brought up both in the two images. However it doesn&apos;t work in autobuilder image...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10050</commentid>
    <comment_count>3</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2010-09-29 18:22:51 +0000</bug_when>
    <thetext>I tried with 0925 build, the issue still exists. The download URL is http://autobuilder.pokylinux.org/nightly/20100925-1/. I put the image on our local server also, \\vt-nfs.sh.intel.com\incoming\nightly-20100925.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10566</commentid>
    <comment_count>4</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2010-10-14 18:00:39 +0000</bug_when>
    <thetext>Here is the root cause for this bug: Connmand and wpa_supplicant uses system bus to do communication, and &quot;dbus-daemon --system&quot; is run under group &quot;messagebus&quot;. Checking the autobuilder image and found that, some basic directories, like /usr, /etc, /sbin, etc. They are all set as &quot;drwx------&quot;, that is to say, normal user/group could not access them. With this wrong permission setting, &quot;dbus-daemon --system&quot; could not access some files and it encounters error when trying to bring up wpa_supplicant.

Upgrade pseudo to solved the issue. See BUG 463.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10756</commentid>
    <comment_count>5</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2010-10-21 07:13:58 +0000</bug_when>
    <thetext>Verify the bug with 20101018 build, it&apos;s fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>