Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 141162

Summary: net-misc/ntp with Zeroconf support / issues
Product: Gentoo Linux Reporter: David Li <matrixhax0r>
Component: New packagesAssignee: SpanKY <vapier>
Severity: normal CC: dberkholz, saintdev
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description David Li 2006-07-20 06:35:34 UTC
After emerging net-misc/ntp-4.2.2* with avahi installed, I recieve this error with running ntpd:

*** WARNING *** The programme 'ntpd' uses the Apple Bonjour compatiblity layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <>
ntpd: compat.c:986: DNSServiceRegister: Assertion `callback' failed.

Then ntpd exits. There is no Zeroconf use flag to disable the feature and make ntpd start properly.

I propose using this patch from upstream:
to correct any ntp zeroconf issues. See more information about it here:
Comment 1 David Li 2006-07-20 06:36:33 UTC
Oh and:
Portage 2.1.1_pre3-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r3 i686)
System uname: 2.6.17-gentoo-r3 i686 Intel(R) Pentium(R) M processor 1.80GHz
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
CFLAGS="-O2 -pipe"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe "
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=180 --exclude-from=/etc/portage/syncExcludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTDIR_OVERLAY="/usr/portage/local/portage /usr/portage/local/layman/vmware /usr/portage/local/layman/musicbrainz /usr/portage/local/layman/java-migration-packages"
USE="x86 X a52 aac acl acpi aim alsa apache2 apm applet artworkextra asf async avahi bash-completion bitmap-fonts bonjour bzip2 cairo cdr chroot clamav cli cracklib crypt css cups dbus dga dhcp djvu dlloader dmi doc dpms dri dts dvd dvdread dvi eds effects encode esd evo evolution exif fam fastbuild fbcon ffmpeg firefox flac flash foomaticdb fortran fuse gaim gd gdbm gecko-sdk gencertdaily gif glibc-omitfp glitz glut gmp gnome gphoto2 gpm gstreamer gstreamer010 gtk gtk2 hal howl howl-compat hpn i8x0 icq idn imagemagick imap imlib imlib2 inkjar innodb insecure-savers ipv6 isdnlog jabber java javascript jikes jpeg kdeenablefinal lcms libcaca libg++ libwww live lzo lzw mad matroska mdnsresponder-compat memlimit mhash mikmod mime ming mmx mmxext mng mono motif mozdevelop moznocompose moznoirc moznomail mozsvg mp3 mpeg mpi mplayer mpm-worker msn musepack musicbrainz mysql mysqli nautilus ncurses network new-login nfs nls no-old-linux no-seamonkey nodoc nogecko-sdk nosrc nptl nptlonly nsplugin ntfs oav offensive ogg openal opengl openssh oscar pam pcre pdf pdflib perl php pic png pnp pop ppds pppd python qmail qt3 qt4 quicktime radiotap rar readline real reflection reiser4 reiserfs rtc samba sdl session silc slp smarty sockets speex spell spl sse sse2 ssl svg svga sysfs syslog sysvipc t1lib tcpd tetex tga theora threads tiff transcode truetype truetype-fonts type1 type1-fonts udev unicode usb userlocales utf8 v4l v4l2 vcd videos visualization vorbis widescreen wifi win32codecs wmf x264 xine xinerama xml xml2 xmlreader xmlwriter xorg xpm xscreensaver xv xvid xvmc yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_en userland_GNU video_cards_radeon video_cards_vesa"
Comment 2 SpanKY gentoo-dev 2006-07-30 12:59:32 UTC
when upstream has this resolved i'll take their patch ... i dont really know anything about zeroconf to try and support this myself, sorry