[packages/rpcbind] - prevent systemd from taking over rpcbind ports, rel 2

baggins baggins at pld-linux.org
Sun Feb 26 14:44:56 CET 2023


commit 08d097951b1826ec10e24006fc2575bd3501905d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Feb 26 14:44:25 2023 +0100

    - prevent systemd from taking over rpcbind ports, rel 2

 rpcbind-systemd.patch | 16 ++++++++++++++--
 rpcbind.spec          |  2 +-
 2 files changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/rpcbind.spec b/rpcbind.spec
index afe7bcf..b9b8e07 100644
--- a/rpcbind.spec
+++ b/rpcbind.spec
@@ -6,7 +6,7 @@ Summary:	Universal addresses to RPC program number mapper
 Summary(pl.UTF-8):	Demon odwzorowujący adresy uniwersalne na numery programów RPC
 Name:		rpcbind
 Version:	1.2.6
-Release:	1
+Release:	2
 License:	BSD
 Group:		Daemons
 Source0:	https://downloads.sourceforge.net/rpcbind/%{name}-%{version}.tar.bz2
diff --git a/rpcbind-systemd.patch b/rpcbind-systemd.patch
index a749973..e875bea 100644
--- a/rpcbind-systemd.patch
+++ b/rpcbind-systemd.patch
@@ -17,7 +17,7 @@
 +Also=rpcbind.socket
 --- rpcbind-0.2.4/systemd/rpcbind.socket.orig	2016-11-28 21:47:28.000000000 +0100
 +++ rpcbind-0.2.4/systemd/rpcbind.socket	2018-04-11 19:43:27.366604185 +0200
-@@ -5,7 +5,7 @@
+@@ -5,14 +5,14 @@
  Before=rpcbind.target
  
  [Socket]
@@ -25,4 +25,16 @@
 +ListenStream=/var/run/rpcbind.sock
  
  # RPC netconfig can't handle ipv6/ipv4 dual sockets
- BindIPv6Only=ipv6-only
+-BindIPv6Only=ipv6-only
+-ListenStream=0.0.0.0:111
+-ListenDatagram=0.0.0.0:111
+-ListenStream=[::]:111
+-ListenDatagram=[::]:111
++#BindIPv6Only=ipv6-only
++#ListenStream=0.0.0.0:111
++#ListenDatagram=0.0.0.0:111
++#ListenStream=[::]:111
++#ListenDatagram=[::]:111
+ 
+ [Install]
+ WantedBy=sockets.target
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpcbind.git/commitdiff/08d097951b1826ec10e24006fc2575bd3501905d



More information about the pld-cvs-commit mailing list