Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avahi does not always resolve the right IP address #384

Open
eliasbakken opened this issue Oct 27, 2023 · 0 comments
Open

Avahi does not always resolve the right IP address #384

eliasbakken opened this issue Oct 27, 2023 · 0 comments

Comments

@eliasbakken
Copy link

During development of #382 another bug was discovered.
avahi-daemon does not expose the ethernet IP address for recore, only the Wifi hotspots IP address.
Here is what the log looks like:

-- Journal begins at Fri 2023-10-27 10:17:14 UTC, ends at Fri 2023-10-27 10:31:51 UTC. --
Oct 27 10:17:17 recore systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
Oct 27 10:17:17 recore avahi-daemon[1103]: Found user 'avahi' (UID 106) and group 'avahi' (GID 112).
Oct 27 10:17:17 recore avahi-daemon[1103]: Successfully dropped root privileges.
Oct 27 10:17:17 recore avahi-daemon[1103]: avahi-daemon 0.8 starting up.
Oct 27 10:17:17 recore avahi-daemon[1103]: Successfully called chroot().
Oct 27 10:17:17 recore avahi-daemon[1103]: Successfully dropped remaining capabilities.
Oct 27 10:17:17 recore avahi-daemon[1121]: chroot.c: open() failed: No such file or directory
Oct 27 10:17:17 recore avahi-daemon[1103]: Failed to open /etc/resolv.conf: Invalid argument
Oct 27 10:17:17 recore avahi-daemon[1103]: Loading service file /services/sftp-ssh.service.
Oct 27 10:17:17 recore avahi-daemon[1103]: Loading service file /services/ssh.service.
Oct 27 10:17:17 recore avahi-daemon[1103]: Joining mDNS multicast group on interface lo.IPv6 with address ::1.
Oct 27 10:17:17 recore avahi-daemon[1103]: New relevant interface lo.IPv6 for mDNS.
Oct 27 10:17:17 recore avahi-daemon[1103]: Joining mDNS multicast group on interface lo.IPv4 with address 127.0.0.1.
Oct 27 10:17:17 recore avahi-daemon[1103]: New relevant interface lo.IPv4 for mDNS.
Oct 27 10:17:17 recore avahi-daemon[1103]: Network interface enumeration completed.
Oct 27 10:17:17 recore avahi-daemon[1103]: Registering new address record for ::1 on lo.*.
Oct 27 10:17:17 recore avahi-daemon[1103]: Registering new address record for 127.0.0.1 on lo.IPv4.
Oct 27 10:17:18 recore systemd[1]: Started Avahi mDNS/DNS-SD Stack.
Oct 27 10:17:18 recore avahi-daemon[1103]: Server startup complete. Host name is recore.local. Local service cookie is 2383442613.
Oct 27 10:17:19 recore avahi-daemon[1103]: Service "recore" (/services/ssh.service) successfully established.
Oct 27 10:17:19 recore avahi-daemon[1103]: Service "recore" (/services/sftp-ssh.service) successfully established.
Oct 27 10:17:28 recore avahi-daemon[1103]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::50f2:7389:a7ac:7adf.
Oct 27 10:17:28 recore avahi-daemon[1103]: New relevant interface eth0.IPv6 for mDNS.
Oct 27 10:17:28 recore avahi-daemon[1103]: Registering new address record for fe80::50f2:7389:a7ac:7adf on eth0.*.
Oct 27 10:17:28 recore avahi-daemon[1103]: Joining mDNS multicast group on interface wlx90de803c3baf.IPv6 with address fe80::6776:96da:7765:3992.
Oct 27 10:17:28 recore avahi-daemon[1103]: New relevant interface wlx90de803c3baf.IPv6 for mDNS.
Oct 27 10:17:28 recore avahi-daemon[1103]: Registering new address record for fe80::6776:96da:7765:3992 on wlx90de803c3baf.*.
Oct 27 10:17:28 recore avahi-daemon[1103]: Joining mDNS multicast group on interface wlx90de803c3baf.IPv4 with address 192.168.50.1.
Oct 27 10:17:28 recore avahi-daemon[1103]: New relevant interface wlx90de803c3baf.IPv4 for mDNS.
Oct 27 10:17:28 recore avahi-daemon[1103]: Registering new address record for 192.168.50.1 on wlx90de803c3baf.IPv4.
Oct 27 10:17:29 recore avahi-daemon[1103]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.32.184.
Oct 27 10:17:29 recore avahi-daemon[1103]: New relevant interface eth0.IPv4 for mDNS.
Oct 27 10:17:29 recore avahi-daemon[1103]: Registering new address record for 192.168.32.184 on eth0.IPv4.
Oct 27 10:17:30 recore avahi-daemon[1103]: Leaving mDNS multicast group on interface eth0.IPv6 with address fe80::50f2:7389:a7ac:7adf.
Oct 27 10:17:30 recore avahi-daemon[1103]: Joining mDNS multicast group on interface eth0.IPv6 with address 2001:2020:32b:c20b:ba3a:5c15:44c6:fd14.
Oct 27 10:17:30 recore avahi-daemon[1103]: Registering new address record for 2001:2020:32b:c20b:ba3a:5c15:44c6:fd14 on eth0.*.
Oct 27 10:17:30 recore avahi-daemon[1103]: Withdrawing address record for fe80::50f2:7389:a7ac:7adf on eth0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant