The Samba-Bugzilla – Attachment 12444 Details for
Bug 12184
Loading shared RPC modules failed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 4.5 cherry-picked from master
v45-bug12184.patch (text/plain), 1.38 KB, created by
Ralph Böhme
on 2016-09-06 13:54:49 UTC
(
hide
)
Description:
Patch for 4.5 cherry-picked from master
Filename:
MIME Type:
Creator:
Ralph Böhme
Created:
2016-09-06 13:54:49 UTC
Size:
1.38 KB
patch
obsolete
>From 3f3568085dbdc4a5bc45610c38ca2560f9d5afe4 Mon Sep 17 00:00:00 2001 >From: Ralph Boehme <slow@samba.org> >Date: Sat, 27 Aug 2016 17:56:56 +0200 >Subject: [PATCH] s3/rpc_server: shared rpc modules directory may not exist > >A shared rpc modules directory may not exist if all RPC modules are built >static. > >Bug: https://bugzilla.samba.org/show_bug.cgi?id=12184 > >Signed-off-by: Ralph Boehme <slow@samba.org> >Reviewed-by: Jeremy Allison <jra@samba.org> >(cherry picked from commit 58889e04bd545d7420d1193e134351bd0ccb8430) >--- > source3/rpc_server/rpc_service_setup.c | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) > >diff --git a/source3/rpc_server/rpc_service_setup.c b/source3/rpc_server/rpc_service_setup.c >index e1625ee..263fcaf 100644 >--- a/source3/rpc_server/rpc_service_setup.c >+++ b/source3/rpc_server/rpc_service_setup.c >@@ -536,7 +536,17 @@ bool dcesrv_ep_setup(struct tevent_context *ev_ctx, > /* Initialize shared modules */ > mod_init_fns = load_samba_modules(tmp_ctx, "rpc"); > if (mod_init_fns == NULL) { >- DBG_ERR("Loading shared RPC modules failed\n"); >+ if (errno != ENOENT) { >+ /* >+ * ENOENT means the directory doesn't exist >+ * which can happen if all modules are >+ * static. So ENOENT is ok, everything else is >+ * not ok. >+ */ >+ DBG_ERR("Loading shared RPC modules failed [%s]\n", >+ strerror(errno)); >+ ok = false; >+ } > goto done; > } > >-- >2.7.4 >
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:
metze
:
review+
Actions:
View
Attachments on
bug 12184
: 12444 |
12868
|
12883