1
0
forked from rpms/rpcbind

The default config RPCBIND_ARGS in /etc/sysconfig/rpcbind is wrong (RHEL-32326)

Signed-off-by: Steve Dickson <steved@redhat.com>
Resolves: RHEL-32326
This commit is contained in:
Steve Dickson 2024-08-06 15:54:08 -04:00
parent 6dc0408a35
commit 83efc1329c
2 changed files with 15 additions and 5 deletions

View File

@ -1,7 +1,7 @@
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@
diff -up rpcbind-1.2.7/systemd/rpcbind.service.in.orig rpcbind-1.2.7/systemd/rpcbind.service.in
--- rpcbind-1.2.7/systemd/rpcbind.service.in.orig 2024-08-06 15:49:22.161273198 -0400
+++ rpcbind-1.2.7/systemd/rpcbind.service.in 2024-08-06 15:49:49.210454941 -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
@ -11,3 +11,10 @@ diff -up rpcbind-0.2.4/systemd/rpcbind.service.in.orig rpcbind-0.2.4/systemd/rpc
[Service]
Type=notify
# distro can provide a drop-in adding EnvironmentFile=-/??? if needed.
EnvironmentFile=/etc/sysconfig/rpcbind
-ExecStart=@_sbindir@/rpcbind $RPCBIND_OPTIONS @warmstarts_opt@ -f
+ExecStart=@_sbindir@/rpcbind $RPCBIND_ARGS @warmstarts_opt@ -f
[Install]
WantedBy=multi-user.target

View File

@ -4,7 +4,7 @@
Name: rpcbind
Version: 1.2.7
Release: 0%{?dist}
Release: 1%{?dist}
Summary: Universal Addresses to RPC Program Number Mapper
License: BSD-3-Clause
URL: http://nfsv4.bullopensource.org
@ -114,6 +114,9 @@ fi
%attr(0700, %{rpcbind_user_group}, %{rpcbind_user_group}) %dir %{rpcbind_state_dir}
%changelog
* Tue Aug 6 2024 Steve Dickson <steved@redhat.com> rpcbind-1.2.7-1
- The default config RPCBIND_ARGS in /etc/sysconfig/rpcbind is wrong (RHEL-32326)
* Tue Jul 30 2024 Steve Dickson <steved@redhat.com> rpcbind-1.2.7-0
- Updated to latest upstream release: rpcbind-1_2_7 (RHEL-50505)