Created attachment 349526 [details] emerge --info After emerging --update @world, avahi-dnsconfd cannot start as avahi-daemon would not start as the following. $ sudo /etc/init.d/avahi-dnsconfd start パスワード: * Starting avahi-daemon ... [ !! ] * ERROR: avahi-daemon failed to start * ERROR: cannot start avahi-dnsconfd as avahi-daemon would not start /var/log/messages gives the following. ------ May 29 16:29:28 Gentoo-PC sudo: hiro : TTY=pts/3 ; PWD=/etc/avahi ; USER=ro ot ; COMMAND=/etc/init.d/avahi-dnsconfd start May 29 16:29:28 Gentoo-PC sudo: pam_unix(sudo:session): session opened for user root by hiro(uid=0) May 29 16:29:29 Gentoo-PC avahi-daemon[15239]: Found user 'avahi' (UID 103) and group 'avahi' (GID 103). May 29 16:29:29 Gentoo-PC avahi-daemon[15239]: Successfully dropped root privil eges. May 29 16:29:29 Gentoo-PC avahi-daemon[15239]: avahi-daemon 0.6.31 starting up. May 29 16:29:29 Gentoo-PC avahi-daemon[15239]: Successfully called chroot(). May 29 16:29:29 Gentoo-PC avahi-daemon[15239]: Successfully dropped remaining c apabilities. May 29 16:29:29 Gentoo-PC avahi-daemon[15239]: Loading service file /services/sftp-ssh.service. May 29 16:29:29 Gentoo-PC avahi-daemon[15239]: Loading service file /services/ssh.service. May 29 16:29:29 Gentoo-PC avahi-daemon[15239]: SO_REUSEPORT failed: Protocol not available May 29 16:29:29 Gentoo-PC avahi-daemon[15239]: Failed to create server: No suitable network protocol available May 29 16:29:29 Gentoo-PC avahi-daemon[15239]: avahi-daemon 0.6.31 exiting. May 29 16:29:29 Gentoo-PC /etc/init.d/avahi-daemon[15228]: ERROR: avahi-daemon failed to start May 29 16:29:29 Gentoo-PC /etc/init.d/avahi-dnsconfd[15227]: ERROR: cannot start avahi-dnsconfd as avahi-daemon would not start emerge --info is attached.
Please post your `emerge -vpq net-dns/avahi' output in a comment.
Avahi-daemon has recoverd after I updated the kernel to 3.9.3-gentoo. Thank you, any way.
Once I was able to start avahi on kernel-3.9.3. However, I've chaged the kernel to 3.8.13 because of the Bug 47180. On kernel-3.8.13 avahi-daemon won't start again. `emerge -pqv net-dns/avahi` gives: ------ [ebuild U ] net-dns/avahi-0.6.31-r2 [0.6.31-r1] USE="dbus gdbm introspection -autoipd -bookmarks -doc -gtk -gtk3 -howl-compat -ipv6 -mdnsresponder-compat -mono -python -qt4 {-test} -utils" PYTHON_TARGETS="python2_7%* -python2_5% -python2_6%" ----- so I have updated net-dns/avahi. After the update, `sudo /etc/init.d/avahi-dnsconfd restart` gives the followings: /var/log/messages ----- May 31 16:51:48 Gentoo-PC sudo: hiro : TTY=pts/1 ; PWD=/home/hiro/ドキュメ ント/Gentoo_bugzilla ; USER=root ; COMMAND=/etc/init.d/avahi-dnsconfd restart May 31 16:51:48 Gentoo-PC sudo: pam_unix(sudo:session): session opened for user root by hiro(uid=0) May 31 16:51:51 Gentoo-PC avahi-daemon[15692]: Found user 'avahi' (UID 103) and group 'avahi' (GID 103). May 31 16:51:51 Gentoo-PC avahi-daemon[15692]: Successfully dropped root privil eges. May 31 16:51:51 Gentoo-PC avahi-daemon[15692]: avahi-daemon 0.6.31 starting up. May 31 16:51:51 Gentoo-PC avahi-daemon[15692]: Successfully called chroot(). May 31 16:51:51 Gentoo-PC avahi-daemon[15692]: Successfully dropped remaining c apabilities. May 31 16:51:51 Gentoo-PC avahi-daemon[15692]: Loading service file /services/sftp-ssh.service. May 31 16:51:51 Gentoo-PC avahi-daemon[15692]: Loading service file /services/ssh.service. May 31 16:51:51 Gentoo-PC avahi-daemon[15692]: SO_REUSEPORT failed: Protocol not available May 31 16:51:51 Gentoo-PC avahi-daemon[15692]: Failed to create server: No suitable network protocol available May 31 16:51:51 Gentoo-PC avahi-daemon[15692]: avahi-daemon 0.6.31 exiting. May 31 16:51:51 Gentoo-PC /etc/init.d/avahi-daemon[15681]: ERROR: avahi-daemon failed to start May 31 16:51:51 Gentoo-PC /etc/init.d/avahi-dnsconfd[15522]: ERROR: cannot start avahi-dnsconfd as avahi-daemon would not start May 31 16:51:51 Gentoo-PC kernel: [ 4763.630013] avahi-dnsconfd (15522) used greatest stack depth: 5568 bytes left May 31 16:51:51 Gentoo-PC sudo: pam_unix(sudo:session): session closed for user root dmesg ----- [ 2165.443590] exo-helper-1 (3093) used greatest stack depth: 5776 bytes left [ 2258.905705] avahi-daemon (3123) used greatest stack depth: 5680 bytes left [ 4763.630013] avahi-dnsconfd (15522) used greatest stack depth: 5568 bytes left
*** Bug 472462 has been marked as a duplicate of this bug. ***
(In reply to Hiroshi Takenaka from comment #3) > May 31 16:51:51 Gentoo-PC avahi-daemon[15692]: Failed to create server: No > suitable network protocol available This sounds like an ipv4 vs ipv6 mismatch but I don't think it is. I wonder if this is an x32 bug. Hiroshi, can you give me more information about your networking? Do you have ivp4/6? Can you turn off ipv6 and see if this fixes the problem? Just do echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6 Also can you post your 3.8.13 vs your 3.9.3 kernel configs. In the mean time, I'm going to have to build an x32 system.
Anthony, This bug has been solved by the advice from Azamat in Bug 472462. My gentoo runs on VMware Workstation and I'm not using ipv6 because VMware doesn't support ipv6 yet. Regards,
Thanks for the report. Its good to know that there is some break in kernel api between 3.8 and 3.9 that cases this issue. However, there is nothing to be done for avahi.