Revisit UNIX control socket code
There are least two things which should be improved in the UNIX control socket code (src/lib/config/command_mgr.cc
):
- the
lock_fd
file descriptor can leak - sockets are registered as external sockets in the interface manager: if this is critical for DHCPv4 and DHCPv6 servers (#3478 (closed)) it is useless for D2 (or any server/agent using libprocess and an I/O service based even loop)