Comment 3 for bug 1888047

Revision history for this message
Rumen (rumengb) wrote :

Hi again,
This changes to the system config seems to partially fix the problem:

rumen@sirius:~/indigo_imager.git$ cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd: files systemd
group: files systemd
shadow: files
gshadow: files

hosts: files mdns4 [NOTFOUND=return] dns
networks: files

protocols: db files
services: db files
ethers: db files
rpc: db files

netgroup: nis
rumen@sirius:~/indigo_imager.git$ cat /etc/mdns.allow
.local.
.local
rumen@sirius:~/indigo_imager.git$ time ping -c1 indigosky.local
PING indigosky.local (192.168.235.1) 56(84) bytes of data.
64 bytes from indigosky.local (192.168.235.1): icmp_seq=1 ttl=64 time=2.03 ms

--- indigosky.local ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 2.028/2.028/2.028/0.000 ms

real 0m0,008s
user 0m0,001s
sys 0m0,005s

All services work as expected, but still:

rumen@sirius:~/indigo_imager.git$ time getent hosts indigosky.local
192.168.235.1 indigosky.local

real 0m10,021s
user 0m0,000s
sys 0m0,005s

This may help debug the issue... I have one more Laptop with ubuntu 20.04 and the it has the same issue.

Thank you!