Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 472462 - Avahi-daemon cannot start on kernel-3.8.13
Summary: Avahi-daemon cannot start on kernel-3.8.13
Status: RESOLVED DUPLICATE of bug 471662
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-06 04:53 UTC by Hiroshi Takenaka
Modified: 2013-06-06 13:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hiroshi Takenaka 2013-06-06 04:53:26 UTC
avahi-daemon was able to start up on kernel-3.9.3.
However, because of the problem I reported on Bug 471780,
now I'm using kernel-3.8.13 stabler than kernel-3.9.3.
On kernel-3.8.13 avahi-daemon won't start up again.

'emerge -pqv net-dns/avahi' says:
-----
[ebuild   R   ] net-dns/avahi-0.6.31-r2  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" 
-----

'/etc/init.d/avahi-dnsconfd start' gives to /var/log/messages:
-----
Jun  6 13:46:37 Gentoo-PC sudo: pam_unix(sudo:session): session closed for user
 root
Jun  6 13:46:56 Gentoo-PC sudo:     hiro : TTY=pts/2 ; PWD=/home/hiro ; USER=ro
ot ; COMMAND=/etc/init.d/avahi-dnsconfd start
Jun  6 13:46:56 Gentoo-PC sudo: pam_unix(sudo:session): session opened for user
 root by hiro(uid=0)
Jun  6 13:46:56 Gentoo-PC avahi-daemon[10056]: Found user 'avahi' (UID 103) and
 group 'avahi' (GID 103).
Jun  6 13:46:56 Gentoo-PC avahi-daemon[10056]: Successfully dropped root privil
eges.
Jun  6 13:46:56 Gentoo-PC avahi-daemon[10056]: avahi-daemon 0.6.31 starting up.
Jun  6 13:46:56 Gentoo-PC avahi-daemon[10056]: Successfully called chroot().
Jun  6 13:46:56 Gentoo-PC avahi-daemon[10056]: Successfully dropped remaining capabilities.
Jun  6 13:46:56 Gentoo-PC avahi-daemon[10056]: Loading service file /services/sftp-ssh.service.
Jun  6 13:46:56 Gentoo-PC avahi-daemon[10056]: Loading service file /services/ssh.service.
Jun  6 13:46:57 Gentoo-PC avahi-daemon[10056]: SO_REUSEPORT failed: Protocol not available
Jun  6 13:46:57 Gentoo-PC avahi-daemon[10056]: Failed to create server: No suitable network protocol available
Jun  6 13:46:57 Gentoo-PC avahi-daemon[10056]: avahi-daemon 0.6.31 exiting.
Jun  6 13:46:57 Gentoo-PC /etc/init.d/avahi-daemon[10045]: ERROR: avahi-daemon failed to start
Jun  6 13:46:57 Gentoo-PC /etc/init.d/avahi-dnsconfd[10044]: ERROR: cannot start avahi-dnsconfd as avahi-daemon would not start
Jun  6 13:46:57 Gentoo-PC sudo: pam_unix(sudo:session): session closed for user root
-----

'emerge --info' is the following:
-----
Portage 2.1.12.2 (default/linux/x86/13.0, gcc-4.7.3, glibc-2.17, 3.8.13-gentoo i686)
=================================================================
System uname: Linux-3.8.13-gentoo-i686-Intel-R-_Celeron-R-_CPU_450_@_2.20GHz-with-gentoo-2.2
KiB Mem:      768580 total,     30464 free
KiB Swap:    1048572 total,   1000864 free
Timestamp of tree: Wed, 05 Jun 2013 06:15:02 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5, 3.2.5, 3.3.2
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.2
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.hoobly.com/"
LC_ALL="ja_JP.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X acl acpi alsa berkdb bzip2 cjk cli cracklib crypt cxx dri dvd fortran gdbm gpm gstreamer hal iconv modules mudflap ncurses nls nptl opengl openmp pam pcre readline session ssl tcpd unicode upcall x86 xfce zlib" ABI_X86="32" ALSA_CARDS="ens1371" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ja" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="vmware vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
-----
Comment 1 Azamat H. Hackimov 2013-06-06 06:04:43 UTC
New avahi uses SO_REUSEPORT feature, that implemented in kernel > 3.9. You should downgrade avahi.
Comment 2 Azamat H. Hackimov 2013-06-06 06:24:18 UTC
Correction, you should downgrade linux-headers to < 3.9 and recompile avahi against them.
Comment 3 Hiroshi Takenaka 2013-06-06 11:04:03 UTC
I have downgraded the kernel header to linux-header-3.8
and recompile net-dns/avahi.
Now I could have started avahi service.
Thank you.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-06 13:35:53 UTC

*** This bug has been marked as a duplicate of bug 471662 ***