[gpsd-dev] Draft Stratum 1 Microserver HOWTO is up
Eric S. Raymond
esr at thyrsus.com
Tue May 24 20:05:41 UTC 2016
Paul Fertser <fercerpav at gmail.com>:
> On Sun, May 22, 2016 at 04:44:33PM -0400, Eric S. Raymond wrote:
> > Paul Fertser <fercerpav at gmail.com>:
> > > Host name lookup on common GNU/Linux systems goes through libnss and
> > > so the actual precondition for the above command to work is that the
> > > "hosts" line in /etc/nsswitch.conf has mdns[_minimal] before "dns"
> > > (mdns4[_minimal] might work too if the LAN is not IPv6-only). I do not
> > > think it needs avahi-daemon running since the mDNS name resolution
> > > doesn't need to be mutual.
> >
> > Phil and I tried this case, quite accidentally. He doesn't like
> > zeroconf (considers it a security risk) so he didn't have avahi-daemon
> > installed on his host. Discovery failed until he fixed that.
>
> I can explain it like this:
>
> $ apt-cache show avahi-daemon
> Package: avahi-daemon
> [...snip...]
> Recommends: libnss-mdns
> ...
>
> But not everyone installs "Recommends" by default. Suggesting
> avahi-daemon to those needing libnss-mdns would be certainly a
> misnomer ;)
I'm having trouble extracting actionable advice from what you say?
Are you telling me I should write "apt-get install libnss-mdns
instead? Would that be sufficient?
> > > I have an alternative proposal for reliable address discovery, but I'm
> > > not sure you'll like it:
> >
> > That is way, *way* off in the weeds for the intended audience
>
> I understand but I still felt like sharing this nifty trick for the ML
> subscribers, hope you do not mind it.
If you want to write it up for an Advanced Topic aubsection, I might take it.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
More information about the devel
mailing list