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
This is not critical, wpa_supplicant can be started by hand and testing can continue.
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...
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.
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.
Verify the bug with 20101018 build, it's fixed.