https://bugs.kde.org/show_bug.cgi?id=487719

            Bug ID: 487719
           Summary: kdeconnect's mdns server causes naming conflicts with
                    avahi-daemon
    Classification: Applications
           Product: kdeconnect
           Version: 24.05.0
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: common
          Assignee: albertv...@gmail.com
          Reporter: kel...@kelvie.ca
                CC: andrew.g.r.hol...@gmail.com
  Target Milestone: ---

***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY

kdeconnect listens to the mdns port and runs an mdns server, which conflicts
with avahi-daemon -- whenever I run both, and come up from sleep, my hostname
becomes hostname-2.local, due to a "Host name conflict, retrying with
myhostname-2"

STEPS TO REPRODUCE
1. Install kdeconnect
2. Install avahi daemon
3. Put computer to sleep and back up (I suspect I can just turn networking on
and off)

OBSERVED RESULT
avahi-daemon freaks out about having multiple mdns stacks on the same machine:

May 28 19:13:55 kelvie-lws avahi-daemon[441170]: *** WARNING: Detected another
IPv4 mDNS stack running on this host. This makes mDNS unreliable and is thus
not recommended. ***
May 28 19:13:55 kelvie-lws avahi-daemon[441170]: *** WARNING: Detected another
IPv6 mDNS stack running on this host. This makes mDNS unreliable and is thus
not recommended. ***

kdeconnect also has these log lines, not sure if they're related:
May 28 19:14:38 kelvie-lws kdeconnectd[418933]: 2024-05-28T19:14:38
kdeconnect.core: Error sending MDNS query response
May 28 19:14:38 kelvie-lws kdeconnectd[418933]: 2024-05-28T19:14:38
kdeconnect.core: Error sending MDNS query response
May 28 19:14:38 kelvie-lws kdeconnectd[418933]: 2024-05-28T19:14:38
kdeconnect.core: Error sending MDNS query response

EXPECTED RESULT
To be able to use kdeconnect without losing my original mdns name from
avahi-daemon

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to