From c315066da885b8d06d5f2d4de3f44f97faf20fd3 Mon Sep 17 00:00:00 2001 From: Scott Mayhew Date: Wed, 1 Jul 2026 13:28:34 -0400 Subject: [PATCH] Ensure services are stopped when nfs-utils is uninstalled Some services are sticking around after nfs-utils is uninstalled (visible via 'systemctl list-units --state active | grep not-found'). Make sure these go away when the package is removed. Resolves: RHEL-186341 Signed-off-by: Scott Mayhew --- nfs-utils.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/nfs-utils.spec b/nfs-utils.spec index e37b5f6..1edb69b 100644 --- a/nfs-utils.spec +++ b/nfs-utils.spec @@ -2,7 +2,7 @@ Summary: NFS utilities and supporting clients and daemons for the kernel NFS ser Name: nfs-utils URL: http://linux-nfs.org/ Version: 2.8.3 -Release: 7%{?dist} +Release: 8%{?dist} Epoch: 1 # group all 32bit related archs @@ -288,6 +288,12 @@ fi %preun %systemd_preun nfs-client.target nfs-server.service +%systemd_preun auth-rpcgss-module.service +%systemd_preun fsidd.service +%systemd_preun nfs-blkmap.service +%systemd_preun rpc-gssd.service +%systemd_preun rpc-statd-notify.service +%systemd_preun var-lib-nfs-rpc_pipefs.mount if [ $1 -eq 0 ]; then : >%{_localstatedir}/lib/rpm-state/nfs-server.cleanup fi @@ -459,6 +465,9 @@ rm -rf /etc/systemd/system/rpc-*.requires %{_mandir}/*/nfsiostat.8.gz %changelog +* Wed Jul 1 2026 Scott Mayhew 2.8.3-8 +- Ensure services are stopped when nfs-utils is uninstalled (RHEL-186341) + * Mon Apr 6 2026 Scott Mayhew 2.8.3-7 - nfsrahead: enable event-driven mountinfo monitoring and skip non-NFS devices (RHEL-158528) - nfsrahead: zero-initialise device_info struct (RHEL-158528)