[cups.bugs] SVN r6894: Starting cupsd from commandline yieldswarning about Avahi API

Kurt Pfeifle k1pfeifle at gmx.net
Thu Aug 30 09:22:15 PDT 2007


Michael R Sweet wrote:
> Kurt Pfeifle wrote:
>> Michael R Sweet wrote:
>>> Kurt Pfeifle wrote:
>>>> I was giving the newest trunk a spin right now and noticed what I sum-
>>>> marized in $subject and what should be fully described like this:
>>>>
>>>>    SVN r6854: clicking 'Edit Configuration File'-button on admin page
>>>>    directly restarts server (no editing is offered at all), and returns
>>>>    with all checkboxes blanked
>>>>
>>>> Knowing this is trunk, I'm not sure if stuff like this should be repor-
>>>> ted in an STR or just mentioned in a mail like this...
>>> Hmm, this might be related to the recent changes to the web interface.
>>>
>>> ....
>>>
>>> OK, it's fixed now as of r6894.
>>
>>
>> Fix confirmed.
>>
>> Another thing I noticed now: after starting cupsd from the commandline,
>> I see this message:
>>
>>   kurt at lnx5000:~/SVNstuff/cups> ./usr/lib/cups/daemon/cupsd -c
>> /home/kurt/SVNstuff/cups/etc/cups/cupsd.conf -f
>>   *** WARNING *** The programme 'cupsd' 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
>> <http://0pointer.de/avahi-compat?s=libdns_sd&e=cupsd>
> 
> Sigh, please report this bug to the Avahi folks - no library should
> be spitting out a warning like this - you never know where stderr

It's in fact stderr, I checked again.

> or stdout might be pointing.

OK...

Did you follow the link the message gave? There it is suggested:

   Q: [...] There must be a way to disable this annoying warning!
   A: [...] set the environment variable $AVAHI_COMPAT_NOWARN to 1,
      and the warning will not be shown

Is that an option? (Otherwise, this message may show up in error_log,
and may in future cause many people to file formal bug reports here on
the STR page...)

> Short of someone implementing and contributing "native" Avahi support
> we won't be doing so ourselves...


-- 
Kurt Pfeifle
System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS
Infotec Deutschland GmbH  .....................  Hedelfinger Strasse 58
A RICOH Company  ...........................  D-70327 Stuttgart/Germany




More information about the cups-devel mailing list