From b6e9a636841070b02df964cc98b4ae040bd70a96 Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Tue, 8 Oct 2019 13:56:10 -0700 Subject: [PATCH] avahi: remove disallow-other-stacks=yes This was originally added because SO_REUSEPORT was not available on older kernels With this setting, avahi-daemon does not use either SO_REUSEADDR or SO_REUSEPORT, which means that other mDNS applications cannot access the multicast udp port 5353 at the same time. This includes mDNS clients which are simply trying to discover other services on the network. One such client exists in a PVR add-on I am writing for Kodi which currently fails in network discovery when run on LibreELEC. See also https://github.com/grandcat/zeroconf/issues/63 (cherry picked from commit 733eb8ff1458d7b2f2a06402ea5c6516209a313f) --- packages/network/avahi/package.mk | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/network/avahi/package.mk b/packages/network/avahi/package.mk index 43bfb7be58..cb4876df92 100644 --- a/packages/network/avahi/package.mk +++ b/packages/network/avahi/package.mk @@ -56,8 +56,6 @@ pre_configure_target() { } post_makeinstall_target() { -# for some reason avai can fail to start see: http://forums.gentoo.org/viewtopic-p-7322172.html#7322172 - sed -e "s,^.*disallow-other-stacks=.*$,disallow-other-stacks=yes,g" -i $INSTALL/etc/avahi/avahi-daemon.conf # disable wide-area sed -e "s,^.*enable-wide-area=.*$,enable-wide-area=no,g" -i $INSTALL/etc/avahi/avahi-daemon.conf # publish-hinfo