[Debian-iot-maintainers] Bug#1036450: The network-online target might solve this

Joachim Zobel jzobel at heute-morgen.de
Sat Jul 29 06:15:14 BST 2023


I have taken a closer look and found that the error is the same as with
an an address that does not exist on the system. So reason is probably
that the network interface with the external address is not yet up.

The easy solution would be for the service to wait for the network-
online target. However 
https://systemd.io/NETWORK_ONLINE/
tells me that this is a questionable solution. It is however acceptable
since mosquitto would not delay boot. 

According to the above source IP_FREEBIND might be a better solution.
This is however substantially harder to do.

So I would suggest the attached patch without beeing sure about that.

Unfortunately the bug is also no longer reproducible on my systems. So
I can't verify the patch is working.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: systemd-network
Type: text/x-patch
Size: 721 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-iot-maintainers/attachments/20230729/b672ccaa/attachment.bin>


More information about the Debian-iot-maintainers mailing list