Results 1 to 9 of 9

Thread: Avahi Apple Bonjour compatibility layer

  1. #1
    Join Date
    Mar 2008
    Location
    Paris
    Beans
    72
    Distro
    Ubuntu 10.04 Lucid Lynx

    Question Avahi Apple Bonjour compatibility layer

    Hi,

    I was browsing my logfiles when I saw this :

    Jul 17 11:15:10 ktr-linux cupsd[5092]: *** WARNING *** The program 'cupsd' uses the Apple Bonjour compatibility layer of Avahi.
    Jul 17 11:15:10 ktr-linux cupsd[5092]: *** WARNING *** Please fix your application to use the native API of Avahi!
    Jul 17 11:15:10 ktr-linux cupsd[5092]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=cupsd>
    So I went there : http://0pointer.de/avahi-compat?s=libdns_sd&e=cupsd

    and so.....
    Can anyone do the port ?

    Thanks

  2. #2
    Join Date
    Aug 2005
    Location
    Huntsville, AL, USA
    Beans
    7,526
    Distro
    Ubuntu

    Re: Avahi Apple Bonjour compatibility layer

    you should probably file a bug against cups. or, there may be an update coming already, it just isn't in Ubuntu yet.

  3. #3
    Join Date
    Apr 2006
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Avahi Apple Bonjour compatibility layer

    Got the same warning with hardy ppc and printing to airport express base stn, thouhgt it might be cause of very slow responses.

    CUPS attitude doesn't sound helpful:


    The bug has been reported and got the dreaded "Fix Version Will Not Fix"
    blames avahi.

    Bug Report - libdns_sd


    http://www.cups.org/index.php

  4. #4
    Join Date
    Aug 2005
    Location
    Huntsville, AL, USA
    Beans
    7,526
    Distro
    Ubuntu

    Re: Avahi Apple Bonjour compatibility layer

    Quote Originally Posted by pxwpxw View Post
    The bug has been reported and got the dreaded "Fix Version Will Not Fix"
    blames avahi.
    that doesn't really make sense since it basically said cups is using a legacy method of interaction...

  5. #5
    Join Date
    Apr 2006
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Avahi Apple Bonjour compatibility layer

    Quote Originally Posted by cyberdork33 View Post
    that doesn't really make sense since it basically said cups is using a legacy method of interaction...
    Agreed.
    What to do?

  6. #6
    Join Date
    Mar 2008
    Location
    Paris
    Beans
    72
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Avahi Apple Bonjour compatibility layer

    Ok, thanks for your responses, I guess I'll just leave it on....
    Flood.fr, the neverending troll (french forum).

  7. #7
    Join Date
    Aug 2008
    Location
    Washington, DC
    Beans
    3

    Re: Avahi Apple Bonjour compatibility layer

    This is a summary of this problem:

    cups, and other packages, are designed to be cross platform using the mDNSResolver library which is released as free software by Apple.

    Avahi, which is not cross platform but is better integrated with Gnome, has built a crude compatibility layer to allow mDNSResolver apps to work with it, but it's developers have decided to pressure applications using Apple's API by printing a warning to their user's logs.

    The proper fix is to remove the offending code from Avahi's warn.c in Ubuntu.

  8. #8
    Join Date
    Dec 2005
    Location
    California
    Beans
    33
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Avahi Apple Bonjour compatibility layer

    Quote Originally Posted by ArcRiley View Post
    The proper fix is to remove the offending code from Avahi's warn.c in Ubuntu.
    Or u can type "export AVAHI_COMPAT_NOWARN=1" at the command line (don't need sudo).
    and that should stop the error messages. its not fix, but i don't think either side is about to budge anytime soon

    argh!!!

  9. #9
    Join Date
    Sep 2007
    Location
    Oklahoma, USA
    Beans
    2,378
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Avahi Apple Bonjour compatibility layer

    Quote Originally Posted by mastapat11 View Post
    Or u can type "export AVAHI_COMPAT_NOWARN=1" at the command line (don't need sudo).
    and that should stop the error messages. its not fix, but i don't think either side is about to budge anytime soon

    argh!!!
    I'm sure that Apple, which now owns CUPS and maintains cupsd, isn't about to switch from their own API. Perhaps we should fork avahi for all the *buntu distributions, and remove the warning (or even improve the compatibility code if anyone is interested). I don't see how an "export" command at the CLI is going to survive a reboot and prevent the message from showing up again in the logs!
    --
    Jim Kyle in Oklahoma, USA
    Linux Counter #259718
    Howto mark thread: https://wiki.ubuntu.com/UnansweredPo.../SolvedThreads

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •