Skip to contentSkip to conversation

rpcb_prot.x: Update _PATH_RPCBINDSOCK

PATCH In review Petr Vorel 2 participants 2 messages Sep 1, 2024 – Sep 9, 2024

Subsystems (2)
lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

PATCH 1/1 rpcb_prot.x: Update _PATH_RPCBINDSOCK

2f9ce0c updated rpcb_prot.h, but rpcb_prot.x must be updated as well.

Fixes 2f9ce0c ("Move rpcbind.sock to /run")

---
Actually, tirpc/rpc/rpcb_prot.h should be generated by rpcgen, but I just updated the header.

 tirpc/rpc/rpcb_prot.x | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tirpc/rpc/rpcb_prot.x +2 -2
index 472c11f..e0e6031 100644
@@ -410,8 +410,8 @@ program RPCBPROG {
 %#define	RPCBVERS_3		RPCBVERS
 %#define	RPCBVERS_4		RPCBVERS4
 %
-%#define	_PATH_RPCBINDSOCK	"/var/run/rpcbind.sock"
-%#define	_PATH_RPCBINDSOCK_ABSTRACT "\0/run/rpcbind.sock"
+%#define	_PATH_RPCBINDSOCK	"/run/rpcbind.sock"
+%#define	_PATH_RPCBINDSOCK_ABSTRACT "\0" _PATH_RPCBINDSOCK
 %
 %#else		/* ndef _KERNEL */
 %#ifdef __cplusplus
Signature · 1 line
2.45.2
#1 lore raw
Quoted 4 lines · Petr Vorel

2f9ce0c updated rpcb_prot.h, but rpcb_prot.x must be updated as well.

Fixes 2f9ce0c ("Move rpcbind.sock to /run")

Committed... (tag: libtirpc-1-3-6-rc2)

steved.

Quoted 24 lines

---
Actually, tirpc/rpc/rpcb_prot.h should be generated by rpcgen, but I just updated the header.

  tirpc/rpc/rpcb_prot.x | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
tirpc/rpc/rpcb_prot.x +2 -3
index 472c11f..e0e6031 100644
@@ -410,8 +410,8 @@ program RPCBPROG {
  %#define	RPCBVERS_3		RPCBVERS
  %#define	RPCBVERS_4		RPCBVERS4
  %
-%#define	_PATH_RPCBINDSOCK	"/var/run/rpcbind.sock"
-%#define	_PATH_RPCBINDSOCK_ABSTRACT "\0/run/rpcbind.sock"
+%#define	_PATH_RPCBINDSOCK	"/run/rpcbind.sock"
+%#define	_PATH_RPCBINDSOCK_ABSTRACT "\0" _PATH_RPCBINDSOCK
  %
  %#else		/* ndef _KERNEL */
  %#ifdef __cplusplus
-- 2.45.2