efl_debugd: don't force unlinking UNIX socket before binding
authorDaniel Zaoui <daniel.zaoui@yahoo.com>
Sat, 16 Jun 2018 20:14:47 +0000 (23:14 +0300)
committerJongmin Lee <jm105.lee@samsung.com>
Sun, 17 Jun 2018 22:18:42 +0000 (07:18 +0900)
commit3c403c4e4bada5f52dbf2a0f47496162ac36cf45
tree4a2b71bd25a14bb8f6d7b6fc7cd2e2b5dd2bc58d
parent1f2f060925afef80cfed0db301de217cf075f69a
efl_debugd: don't force unlinking UNIX socket before binding

If two daemons are launched one after the other, we would like the
second one to exit directly. The problem is that if the UNIX socket is
unlinked before the binding, the second daemon will succeed to create this
socket, stoling it from the first daemon, and exit because the network
socket is not bindable.

It results in the first daemon to continue running and accepting
connections from the debuggers (network connection) but ignoring the
applications connection (local UNIX connection).
src/bin/efl/efl_debugd.c