Please fix your application to use the native API of Avahi!
现在用的这个还是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时也有类似提示:
Dec7 18:54:40 YQ-PC smbd: *** WARNING *** The program 'smbd' uses the Apple Bonjour compatibility layer of Avahi.
Dec7 18:54:40 YQ-PC smbd: *** WARNING *** Please fix your application to use the native API of Avahi!
Dec7 18:54:40 YQ-PC smbd: *** 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.”。 这是指软件的上游. 更新了 ntp 这个包,警告消除,版本不兼容吧。 yanqian 找 bug 一找一个准 :oops:
页:
[1]