fixed rpcbind.socket (added ListenStream=111 and ListenDatagram=111) [release 0.2.1-2mamba;Tue Jun 10 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 17:28:41 +01:00
parent c3d27c7515
commit 40a95da14c
2 changed files with 9 additions and 4 deletions

View File

@ -1,8 +1,12 @@
[Unit] [Unit]
Description=RPCbind Server Activation Socket Description=RPCbind Server Activation Socket
Wants=rpcbind.target
Before=rpcbind.target
[Socket] [Socket]
ListenStream=/run/rpcbind.sock ListenStream=/run/rpcbind.sock
ListenStream=111
ListenDatagram=111
[Install] [Install]
WantedBy=sockets.target WantedBy=sockets.target

View File

@ -2,7 +2,7 @@
%define userid 59 %define userid 59
Name: rpcbind Name: rpcbind
Version: 0.2.1 Version: 0.2.1
Release: 1mamba Release: 2mamba
Summary: A replacement for portmap required for import or export of NFS shared directories Summary: A replacement for portmap required for import or export of NFS shared directories
Group: System/Servers Group: System/Servers
Vendor: openmamba Vendor: openmamba
@ -20,6 +20,7 @@ License: BSD
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libtirpc-devel BuildRequires: libtirpc-devel
BuildRequires: libwrap-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Provides: portmap Provides: portmap
Obsoletes: portmap Obsoletes: portmap
@ -75,9 +76,6 @@ fi
if [ $1 -ge 1 ]; then if [ $1 -ge 1 ]; then
systemctl -q daemon-reload systemctl -q daemon-reload
fi fi
if [ $1 -eq 1 ]; then
/bin/systemctl -q enable rpcbind >/dev/null 2>&1 || :
fi
: :
%postun %postun
@ -101,5 +99,8 @@ fi
%doc AUTHORS COPYING %doc AUTHORS COPYING
%changelog %changelog
* Tue Jun 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.1-2mamba
- fixed rpcbind.socket (added ListenStream=111 and ListenDatagram=111)
* Sat May 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.1-1mamba * Sat May 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.1-1mamba
- package created using the webbuild interface - package created using the webbuild interface