forked from pool/libtirpc
6705ba4caf
Next attempt to get this included into Factory... This fixes several issues in libtirpc uncovered by automated testing. OBS-URL: https://build.opensuse.org/request/show/213497 OBS-URL: https://build.opensuse.org/package/show/Base:System/libtirpc?expand=0&rev=37
36 lines
1.2 KiB
Diff
36 lines
1.2 KiB
Diff
Starting with openSUSE 13.1, rpcbind creates its socket in /var rather that /var/run.
|
|
Update libtirpc to go looking for it in the right place.
|
|
|
|
Signed-off-by: Olaf Kirch <okir@suse.de>
|
|
---
|
|
tirpc/rpc/rpcb_prot.h | 2 +-
|
|
tirpc/rpc/rpcb_prot.x | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
Index: libtirpc-0.2.4-rc2/tirpc/rpc/rpcb_prot.h
|
|
===================================================================
|
|
--- libtirpc-0.2.4-rc2/tirpc/rpc/rpcb_prot.h
|
|
+++ libtirpc-0.2.4-rc2/tirpc/rpc/rpcb_prot.h
|
|
@@ -476,7 +476,7 @@ extern bool_t xdr_netbuf(XDR *, struct n
|
|
#define RPCBVERS_3 RPCBVERS
|
|
#define RPCBVERS_4 RPCBVERS4
|
|
|
|
-#define _PATH_RPCBINDSOCK "/var/run/rpcbind.sock"
|
|
+#define _PATH_RPCBINDSOCK "/run/rpcbind.sock"
|
|
|
|
#else /* ndef _KERNEL */
|
|
#ifdef __cplusplus
|
|
Index: libtirpc-0.2.4-rc2/tirpc/rpc/rpcb_prot.x
|
|
===================================================================
|
|
--- libtirpc-0.2.4-rc2/tirpc/rpc/rpcb_prot.x
|
|
+++ libtirpc-0.2.4-rc2/tirpc/rpc/rpcb_prot.x
|
|
@@ -410,7 +410,7 @@ program RPCBPROG {
|
|
%#define RPCBVERS_3 RPCBVERS
|
|
%#define RPCBVERS_4 RPCBVERS4
|
|
%
|
|
-%#define _PATH_RPCBINDSOCK "/var/run/rpcbind.sock"
|
|
+%#define _PATH_RPCBINDSOCK "/run/rpcbind.sock"
|
|
%
|
|
%#else /* ndef _KERNEL */
|
|
%#ifdef __cplusplus
|