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-daemon fails 'IP_ADD_MEMBERSHIP' socket option. #3365

Closed
sogaani opened this issue Jul 8, 2018 · 3 comments
Closed

avahi-daemon fails 'IP_ADD_MEMBERSHIP' socket option. #3365

sogaani opened this issue Jul 8, 2018 · 3 comments

Comments

@sogaani
Copy link

sogaani commented Jul 8, 2018

  • Issue
    Can not access ***.local(provided by avahi-daemon) domain, even if success to start avahi-daemon.

  • Expected behavior
    Can access ***.local(provided by avahi-daemon) domain.

  • Windows version
    Microsoft Windows [Version 10.0.17134.137]

  • Steps required to reproduce

sudo apt install avahi-daemon
sudo service dbus start
sudo avahi-daemon
  • Console output
Found user 'avahi' (UID 111) and group 'avahi' (GID 115).
Successfully dropped root privileges.
avahi-daemon 0.7 starting up.
No service file found in /etc/avahi/services.
*** WARNING: Detected another IPv4 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. ***
*** WARNING: Detected another IPv6 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. ***
Joining mDNS multicast group on interface eth3.IPv6 with address fe80::5d47:98e3:c2c5:e6.
New relevant interface eth3.IPv6 for mDNS.
Joining mDNS multicast group on interface eth3.IPv4 with address 192.168.10.1.
IP_ADD_MEMBERSHIP failed: Invalid argument
Joining mDNS multicast group on interface eth2.IPv6 with address fe80::182e:58a2:cfa:aae0.
New relevant interface eth2.IPv6 for mDNS.
Joining mDNS multicast group on interface eth2.IPv4 with address 192.168.204.1.
IP_ADD_MEMBERSHIP failed: Invalid argument
Joining mDNS multicast group on interface eth0.IPv6 with address fe80::edd2:689f:1326:3d02.
New relevant interface eth0.IPv6 for mDNS.
Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.11.13.
IP_ADD_MEMBERSHIP failed: Invalid argument
Network interface enumeration completed.
Registering new address record for fe80::5d47:98e3:c2c5:e6 on eth3.*.
Registering new address record for 192.168.10.1 on eth3.IPv4.
Registering new address record for fe80::182e:58a2:cfa:aae0 on eth2.*.
Registering new address record for 192.168.204.1 on eth2.IPv4.
Registering new address record for fe80::edd2:689f:1326:3d02 on eth0.*.
Registering new address record for 192.168.11.13 on eth0.IPv4.
Server startup complete. Host name is gateway.local. Local service cookie is 4168406524.
  • What I tried.
    I change IP_ADD_MEMBERSHIP socket option parameter imr_ifindex to 0. Then it works fine(I can access ***.local, if use modified avahi-daemon).
    IP_ADD_MEMBERSHIP is already supported in Build 16170. However, I think that there is lack of supporting specific imr_ifindex.
@std4453
Copy link

std4453 commented Jan 27, 2019

Any updates? What about the current build?

@Tadimsky
Copy link

Tadimsky commented Jan 28, 2019

I'm seeing the same issue on 18323:

jonno@Ecthelion:~$ sudo /usr/sbin/avahi-daemon
Found user 'avahi' (UID 112) and group 'avahi' (GID 116).
Successfully dropped root privileges.
avahi-daemon 0.6.32-rc starting up.
Successfully called chroot().
Successfully dropped remaining capabilities.
No service file found in /etc/avahi/services.
*** WARNING: Detected another IPv4 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. ***
*** WARNING: Detected another IPv6 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. ***
Joining mDNS multicast group on interface eth0.IPv6 with address fe80::c1e7:132a:6794:be06.
New relevant interface eth0.IPv6 for mDNS.
Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.1.25.
IP_ADD_MEMBERSHIP failed: Invalid argument
Network interface enumeration completed.
Registering new address record for fe80::c1e7:132a:6794:be06 on eth0.*.
Registering new address record for 192.168.1.25 on eth0.IPv4.
Server startup complete. Host name is Ecthelion.local. Local service cookie is 1813485028.

@therealkenc
Copy link
Collaborator

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants