From 4294561c8877323b1974a335cfa4a59bff2b04c1 Mon Sep 17 00:00:00 2001 From: Daniel Zaoui Date: Sat, 16 Jun 2018 23:14:47 +0300 Subject: [PATCH] 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 | 1 - 1 file changed, 1 deletion(-) diff --git a/src/bin/efl/efl_debugd.c b/src/bin/efl/efl_debugd.c index cd4a819eaf..c7cad1e4ff 100644 --- a/src/bin/efl/efl_debugd.c +++ b/src/bin/efl/efl_debugd.c @@ -592,7 +592,6 @@ _local_server_create(void) #ifdef EFL_NET_SERVER_UNIX_CLASS { Eo *inner_server = efl_net_server_simple_inner_server_get(_local_server); - efl_net_server_unix_unlink_before_bind_set(inner_server, EINA_TRUE); efl_net_server_unix_leading_directories_create_set(inner_server, EINA_TRUE, 0700); } #endif