intel-aero / meta-intel-aero

Yocto layer to support Intel Aero platform
https://github.com/intel-aero/meta-intel-aero
GNU General Public License v2.0
218 stars 119 forks source link

Include libnss-mdns in the build (or the dnf repo) #283

Closed lkm1321 closed 6 years ago

lkm1321 commented 6 years ago

Hi, I was trying to set up multi-machine ROS by ROS_HOSTNAME, but found that aero cannot resolve itself by intel-aero.local or the laptop by . My laptop was able to resolve aero by intel-aero.local fine. In other words:

[Before]

ping intel-aero.local => fails ping .local => fails ping 127.0.0.1 => works ping => works ping intel-aero.local => works ping .local => works After debugging, I found out that libnss-mdns is not installed (journactl -u avahi-daemon shows the warning), and /etc/nsswitch.conf does not include mdns. I compiled libnss-mdns from source here (https://github.com/lathiat/nss-mdns). There were few warnings but now everything works. [After] ping intel-aero.local => works ping .local => works ping 127.0.0.1 => works ping => works ping intel-aero.local => works ping .local => works So, I suggest you include libnss-mdns build in the repo or the next build.