<?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>144</bug_id>
          
          <creation_ts>2010-07-26 19:58:11 +0000</creation_ts>
          <short_desc>avahi-daemon fail to start with qemumips sdk image</short_desc>
          <delta_ts>2011-11-24 18:37: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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>0.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>mips</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>minor</bug_severity>
          <target_milestone>0.9 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>jiajun.xu</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>liang.li2</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>susie.li</cc>
    
    <cc>xianchao.zhang</cc>
    
    <cc>yi.zhao</cc>
    
    <cc>yongkang.you</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>9078</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2010-07-26 19:58:11 +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):
faf6b2d33e8ce7fe7fdf5d8379b19c2e49b8c997 (git://git.pokylinux.org/poky.git)
Image location: http://yoctobuild01.jf.intel.com/milestone/20100725-1/

With qemumips sdk image from milestone build, avahi-daemon fails to start. It prompts that &quot;Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory&quot;

#######
$ avahi-daemon
Found user &apos;avahi&apos; (UID 43) and group &apos;avahi&apos; (GID 103)
Successfully dropped root privileges.
avahi-daemon 0.6.27 starting up.
dbus_bus_get_private(): Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
WARNING: Failed to contact D-Bus daemon
avahi-daemon 0.6.27 exiting.
#######</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9088</commentid>
    <comment_count>1</comment_count>
    <who name="Kevin Tian">kevin.tian</who>
    <bug_when>2010-07-27 04:26:53 +0000</bug_when>
    <thetext>I tried same SDK image copied from you. Avahi just launched successfully. A bit weird...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9089</commentid>
    <comment_count>2</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2010-07-27 05:43:31 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; I tried same SDK image copied from you. Avahi just launched successfully. A bit
&gt; weird...

Strange. Let&apos;s check it tomorrow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9120</commentid>
    <comment_count>3</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2010-07-28 05:56:19 +0000</bug_when>
    <thetext>Today Kevin and I checked on my machine, it even cannot be reproduced again on my machine. So how about mark the bug as &quot;minor&quot; and track the status in M3?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9289</commentid>
    <comment_count>4</comment_count>
    <who name="Qing He">qing.he</who>
    <bug_when>2010-08-11 19:59:08 +0000</bug_when>
    <thetext>Can anyone reproduce this bug now?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9291</commentid>
    <comment_count>5</comment_count>
    <who name="Kevin Tian">kevin.tian</who>
    <bug_when>2010-08-11 20:11:33 +0000</bug_when>
    <thetext>I think no. Perhaps we can lower its priority to low, until we reproduce it again...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9618</commentid>
    <comment_count>6</comment_count>
    <who name="xianchao zhang">xianchao.zhang</who>
    <bug_when>2010-09-07 02:12:33 +0000</bug_when>
    <thetext>I have tried with M3 images(20100905), and found avahi-daemon has not started, and
If run it by hand, will arise segment fault

steps to reproduce:

1. download image
2. boot up with sdk image
3. run command like this:

root@qemumips:~# connmand
 Segmentation fault</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9627</commentid>
    <comment_count>7</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2010-09-07 08:38:28 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; I have tried with M3 images(20100905), and found avahi-daemon has not started,
&gt; and
&gt; If run it by hand, will arise segment fault
&gt; steps to reproduce:
&gt; 1. download image
&gt; 2. boot up with sdk image
&gt; 3. run command like this:
&gt; root@qemumips:~# connmand
&gt;  Segmentation fault

Xianchao,
The bug is for avahi-daemon. But according to your comments, since you tried to run connmand, not avahi-daemon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9645</commentid>
    <comment_count>8</comment_count>
    <who name="xianchao zhang">xianchao.zhang</who>
    <bug_when>2010-09-07 23:51:15 +0000</bug_when>
    <thetext>(In reply to comment #7)
&gt; (In reply to comment #6)
&gt; &gt; I have tried with M3 images(20100905), and found avahi-daemon has not started,
&gt; &gt; and
&gt; &gt; If run it by hand, will arise segment fault
&gt; &gt; steps to reproduce:
&gt; &gt; 1. download image
&gt; &gt; 2. boot up with sdk image
&gt; &gt; 3. run command like this:
&gt; &gt; root@qemumips:~# connmand
&gt; &gt;  Segmentation fault
&gt; 
&gt; Xianchao,
&gt; The bug is for avahi-daemon. But according to your comments, since you tried to
&gt; run connmand, not avahi-daemon.

Sorry, I make a mistake. the above comments should be for connmand segfault issue with sato/sdk with qemumips.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9646</commentid>
    <comment_count>9</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2010-09-07 23:56:37 +0000</bug_when>
    <thetext>(In reply to comment #8)
&gt; (In reply to comment #7)
&gt; &gt; (In reply to comment #6)
&gt; &gt; &gt; I have tried with M3 images(20100905), and found avahi-daemon has not started,
&gt; &gt; &gt; and
&gt; &gt; &gt; If run it by hand, will arise segment fault
&gt; &gt; &gt; steps to reproduce:
&gt; &gt; &gt; 1. download image
&gt; &gt; &gt; 2. boot up with sdk image
&gt; &gt; &gt; 3. run command like this:
&gt; &gt; &gt; root@qemumips:~# connmand
&gt; &gt; &gt;  Segmentation fault
&gt; &gt; 
&gt; &gt; Xianchao,
&gt; &gt; The bug is for avahi-daemon. But according to your comments, since you tried to
&gt; &gt; run connmand, not avahi-daemon.
&gt; Sorry, I make a mistake. the above comments should be for connmand segfault
&gt; issue with sato/sdk with qemumips.

Xianchao,
Do you meet avahi-daemon issue with qemumips image? If not, you can mark the bug as RESOLVED FIXED and verifiy it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9648</commentid>
    <comment_count>10</comment_count>
    <who name="xianchao zhang">xianchao.zhang</who>
    <bug_when>2010-09-08 00:21:16 +0000</bug_when>
    <thetext>(In reply to comment #9)
&gt; (In reply to comment #8)
&gt; &gt; (In reply to comment #7)
&gt; &gt; &gt; (In reply to comment #6)
&gt; &gt; &gt; &gt; I have tried with M3 images(20100905), and found avahi-daemon has not started,
&gt; &gt; &gt; &gt; and
&gt; &gt; &gt; &gt; If run it by hand, will arise segment fault
&gt; &gt; &gt; &gt; steps to reproduce:
&gt; &gt; &gt; &gt; 1. download image
&gt; &gt; &gt; &gt; 2. boot up with sdk image
&gt; &gt; &gt; &gt; 3. run command like this:
&gt; &gt; &gt; &gt; root@qemumips:~# connmand
&gt; &gt; &gt; &gt;  Segmentation fault
&gt; &gt; &gt; 
&gt; &gt; &gt; Xianchao,
&gt; &gt; &gt; The bug is for avahi-daemon. But according to your comments, since you tried to
&gt; &gt; &gt; run connmand, not avahi-daemon.
&gt; &gt; Sorry, I make a mistake. the above comments should be for connmand segfault
&gt; &gt; issue with sato/sdk with qemumips.
&gt; 
&gt; Xianchao,
&gt; Do you meet avahi-daemon issue with qemumips image? If not, you can mark the
&gt; bug as RESOLVED FIXED and verifiy it.

Already done.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16971</commentid>
    <comment_count>11</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2011-10-24 23:28:50 +0000</bug_when>
    <thetext>It also happend on sato,sato-sdk images of qemuppc and qemumips and sato-sdk images of mpc8315e-rdb in nightly build (20111023-1) from below:
http://autobuilder.pokylinux.org/nightly/20111023-1/machines/

form boot messages ,get below error:
Starting syslogd/klogd: done
 * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon                       [fail]

from target images , run &quot;ps -ef | grep connmand&quot; ,below error:
root@mpc8315e-rdb:/etc/init.d# ps -ef | grep connmand
root     17358   313  0 14:27 pts/0    00:00:00 grep connmand
root@mpc8315e-rdb:/etc/init.d# 

the connmand process not startup when the target images start up.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16973</commentid>
    <comment_count>12</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2011-10-25 01:57:00 +0000</bug_when>
    <thetext>I reported a new bug to trace this issue. Please see bug 1699.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17225</commentid>
    <comment_count>13</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2011-11-15 20:00:51 +0000</bug_when>
    <thetext>(In reply to comment #11)
&gt; It also happend on sato,sato-sdk images of qemuppc and qemumips and sato-sdk
&gt; images of mpc8315e-rdb in nightly build (20111023-1) from below:
&gt; http://autobuilder.pokylinux.org/nightly/20111023-1/machines/
&gt; 
&gt; form boot messages ,get below error:
&gt; Starting syslogd/klogd: done
&gt;  * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon                       [fail]
&gt; 
&gt; from target images , run &quot;ps -ef | grep connmand&quot; ,below error:
&gt; root@mpc8315e-rdb:/etc/init.d# ps -ef | grep connmand
&gt; root     17358   313  0 14:27 pts/0    00:00:00 grep connmand
&gt; root@mpc8315e-rdb:/etc/init.d# 
&gt; 
&gt; the connmand process not startup when the target images start up.

use sato,sato-sdk images built manually on git master branch,the error not met.
git info :acbf65b9a6f14ed2b2f471e104c30cca11647b6c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17369</commentid>
    <comment_count>14</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-11-24 11:07:30 +0000</bug_when>
    <thetext>The various useradd.bbclass fixed have meant this is now fixed in master. It was being caused by the avahi user creation code failing to work correctly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17394</commentid>
    <comment_count>15</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2011-11-24 18:37:56 +0000</bug_when>
    <thetext>verified on nightly build 20111117-4:
http://autobuilder.pokylinux.org/nightly/20111117-4/machines/
git branch : poky/master
git info : f2d077255d9ddf9b87e9a781b989bcce69047cf5</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>