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 <smayhew@redhat.com>
This commit is contained in:
parent
492563787f
commit
c315066da8
@ -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 <smayhew@redhat.com> 2.8.3-8
|
||||
- Ensure services are stopped when nfs-utils is uninstalled (RHEL-186341)
|
||||
|
||||
* Mon Apr 6 2026 Scott Mayhew <smayhew@redhat.com> 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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user