git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b7027d
)
Revert "logging: Close unix socket /tmp/ctdb.socket in syslogd process"
author
Martin Schwenke
<martin@meltin.net>
Tue, 2 Oct 2012 01:54:00 +0000
(11:54 +1000)
committer
Martin Schwenke
<martin@meltin.net>
Tue, 2 Oct 2012 06:11:20 +0000
(16:11 +1000)
This reverts commit
450bedccbee3f89aba3b33777a4ae8841c456a65
.
This will be fixed in ctdb_fork() for all children. Won't somebody
PLEASE think of the children?!?
server/ctdb_logging.c
patch
|
blob
|
history
diff --git
a/server/ctdb_logging.c
b/server/ctdb_logging.c
index 0b32d850fe9fc71b75b06b7b61b83009971567f2..19e8af7dcb7659a9480cbf62a59d2fcf0306b6db 100644
(file)
--- a/
server/ctdb_logging.c
+++ b/
server/ctdb_logging.c
@@
-117,11
+117,6
@@
int start_syslog_daemon(struct ctdb_context *ctdb)
}
debug_extra = talloc_asprintf(NULL, "syslogd:");
-
- /* Close unix socket since syslogd does not need it */
- close(ctdb->daemon.sd);
- ctdb->daemon.sd = -1;
-
talloc_free(ctdb->ev);
ctdb->ev = event_context_init(NULL);
tevent_loop_allow_nesting(ctdb->ev);