QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2836|回复: 3

Please fix your application to use the native API of Avahi!

[复制链接]
发表于 2011-12-7 23:56:46 | 显示全部楼层 |阅读模式
现在用的这个还是2.5.0 sp3,不知道最新版的是否有此问题。
启动某些服务时出现和Avahi版本有关的提示:
# service ntpd start
启动 ntpd:*** WARNING *** The program 'ntpd' uses the Apple Bonjour compatibility 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=ntpd>                                                                        
                                                           [确定]

从/var/log/messages中还可以看到系统每次启动smbd时也有类似提示:
Dec  7 18:54:40 YQ-PC smbd[2653]: *** WARNING *** The program 'smbd' uses the Apple Bonjour compatibility layer of Avahi.
Dec  7 18:54:40 YQ-PC smbd[2653]: *** WARNING *** Please fix your application to use the native API of Avahi!
Dec  7 18:54:40 YQ-PC smbd[2653]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=smbd>


按照他的提示去看了这样的页面:http://0pointer.de/avahi-compat?s=libdns_sd&e=ntpd
大意就是联系上游开发者use native API instead of the compatibility layers,真不清楚这个上游是指那些ntpd、samba的开发者还是我们magic linux的开发者呢?

也提到另一个办法:“set the environment variable $AVAHI_COMPAT_NOWARN to 1, and the warning will not be shown.”。
发表于 2011-12-8 11:07:05 | 显示全部楼层
这是指软件的上游.
回复

使用道具 举报

发表于 2011-12-11 21:55:47 | 显示全部楼层
更新了 ntp 这个包,警告消除,版本不兼容吧。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

发表于 2011-12-11 21:59:43 | 显示全部楼层
yanqian 找 bug 一找一个准
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-5-8 05:56 , Processed in 0.053321 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表