Compare commits
10 Commits
f5858b5fc8
...
e1ba79f53e
Author | SHA1 | Date | |
---|---|---|---|
|
e1ba79f53e | ||
|
325adb42a0 | ||
|
8103629f51 | ||
|
cba24ce316 | ||
|
761aff1575 | ||
|
e2fed0cfe2 | ||
|
fbf371c8a8 | ||
|
ee0f81409e | ||
|
2192d9560f | ||
|
e3ad855eca |
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,4 +1,4 @@
|
|||||||
x86_64
|
x86_64
|
||||||
Makefile
|
Makefile
|
||||||
/rpcbind-1.2.5.tar.bz2
|
/rpcbind-1.2.6.tar.bz2
|
||||||
rpcbind-1.2.5/
|
rpcbind-1.2.6/
|
||||||
|
1
.rpcbind.metadata
Normal file
1
.rpcbind.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
a6dad1d9454f42f2f25a92caba8d3d7bddf527e3 rpcbind-1.2.6.tar.bz2
|
@ -1,13 +0,0 @@
|
|||||||
diff -up rpcbind-0.2.4/systemd/rpcbind.service.in.orig rpcbind-0.2.4/systemd/rpcbind.service.in
|
|
||||||
--- rpcbind-0.2.4/systemd/rpcbind.service.in.orig 2017-12-16 15:46:12.896270101 -0500
|
|
||||||
+++ rpcbind-0.2.4/systemd/rpcbind.service.in 2017-12-16 15:46:43.672027210 -0500
|
|
||||||
@@ -7,7 +7,8 @@ RequiresMountsFor=@statedir@
|
|
||||||
# Make sure we use the IP addresses listed for
|
|
||||||
# rpcbind.socket, no matter how this unit is started.
|
|
||||||
Requires=rpcbind.socket
|
|
||||||
-Wants=rpcbind.target
|
|
||||||
+Wants=rpcbind.target systemd-tmpfiles-setup.service
|
|
||||||
+After=systemd-tmpfiles-setup.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=notify
|
|
@ -1,249 +0,0 @@
|
|||||||
diff -up rpcbind-1.2.5/src/pmap_svc.c.orig rpcbind-1.2.5/src/pmap_svc.c
|
|
||||||
--- rpcbind-1.2.5/src/pmap_svc.c.orig 2018-08-15 10:51:19.000000000 -0400
|
|
||||||
+++ rpcbind-1.2.5/src/pmap_svc.c 2019-11-11 09:50:09.051438608 -0500
|
|
||||||
@@ -50,6 +50,7 @@ static char sccsid[] = "@(#)pmap_svc.c 1
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/socket.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
+#include <string.h>
|
|
||||||
#include <rpc/rpc.h>
|
|
||||||
#include <rpc/pmap_prot.h>
|
|
||||||
#include <rpc/rpcb_prot.h>
|
|
||||||
diff -up rpcbind-1.2.5/src/rpcbind.c.orig rpcbind-1.2.5/src/rpcbind.c
|
|
||||||
--- rpcbind-1.2.5/src/rpcbind.c.orig 2018-08-15 10:51:19.000000000 -0400
|
|
||||||
+++ rpcbind-1.2.5/src/rpcbind.c 2019-11-11 09:50:09.050438602 -0500
|
|
||||||
@@ -42,11 +42,10 @@
|
|
||||||
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/stat.h>
|
|
||||||
-#include <sys/errno.h>
|
|
||||||
#include <sys/resource.h>
|
|
||||||
#include <sys/wait.h>
|
|
||||||
#include <sys/time.h>
|
|
||||||
-#include <sys/signal.h>
|
|
||||||
+#include <signal.h>
|
|
||||||
#include <sys/file.h>
|
|
||||||
#include <sys/socket.h>
|
|
||||||
#include <sys/un.h>
|
|
||||||
@@ -340,7 +339,7 @@ init_transport(struct netconfig *nconf)
|
|
||||||
{
|
|
||||||
int fd = -1;
|
|
||||||
struct t_bind taddr;
|
|
||||||
- struct addrinfo hints, *res;
|
|
||||||
+ struct addrinfo hints, *res = NULL;
|
|
||||||
struct __rpc_sockinfo si;
|
|
||||||
SVCXPRT *my_xprt = NULL;
|
|
||||||
int status; /* bound checking ? */
|
|
||||||
@@ -817,8 +816,12 @@ got_socket:
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
+ if (res != NULL)
|
|
||||||
+ freeaddrinfo(res);
|
|
||||||
return (0);
|
|
||||||
error:
|
|
||||||
+ if (res != NULL)
|
|
||||||
+ freeaddrinfo(res);
|
|
||||||
close(fd);
|
|
||||||
return (1);
|
|
||||||
}
|
|
||||||
diff -up rpcbind-1.2.5/src/rpcb_stat.c.orig rpcbind-1.2.5/src/rpcb_stat.c
|
|
||||||
--- rpcbind-1.2.5/src/rpcb_stat.c.orig 2018-08-15 10:51:19.000000000 -0400
|
|
||||||
+++ rpcbind-1.2.5/src/rpcb_stat.c 2019-11-11 09:50:09.051438608 -0500
|
|
||||||
@@ -151,7 +151,7 @@ rpcbs_rmtcall(rpcvers_t rtype, rpcproc_t
|
|
||||||
rpcbs_rmtcalllist *rl;
|
|
||||||
struct netconfig *nconf;
|
|
||||||
|
|
||||||
- if (rtype > RPCBVERS_STAT)
|
|
||||||
+ if (rtype >= RPCBVERS_STAT)
|
|
||||||
return;
|
|
||||||
for (rl = inf[rtype].rmtinfo; rl; rl = rl->next) {
|
|
||||||
|
|
||||||
diff -up rpcbind-1.2.5/src/rpcb_svc_com.c.orig rpcbind-1.2.5/src/rpcb_svc_com.c
|
|
||||||
--- rpcbind-1.2.5/src/rpcb_svc_com.c.orig 2018-08-15 10:51:19.000000000 -0400
|
|
||||||
+++ rpcbind-1.2.5/src/rpcb_svc_com.c 2019-11-11 09:50:09.050438602 -0500
|
|
||||||
@@ -42,7 +42,7 @@
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/stat.h>
|
|
||||||
#include <sys/param.h>
|
|
||||||
-#include <sys/poll.h>
|
|
||||||
+#include <poll.h>
|
|
||||||
#include <bits/poll.h>
|
|
||||||
#include <sys/socket.h>
|
|
||||||
#include <rpc/rpc.h>
|
|
||||||
diff -up rpcbind-1.2.5/src/rpcinfo.c.orig rpcbind-1.2.5/src/rpcinfo.c
|
|
||||||
--- rpcbind-1.2.5/src/rpcinfo.c.orig 2018-08-15 10:51:19.000000000 -0400
|
|
||||||
+++ rpcbind-1.2.5/src/rpcinfo.c 2019-11-11 09:50:09.052438613 -0500
|
|
||||||
@@ -693,11 +693,11 @@ reply_proc (res, who, nconf)
|
|
||||||
}
|
|
||||||
if (!(uaddr = taddr2uaddr (nconf, who)))
|
|
||||||
{
|
|
||||||
- uaddr = UNKNOWN;
|
|
||||||
+ printf ("%s\t%s\n", UNKNOWN, hostname);
|
|
||||||
+ } else {
|
|
||||||
+ printf ("%s\t%s\n", uaddr, hostname);
|
|
||||||
+ free ((char *) uaddr);
|
|
||||||
}
|
|
||||||
- printf ("%s\t%s\n", uaddr, hostname);
|
|
||||||
- if (strcmp (uaddr, UNKNOWN))
|
|
||||||
- free ((char *) uaddr);
|
|
||||||
return (FALSE);
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -973,6 +973,7 @@ rpcbdump (dumptype, netid, argc, argv)
|
|
||||||
(" program version(s) netid(s) service owner\n");
|
|
||||||
for (rs = rs_head; rs; rs = rs->next)
|
|
||||||
{
|
|
||||||
+ size_t netidmax = sizeof(buf) - 1;
|
|
||||||
char *p = buf;
|
|
||||||
|
|
||||||
printf ("%10ld ", rs->prog);
|
|
||||||
@@ -985,12 +986,22 @@ rpcbdump (dumptype, netid, argc, argv)
|
|
||||||
}
|
|
||||||
printf ("%-10s", buf);
|
|
||||||
buf[0] = '\0';
|
|
||||||
- for (nl = rs->nlist; nl; nl = nl->next)
|
|
||||||
- {
|
|
||||||
- strcat (buf, nl->netid);
|
|
||||||
- if (nl->next)
|
|
||||||
- strcat (buf, ",");
|
|
||||||
- }
|
|
||||||
+
|
|
||||||
+ for (nl = rs->nlist; nl; nl = nl->next)
|
|
||||||
+ {
|
|
||||||
+ strncat (buf, nl->netid, netidmax);
|
|
||||||
+ if (strlen (nl->netid) < netidmax)
|
|
||||||
+ netidmax -= strlen(nl->netid);
|
|
||||||
+ else
|
|
||||||
+ break;
|
|
||||||
+
|
|
||||||
+ if (nl->next && netidmax > 1)
|
|
||||||
+ {
|
|
||||||
+ strncat (buf, ",", netidmax);
|
|
||||||
+ netidmax --;
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
printf ("%-32s", buf);
|
|
||||||
rpc = getrpcbynumber (rs->prog);
|
|
||||||
if (rpc)
|
|
||||||
diff -up rpcbind-1.2.5/src/util.c.orig rpcbind-1.2.5/src/util.c
|
|
||||||
--- rpcbind-1.2.5/src/util.c.orig 2018-08-15 10:51:19.000000000 -0400
|
|
||||||
+++ rpcbind-1.2.5/src/util.c 2019-11-11 09:50:09.051438608 -0500
|
|
||||||
@@ -45,7 +45,7 @@
|
|
||||||
#include <net/if.h>
|
|
||||||
#include <netinet/in.h>
|
|
||||||
#include <ifaddrs.h>
|
|
||||||
-#include <sys/poll.h>
|
|
||||||
+#include <poll.h>
|
|
||||||
#include <rpc/rpc.h>
|
|
||||||
#include <errno.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
@@ -103,7 +103,7 @@ char *
|
|
||||||
addrmerge(struct netbuf *caller, char *serv_uaddr, char *clnt_uaddr,
|
|
||||||
char *netid)
|
|
||||||
{
|
|
||||||
- struct ifaddrs *ifap, *ifp = NULL, *bestif;
|
|
||||||
+ struct ifaddrs *ifap, *ifp = NULL, *bestif, *exactif;
|
|
||||||
struct netbuf *serv_nbp = NULL, *hint_nbp = NULL, tbuf;
|
|
||||||
struct sockaddr *caller_sa, *hint_sa, *ifsa, *ifmasksa, *serv_sa;
|
|
||||||
struct sockaddr_storage ss;
|
|
||||||
@@ -157,7 +157,10 @@ addrmerge(struct netbuf *caller, char *s
|
|
||||||
* network portion of its address is equal to that of the client.
|
|
||||||
* If so, we have found the interface that we want to use.
|
|
||||||
*/
|
|
||||||
- bestif = NULL;
|
|
||||||
+ bestif = NULL; /* first interface UP with same network & family */
|
|
||||||
+ exactif = NULL; /* the interface requested by the client */
|
|
||||||
+ u_int8_t maskAllAddrBits[16] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
|
||||||
+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; /* 16 bytes for IPv6 */
|
|
||||||
for (ifap = ifp; ifap != NULL; ifap = ifap->ifa_next) {
|
|
||||||
ifsa = ifap->ifa_addr;
|
|
||||||
ifmasksa = ifap->ifa_netmask;
|
|
||||||
@@ -175,8 +178,16 @@ addrmerge(struct netbuf *caller, char *s
|
|
||||||
if (!bitmaskcmp(&SA2SINADDR(ifsa),
|
|
||||||
&SA2SINADDR(hint_sa), &SA2SINADDR(ifmasksa),
|
|
||||||
sizeof(struct in_addr))) {
|
|
||||||
- bestif = ifap;
|
|
||||||
- goto found;
|
|
||||||
+ if(!bestif) /* for compatibility with previous code */
|
|
||||||
+ bestif = ifap;
|
|
||||||
+ /* Is this an exact match? */
|
|
||||||
+ if (!bitmaskcmp(&SA2SINADDR(ifsa),
|
|
||||||
+ &SA2SINADDR(hint_sa), maskAllAddrBits,
|
|
||||||
+ sizeof(struct in_addr))) {
|
|
||||||
+ exactif = ifap;
|
|
||||||
+ goto found;
|
|
||||||
+ }
|
|
||||||
+ /* else go-on looking for an exact match */
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
#ifdef INET6
|
|
||||||
@@ -197,8 +208,16 @@ addrmerge(struct netbuf *caller, char *s
|
|
||||||
} else if (!bitmaskcmp(&SA2SIN6ADDR(ifsa),
|
|
||||||
&SA2SIN6ADDR(hint_sa), &SA2SIN6ADDR(ifmasksa),
|
|
||||||
sizeof(struct in6_addr))) {
|
|
||||||
- bestif = ifap;
|
|
||||||
- goto found;
|
|
||||||
+ if(!bestif) /* for compatibility with previous code */
|
|
||||||
+ bestif = ifap;
|
|
||||||
+ /* Is this an exact match? */
|
|
||||||
+ if (!bitmaskcmp(&SA2SIN6ADDR(ifsa),
|
|
||||||
+ &SA2SIN6ADDR(hint_sa), maskAllAddrBits,
|
|
||||||
+ sizeof(struct in6_addr))) {
|
|
||||||
+ exactif = ifap;
|
|
||||||
+ goto found;
|
|
||||||
+ }
|
|
||||||
+ /* else go-on looking for an exact match */
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
#endif
|
|
||||||
@@ -215,10 +234,13 @@ addrmerge(struct netbuf *caller, char *s
|
|
||||||
(bestif->ifa_flags & (IFF_LOOPBACK | IFF_POINTOPOINT))))
|
|
||||||
bestif = ifap;
|
|
||||||
}
|
|
||||||
+
|
|
||||||
if (bestif == NULL)
|
|
||||||
goto freeit;
|
|
||||||
|
|
||||||
found:
|
|
||||||
+ if(exactif)
|
|
||||||
+ bestif = exactif;
|
|
||||||
/*
|
|
||||||
* Construct the new address using the the address from
|
|
||||||
* `bestif', and the port number from `serv_uaddr'.
|
|
||||||
@@ -322,9 +344,10 @@ network_init()
|
|
||||||
/*
|
|
||||||
* Now join the RPC ipv6 multicast group on all interfaces.
|
|
||||||
*/
|
|
||||||
- if (getifaddrs(&ifp) < 0)
|
|
||||||
+ if (getifaddrs(&ifp) < 0) {
|
|
||||||
+ freeaddrinfo (res);
|
|
||||||
return;
|
|
||||||
-
|
|
||||||
+ }
|
|
||||||
mreq6.ipv6mr_interface = 0;
|
|
||||||
inet_pton(AF_INET6, RPCB_MULTICAST_ADDR, &mreq6.ipv6mr_multiaddr);
|
|
||||||
|
|
||||||
@@ -352,8 +375,8 @@ network_init()
|
|
||||||
perror("setsockopt v6 multicast");
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
-
|
|
||||||
- /* close(s); */
|
|
||||||
+ freeaddrinfo (res);
|
|
||||||
+ close(s);
|
|
||||||
}
|
|
||||||
|
|
||||||
struct sockaddr *
|
|
||||||
diff -up rpcbind-1.2.5/src/warmstart.c.orig rpcbind-1.2.5/src/warmstart.c
|
|
||||||
--- rpcbind-1.2.5/src/warmstart.c.orig 2018-08-15 10:51:19.000000000 -0400
|
|
||||||
+++ rpcbind-1.2.5/src/warmstart.c 2019-11-11 09:50:09.051438608 -0500
|
|
||||||
@@ -35,6 +35,7 @@
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/stat.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
+#include <string.h>
|
|
||||||
#include <rpc/rpc.h>
|
|
||||||
#include <rpc/rpcb_prot.h>
|
|
||||||
#include <rpc/xdr.h>
|
|
15
rpcbind-1.2.6-double-free.patch
Normal file
15
rpcbind-1.2.6-double-free.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
diff -up rpcbind-1.2.6/src/rpcbind.c.orig rpcbind-1.2.6/src/rpcbind.c
|
||||||
|
--- rpcbind-1.2.6/src/rpcbind.c.orig 2022-08-16 10:16:03.196903368 -0400
|
||||||
|
+++ rpcbind-1.2.6/src/rpcbind.c 2022-08-16 10:16:38.595062481 -0400
|
||||||
|
@@ -562,8 +562,10 @@ init_transport(struct netconfig *nconf)
|
||||||
|
syslog(LOG_ERR, "cannot bind %s on %s: %m",
|
||||||
|
(hosts[nhostsbak] == NULL) ? "*" :
|
||||||
|
hosts[nhostsbak], nconf->nc_netid);
|
||||||
|
- if (res != NULL)
|
||||||
|
+ if (res != NULL) {
|
||||||
|
freeaddrinfo(res);
|
||||||
|
+ res = NULL;
|
||||||
|
+ }
|
||||||
|
continue;
|
||||||
|
} else
|
||||||
|
checkbind++;
|
20
rpcbind-1.2.6-systemd-service.patch
Normal file
20
rpcbind-1.2.6-systemd-service.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
diff -up rpcbind-1.2.6/systemd/rpcbind.service.in.orig rpcbind-1.2.6/systemd/rpcbind.service.in
|
||||||
|
--- rpcbind-1.2.6/systemd/rpcbind.service.in.orig 2021-06-23 14:09:47.696252854 -0400
|
||||||
|
+++ rpcbind-1.2.6/systemd/rpcbind.service.in 2021-06-23 14:10:25.279413508 -0400
|
||||||
|
@@ -7,13 +7,14 @@ RequiresMountsFor=@statedir@
|
||||||
|
# Make sure we use the IP addresses listed for
|
||||||
|
# rpcbind.socket, no matter how this unit is started.
|
||||||
|
Requires=rpcbind.socket
|
||||||
|
-Wants=rpcbind.target
|
||||||
|
+Wants=rpcbind.target systemd-tmpfiles-setup.service
|
||||||
|
+After=systemd-tmpfiles-setup.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=notify
|
||||||
|
# distro can provide a drop-in adding EnvironmentFile=-/??? if needed.
|
||||||
|
EnvironmentFile=/etc/sysconfig/rpcbind
|
||||||
|
-ExecStart=@_sbindir@/rpcbind $RPCBIND_OPTIONS -w -f
|
||||||
|
+ExecStart=@_sbindir@/rpcbind $RPCBIND_ARGS -w -f
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
57
rpcbind.spec
57
rpcbind.spec
@ -3,11 +3,11 @@
|
|||||||
%global rpcbind_state_dir %{_rundir}/rpcbind
|
%global rpcbind_state_dir %{_rundir}/rpcbind
|
||||||
|
|
||||||
Name: rpcbind
|
Name: rpcbind
|
||||||
Version: 1.2.5
|
Version: 1.2.6
|
||||||
Release: 5.rc1%{?dist}.5
|
Release: 5%{?dist}
|
||||||
Summary: Universal Addresses to RPC Program Number Mapper
|
Summary: Universal Addresses to RPC Program Number Mapper
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://nfsv4.bullopensource.org
|
URL: https://sourceforge.net/projects/rpcbind/
|
||||||
|
|
||||||
Source0: http://downloads.sourceforge.net/rpcbind/%{name}-%{version}.tar.bz2
|
Source0: http://downloads.sourceforge.net/rpcbind/%{name}-%{version}.tar.bz2
|
||||||
Source1: %{name}.sysconfig
|
Source1: %{name}.sysconfig
|
||||||
@ -18,16 +18,19 @@ BuildRequires: make
|
|||||||
BuildRequires: automake, autoconf, libtool, systemd, systemd-devel
|
BuildRequires: automake, autoconf, libtool, systemd, systemd-devel
|
||||||
BuildRequires: libtirpc-devel, quota-devel
|
BuildRequires: libtirpc-devel, quota-devel
|
||||||
Requires(pre): coreutils shadow-utils
|
Requires(pre): coreutils shadow-utils
|
||||||
Requires(post): systemd
|
Requires(post): systemd policycoreutils
|
||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
Requires(postun): systemd coreutils
|
Requires(postun): systemd coreutils
|
||||||
|
|
||||||
Patch001: rpcbind-1.2.5-rc1.patch
|
#
|
||||||
|
# RHEL9.1
|
||||||
|
#
|
||||||
|
Patch001: rpcbind-1.2.6-double-free.patch
|
||||||
|
|
||||||
Patch100: rpcbind-0.2.3-systemd-envfile.patch
|
Patch100: rpcbind-0.2.3-systemd-envfile.patch
|
||||||
Patch101: rpcbind-0.2.3-systemd-tmpfiles.patch
|
Patch101: rpcbind-0.2.3-systemd-tmpfiles.patch
|
||||||
Patch102: rpcbind-0.2.4-runstatdir.patch
|
Patch102: rpcbind-0.2.4-runstatdir.patch
|
||||||
Patch103: rpcbind-0.2.4-systemd-service.patch
|
Patch103: rpcbind-1.2.6-systemd-service.patch
|
||||||
Patch104: rpcbind-0.2.4-systemd-rundir.patch
|
Patch104: rpcbind-0.2.4-systemd-rundir.patch
|
||||||
|
|
||||||
Provides: portmap = %{version}-%{release}
|
Provides: portmap = %{version}-%{release}
|
||||||
@ -39,15 +42,8 @@ universal addresses. It must be running on the host to be able to make
|
|||||||
RPC calls on a server on that machine.
|
RPC calls on a server on that machine.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
# 1637562 - rpcinfo: Fix stack buffer overflow
|
|
||||||
%patch001 -p1
|
|
||||||
|
|
||||||
%patch100 -p1
|
|
||||||
%patch101 -p1
|
|
||||||
%patch102 -p1
|
|
||||||
%patch103 -p1
|
|
||||||
%patch104 -p1
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fisv
|
autoreconf -fisv
|
||||||
%configure \
|
%configure \
|
||||||
@ -56,7 +52,6 @@ autoreconf -fisv
|
|||||||
--with-rpcuser="%rpcbind_user_group" \
|
--with-rpcuser="%rpcbind_user_group" \
|
||||||
--with-nss-modules="files altfiles" \
|
--with-nss-modules="files altfiles" \
|
||||||
--sbindir=%{_bindir} \
|
--sbindir=%{_bindir} \
|
||||||
--enable-rmtcalls \
|
|
||||||
--enable-debug
|
--enable-debug
|
||||||
|
|
||||||
make all
|
make all
|
||||||
@ -107,6 +102,13 @@ then
|
|||||||
/bin/systemctl reenable rpcbind.socket >/dev/null 2>&1 || :
|
/bin/systemctl reenable rpcbind.socket >/dev/null 2>&1 || :
|
||||||
/bin/systemctl restart rpcbind.socket >/dev/null 2>&1 || :
|
/bin/systemctl restart rpcbind.socket >/dev/null 2>&1 || :
|
||||||
fi
|
fi
|
||||||
|
if [ ! -d /var/lib/rpcbind ]
|
||||||
|
then
|
||||||
|
mkdir /var/lib/rpcbind
|
||||||
|
chown rpc:rpc /var/lib/rpcbind
|
||||||
|
[ -x /usr/sbin/restorecon ] && \
|
||||||
|
/usr/sbin/restorecon /var/lib/rpcbind
|
||||||
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -123,6 +125,31 @@ fi
|
|||||||
%attr(0700, %{rpcbind_user_group}, %{rpcbind_user_group}) %dir %{rpcbind_state_dir}
|
%attr(0700, %{rpcbind_user_group}, %{rpcbind_user_group}) %dir %{rpcbind_state_dir}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 6 2022 Steve Dickson <steved@redhat.com> - 1.2.6-5
|
||||||
|
- Fixed a typo in changelog (bz 2115517)
|
||||||
|
|
||||||
|
* Tue Aug 16 2022 Steve Dickson <steved@redhat.com> - 1.2.6-4
|
||||||
|
- Use %autosetup -p1 to make sure patches apply (bz 2115517)
|
||||||
|
|
||||||
|
* Tue Aug 16 2022 Steve Dickson <steved@redhat.com> - 1.2.6-3
|
||||||
|
- Fixed a double free in init_transport (bz 2115517)
|
||||||
|
|
||||||
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.6-2
|
||||||
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
|
Related: rhbz#1991688
|
||||||
|
|
||||||
|
* Wed Jun 23 2021 Steve Dickson <steved@redhat.com> - 1.2.6-1
|
||||||
|
- Use sysconfig variable in service file (bz 1972094)
|
||||||
|
- Make sure policycoreutils is installed before using it (bz 1972133)
|
||||||
|
- Make sure /var/lib/rpcbind exists (bz 1972133)
|
||||||
|
- Corrected the URL reference (bz 1972117)
|
||||||
|
|
||||||
|
* Tue Jun 22 2021 Steve Dickson <steved@redhat.com> - 1.2.6-0
|
||||||
|
- Rebased to latest upstream release: rpcbind-1-2-6 (bz 1959128)
|
||||||
|
|
||||||
|
* Mon Jun 7 2021 Steve Dickson <steved@redhat.com> - 1.2.5-6.rc1
|
||||||
|
- Disable remote calls (bz 1923041)
|
||||||
|
|
||||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.5-5.rc1.5
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.5-5.rc1.5
|
||||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (rpcbind-1.2.5.tar.bz2) = e884c4757950ccead0f9a07f50625a63e6f18f9bfae9fcfffa3e5fa4b7a66c3a99d9fa303061848fe8211509d5456f24ff26e4579af6e161a35522268f3ef3e4
|
SHA512 (rpcbind-1.2.6.tar.bz2) = fb89c61be4c533fe2e6057749d97079a2d1c9fac0d35d6be1a159a0edbf86092b3fc121f19fa920e75aac5ecdd3f59f5978e6401d5cad16cd438c977736206a7
|
||||||
|
Loading…
Reference in New Issue
Block a user