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-88422
Signed-off-by: Scott Mayhew <smayhew@redhat.com>
This commit is contained in:
Scott Mayhew 2025-06-12 10:07:34 -04:00
parent df08dcbd18
commit c6a2297238

View File

@ -2,7 +2,7 @@ Summary: NFS utilities and supporting clients and daemons for the kernel NFS ser
Name: nfs-utils Name: nfs-utils
URL: http://linux-nfs.org/ URL: http://linux-nfs.org/
Version: 2.5.4 Version: 2.5.4
Release: 37%{?dist} Release: 38%{?dist}
Epoch: 1 Epoch: 1
# group all 32bit related archs # group all 32bit related archs
@ -338,6 +338,11 @@ fi
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
%systemd_preun nfs-client.target %systemd_preun nfs-client.target
%systemd_preun nfs-server.service %systemd_preun nfs-server.service
%systemd_preun auth-rpcgss-module.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
fi fi
%preun -n nfsv4-client-utils %preun -n nfsv4-client-utils
@ -523,6 +528,9 @@ fi
%{_mandir}/*/nfsiostat.8.gz %{_mandir}/*/nfsiostat.8.gz
%changelog %changelog
* Thu Jun 12 2025 Scott Mayhew <smayhew@redhat.com> 2.5.4-38
- ensure services are stopped when nfs-utils is uninstalled (RHEL-88422)
* Sat Apr 26 2025 Steve Dickson <steved@redhat.com> 2.5.4-37 * Sat Apr 26 2025 Steve Dickson <steved@redhat.com> 2.5.4-37
- gssd.man: add documentation for use-gss-proxy nfs.conf option (RHEL-85408) - gssd.man: add documentation for use-gss-proxy nfs.conf option (RHEL-85408)
- gssd: do not use krb5_cc_initialize (RHEL-85412) - gssd: do not use krb5_cc_initialize (RHEL-85412)