Dirk Mueller
1abcad9219
- Add 0006-don-t-use-svc_fdset.patch: don't use the svc_fdset interface for libtirpc, which is limited to 1024 connections. - Sync with current git: - Replace 0002-revert-auth.patch with 0002-handle_reply-Don-t-use-the-xp_auth-pointer-directly.patch - Add 0003-Delete-the-unix-socket-only-if-we-have-created-it.patch to fix problems with activation via sockets by systemd - Replace 0032-CVE-2015-7236.patch with 0004-Fix-memory-corruption-in-PMAP_CALLIT-code.patch - Add 0005-security.c-removed-warning.patch to fix compiler warnings - Temporary remove 099-poll.patch - Disable 0030-systemd-fix-rmtcall.patch, needs the other disabled patches. - Submit for SLE12SP2 [FATE#320393] - Add patch 0032-CVE-2015-7236.patch to fix a segfault on certain remote scans [CVE-2015-7236, bsc#940191, bsc#946204] - Document how to restrict addresses that rpcbind will listen on [bsc#935102] Added 0031-rpcbind-manpage.patch - Add patch 0030-systemd-fix-rmtcall.patch to fix rmtcall forwarding (bnc#932423) OBS-URL: https://build.opensuse.org/request/show/360882 OBS-URL: https://build.opensuse.org/package/show/network/rpcbind?expand=0&rev=58
22 lines
635 B
Diff
22 lines
635 B
Diff
The init_transport changes broke rmtcall forwarding. Fix it.
|
|
|
|
---
|
|
src/rpcbind.c | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
Index: rpcbind-0.2.1_rc4/src/rpcbind.c
|
|
===================================================================
|
|
--- rpcbind-0.2.1_rc4.orig/src/rpcbind.c
|
|
+++ rpcbind-0.2.1_rc4/src/rpcbind.c
|
|
@@ -837,6 +837,10 @@ init_transports_systemd()
|
|
rpcbind_log_error("unable to create transport for socket fd %d", fd);
|
|
exit(1);
|
|
}
|
|
+
|
|
+ if (nconf->nc_semantics == NC_TPI_CLTS && create_rmtcall_fd(nconf) < 0) {
|
|
+ rpcbind_log_error("unable to create rmtcall fd for %s", nconf->nc_netid);
|
|
+ }
|
|
}
|
|
|
|
if (nc_handle)
|