From 83efc1329c1786b46859b6fed50f0d25a6f6ffd5 Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Tue, 6 Aug 2024 15:54:08 -0400 Subject: [PATCH] The default config RPCBIND_ARGS in /etc/sysconfig/rpcbind is wrong (RHEL-32326) Signed-off-by: Steve Dickson Resolves: RHEL-32326 --- rpcbind-0.2.4-systemd-service.patch | 15 +++++++++++---- rpcbind.spec | 5 ++++- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/rpcbind-0.2.4-systemd-service.patch b/rpcbind-0.2.4-systemd-service.patch index 0350020..5987a4f 100644 --- a/rpcbind-0.2.4-systemd-service.patch +++ b/rpcbind-0.2.4-systemd-service.patch @@ -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 diff --git a/rpcbind.spec b/rpcbind.spec index 9caeab5..c9bc65c 100644 --- a/rpcbind.spec +++ b/rpcbind.spec @@ -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 rpcbind-1.2.7-1 +- The default config RPCBIND_ARGS in /etc/sysconfig/rpcbind is wrong (RHEL-32326) + * Tue Jul 30 2024 Steve Dickson rpcbind-1.2.7-0 - Updated to latest upstream release: rpcbind-1_2_7 (RHEL-50505)