From 40a95da14ceaadf554255b2aeb05d9c1ebd3a1b9 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:28:41 +0100 Subject: [PATCH] fixed rpcbind.socket (added ListenStream=111 and ListenDatagram=111) [release 0.2.1-2mamba;Tue Jun 10 2014] --- rpcbind.socket | 4 ++++ rpcbind.spec | 9 +++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/rpcbind.socket b/rpcbind.socket index d43cc75..eafb32c 100644 --- a/rpcbind.socket +++ b/rpcbind.socket @@ -1,8 +1,12 @@ [Unit] Description=RPCbind Server Activation Socket +Wants=rpcbind.target +Before=rpcbind.target [Socket] ListenStream=/run/rpcbind.sock +ListenStream=111 +ListenDatagram=111 [Install] WantedBy=sockets.target diff --git a/rpcbind.spec b/rpcbind.spec index 26490f3..3ba0252 100644 --- a/rpcbind.spec +++ b/rpcbind.spec @@ -2,7 +2,7 @@ %define userid 59 Name: rpcbind Version: 0.2.1 -Release: 1mamba +Release: 2mamba Summary: A replacement for portmap required for import or export of NFS shared directories Group: System/Servers Vendor: openmamba @@ -20,6 +20,7 @@ License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libtirpc-devel +BuildRequires: libwrap-devel ## AUTOBUILDREQ-END Provides: portmap Obsoletes: portmap @@ -75,9 +76,6 @@ fi if [ $1 -ge 1 ]; then systemctl -q daemon-reload fi -if [ $1 -eq 1 ]; then - /bin/systemctl -q enable rpcbind >/dev/null 2>&1 || : -fi : %postun @@ -101,5 +99,8 @@ fi %doc AUTHORS COPYING %changelog +* Tue Jun 10 2014 Silvan Calarco 0.2.1-2mamba +- fixed rpcbind.socket (added ListenStream=111 and ListenDatagram=111) + * Sat May 10 2014 Silvan Calarco 0.2.1-1mamba - package created using the webbuild interface