connmand in nightly leaks socket file descriptors

  • In the nightly build for aarch64 RPi4 connmand leaks socket file descriptors, just do

    and note the high numbers in the third column (file descriptors), wait 2 minutes and rerun to see it's increasing (until it tops out at 1024 which is the process's open file limit). I discovered that investigating after lots of messages "connmand: Failed to bind time server socket" after a few hours of uptime.

    A debug log can be found at https://paste.libreelec.tv/enabled-lynx.log

    I reverted just the subtree packages/network/connman to 19fa1111 "connman: dbus: Use non-deprecated installation path" and there's no leak, the number of file descriptors remains stable around 25.