<?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>5788</bug_id>
          
          <creation_ts>2014-02-05 10:55:03 +0000</creation_ts>
          <short_desc>avahi-daemon refuses to start in clanton with 3.8 kernel</short_desc>
          <delta_ts>2014-02-05 14:30:26 +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>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jukka Rissanen">jukka.rissanen</reporter>
          <assigned_to name="Cristian Iorga">cristian.iorga</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>40186</commentid>
    <comment_count>0</comment_count>
    <who name="Jukka Rissanen">jukka.rissanen</who>
    <bug_when>2014-02-05 10:55:03 +0000</bug_when>
    <thetext>avahi-daemon refuses to start in 3.8 kernel found in clanton because SO_REUSEPORT socket option is missing. It seems that the symbol was found during compilation but it was not found at runtime. SO_REUSEPORT is available only in kernel 3.9 onwards.

A workaround is to set disallow-other-stacks=yes to /etc/avahi/avahi-daemon.conf which prevents the call to setsockopt(SO_REUSEPORT)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40187</commentid>
    <comment_count>1</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2014-02-05 11:08:36 +0000</bug_when>
    <thetext>Investigation against master started.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40191</commentid>
    <comment_count>2</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2014-02-05 11:57:39 +0000</bug_when>
    <thetext>Fixed in master.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40195</commentid>
    <comment_count>3</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2014-02-05 14:30:26 +0000</bug_when>
    <thetext>Normal start for avahi-daemon:

cat /var/log/syslog
......
Feb  5 14:18:26 qemux86-64 avahi-daemon[808]: Found user &apos;avahi&apos; (UID 999) and group &apos;avahi&apos; (GID 998).
Feb  5 14:18:26 qemux86-64 avahi-daemon[808]: Successfully dropped root privileges.
Feb  5 14:18:26 qemux86-64 avahi-daemon[808]: avahi-daemon 0.6.31 starting up.
Feb  5 14:18:26 qemux86-64 avahi-daemon[808]: Successfully called chroot().          
Feb  5 14:18:26 qemux86-64 avahi-daemon[808]: Successfully dropped remaining capabilities.
Feb  5 14:18:27 qemux86-64 avahi-daemon[808]: Loading service file /services/sftp-ssh.service.
Feb  5 14:18:27 qemux86-64 avahi-daemon[808]: Loading service file /services/ssh.service.
Feb  5 14:18:27 qemux86-64 avahi-daemon[808]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.7.2.
Feb  5 14:18:27 qemux86-64 avahi-daemon[808]: New relevant interface eth0.IPv4 for mDNS.
Feb  5 14:18:27 qemux86-64 avahi-daemon[808]: Network interface enumeration completed.
Feb  5 14:18:27 qemux86-64 avahi-daemon[808]: Registering new address record for fe80::5054:ff:fe12:3456 on eth0.*.
Feb  5 14:18:27 qemux86-64 avahi-daemon[808]: Registering new address record for 192.168.7.2 on eth0.IPv4.
Feb  5 14:18:27 qemux86-64 avahi-daemon[808]: Registering HINFO record with values &apos;X86_64&apos;/&apos;LINUX&apos;.
Feb  5 14:18:27 qemux86-64 avahi-daemon[808]: Server startup complete. Host name is qemux86-64.local. Local service cookie is 1084014301.
Feb  5 14:18:28 qemux86-64 cupsd: Unknown SystemGroup &quot;lpadmin sys root&quot; on line 20 of /etc/cups/cups-files.conf.
Feb  5 14:18:28 qemux86-64 cupsd: Unable to read &quot;/etc/cups/cups-files.conf&quot; due to errors.
Feb  5 14:18:28 qemux86-64 crond[833]: (CRON) STARTUP (1.4.11)
Feb  5 14:18:28 qemux86-64 crond[833]: (CRON) INFO (RANDOM_DELAY will be scaled with factor 21% if used.)
Feb  5 14:18:28 qemux86-64 avahi-daemon[808]: Service &quot;qemux86-64&quot; (/services/ssh.service) successfully established.
Feb  5 14:18:28 qemux86-64 avahi-daemon[808]: Service &quot;qemux86-64&quot; (/services/sftp-ssh.service) successfully established.
....

ps aux | grep avahi

avahi      808  0.0  0.7  32220  1752 ?        S    14:18   0:00 avahi-daemon: running [qemux86-64.local]
avahi      809  0.0  0.1  32092   444 ?        S    14:18   0:00 avahi-daemon: chroot helper
root       926  0.0  0.2   4408   608 pts/0    S+   14:32   0:00 grep avahi</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>