On Sun, Jun 18, 2023 at 04:46:46PM +0200, Why 42? The lists account. wrote: > Jun 18 16:18:23 mjoelnir mdnsd: startup > Jun 18 16:18:23 mjoelnir mdnsd: fatal: bind: Address already in use > Jun 18 16:23:02 mjoelnir mdnsd: startup > Jun 18 16:23:02 mjoelnir mdnsd: fatal: bind: Address already in use
So, this issue "Address in use" was because mdnsd and avahi-daemon were fighting over the same port, likely 5353. My fault. Once I stop the avahi daemon, I can start mdnsd OK (and vice versa). Still seems that mdnsd exits with 0 when it fails to start e.g. when given a nonexistant interface: mjoelnir:robb 18.06 17:41:08 # mdnsd le0 mjoelnir:robb 18.06 17:41:12 # echo $? 0 mjoelnir:robb 18.06 17:41:18 # pgrep -l mdnsd mjoelnir:robb 18.06 17:41:24 [$?==1]# mjoelnir:robb 18.06 17:41:24 [$?==1]# grep mdnsd /var/log/daemon | tail -3 Jun 18 17:41:12 mjoelnir mdnsd: startup Jun 18 17:41:12 mjoelnir mdnsd: Unknown interface le0 Jun 18 17:41:12 mjoelnir mdnsd: fatal: Couldn't find any interface This then confuses the rcctl script. So IMHO that would also be a potential improvement. Cheers, Robb.