Bug 259 - [Connman] wpa_supplicant not start by default
Summary: [Connman] wpa_supplicant not start by default
Status: VERIFIED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 0.9
Hardware: All Multiple
: Medium normal
Target Milestone: 1.0 M1
Assignee: Dongxiao Xu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-09-02 07:23 UTC by Jiajun Xu
Modified: 2010-12-21 06:07 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified: Program Management
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiajun Xu 2010-09-02 07:23:58 UTC
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
Comment 1 Saul Wold 2010-09-02 17:08:17 UTC
This is not critical, wpa_supplicant can be started by hand and testing can continue.
Comment 2 Dongxiao Xu 2010-09-03 00:05:16 UTC
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't work in autobuilder image...
Comment 3 Jiajun Xu 2010-09-29 18:22:51 UTC
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.
Comment 4 Dongxiao Xu 2010-10-14 18:00:39 UTC
Here is the root cause for this bug: Connmand and wpa_supplicant uses system bus to do communication, and "dbus-daemon --system" is run under group "messagebus". Checking the autobuilder image and found that, some basic directories, like /usr, /etc, /sbin, etc. They are all set as "drwx------", that is to say, normal user/group could not access them. With this wrong permission setting, "dbus-daemon --system" 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.
Comment 5 Jiajun Xu 2010-10-21 07:13:58 UTC
Verify the bug with 20101018 build, it's fixed.