Hi,
I've just installed Fedora 28 and I wanted to make it discoverable on my local network via mDNS. I'm using Avahi to resolve .local names of my ArchLinux and Ubuntu boxes. To make it work, I've installed and started avahi daemon on both boxes and slightly modified 'host:' line in /etc/nsswitch.conf (with the help of ArchWiki) to
hosts: files mymachines mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] dns myhostname
However, on Fedora 28, the header of the aforementioned file has the following at the top
# Generated by authselect on Tue May 21 10:25:11 2018 # Do not modify this file manually.
So I guess my changes would be overwritten at some future time when authselect will be run by some daemon. I started avahi-daemon.service but name resolution of .local hostnames, current machine hostname to be precise (pluto.local), doesn't work.
# hostname pluto # ping pluto.local ping: pluto.local: Name or service not known
I've also tried
# systemctl disable firewalld
before running commands above.
I don't know what authselect is (yet). I tried to Google it, ended up at SSSD documentation and now I'm more confused than when I started. It seems these tools/services are intended for enterprise environments, not for my home, but I don't dismiss it, partly because I want to keep my Fedora as it was designed.
How can I enable mDNS name resolution? I want to be able to resolve mDNS names of other machines on local network as well as being able to connect from these machines via Fedora's host mDNS name.
Thank you.
On Mon, 21 May 2018 20:11:56 +0200 Marek Howard wrote:
I don't know what authselect is (yet).
I don't really know either, but I tend to suspect it is only run once when you install, or later if the sysadmin explicitly invokes it. It is apparently a replacement for "authconfig" which I also never heard about (or needed to know about because it must have worked much better).
I had to replace a couple of pam config files to get NIS login working: https://bugzilla.redhat.com/show_bug.cgi?id=1575297