The Samba-Bugzilla – Attachment 13857 Details for
Bug 13180
Messaging initialisation for CTDB does not register unique ID
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 4.7
patch-4.7.txt (text/plain), 1.19 KB, created by
Volker Lendecke
on 2017-12-13 11:32:37 UTC
(
hide
)
Description:
Patch for 4.7
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2017-12-13 11:32:37 UTC
Size:
1.19 KB
patch
obsolete
>From 2e6a1e4eb8289667b071587ef8dba34ee3422ab0 Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Thu, 30 Nov 2017 21:06:53 +0100 >Subject: [PATCH] messaging: Always register the unique id > >The winbind child does not call serverid_register, so the unique id is not >registered. ctdbd_process_exists now calls CTDB_CONTROL_CHECK_PID_SRVID, which >then fails. > >Bug: https://bugzilla.samba.org/show_bug.cgi?id=13180 >Signed-off-by: Volker Lendecke <vl@samba.org> >--- > source3/lib/messages_ctdbd.c | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > >diff --git a/source3/lib/messages_ctdbd.c b/source3/lib/messages_ctdbd.c >index 6ecec32eeba..95bd694106f 100644 >--- a/source3/lib/messages_ctdbd.c >+++ b/source3/lib/messages_ctdbd.c >@@ -223,6 +223,19 @@ static int messaging_ctdbd_init_internal(struct messaging_context *msg_ctx, > return ret; > } > >+ { >+ struct server_id self = messaging_server_id(msg_ctx); >+ >+ ret = register_with_ctdbd(ctx->conn, self.unique_id, >+ NULL, NULL); >+ if (ret != 0) { >+ DBG_DEBUG("register_with_ctdbd failed: %s\n", >+ strerror(ret)); >+ return ret; >+ } >+ >+ } >+ > ctdb_fd = ctdbd_conn_get_fd(ctx->conn); > ev = messaging_tevent_context(msg_ctx); > >-- >2.11.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
martins
:
review+
Actions:
View
Attachments on
bug 13180
: 13857 |
13872