Address rpm verify issues
1. Fix the ownership of /var/lib/nfs/statd/state. It should be owned by root:root, not rpcuser:rpcuser. This was fixed in RHEL8 in https://bugzilla.redhat.com/show_bug.cgi?id=1733445 but that change was never propagated to RHEL 9 or Fedora. 2. Both /var/lib/nfs/etab and /var/lib/nfs/rmtab are marked as %config files, but they're not config files. They state files, just like /var/lib/nfs/statd/state, so they should be marked %ghost instead. Resolves: RHEL-64340 Resolves: RHEL-72823 Signed-off-by: Scott Mayhew <smayhew@redhat.com>
This commit is contained in:
parent
7d80f8cb0d
commit
bc2d33c530
@ -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.5.4
|
||||
Release: 29%{?dist}
|
||||
Release: 30%{?dist}
|
||||
Epoch: 1
|
||||
|
||||
# group all 32bit related archs
|
||||
@ -368,9 +368,9 @@ fi
|
||||
%dir %attr(700,rpcuser,rpcuser) %{_sharedstatedir}/nfs/statd
|
||||
%dir %attr(700,rpcuser,rpcuser) %{_sharedstatedir}/nfs/statd/sm
|
||||
%dir %attr(700,rpcuser,rpcuser) %{_sharedstatedir}/nfs/statd/sm.bak
|
||||
%ghost %attr(644,rpcuser,rpcuser) %{_statdpath}/state
|
||||
%config(noreplace) %{_sharedstatedir}/nfs/etab
|
||||
%config(noreplace) %{_sharedstatedir}/nfs/rmtab
|
||||
%ghost %attr(644,root,root) %{_statdpath}/state
|
||||
%ghost %attr(644,root,root) %{_sharedstatedir}/nfs/etab
|
||||
%ghost %attr(644,root,root) %{_sharedstatedir}/nfs/rmtab
|
||||
%config(noreplace) %{_sysconfdir}/request-key.d/id_resolver.conf
|
||||
%config(noreplace) %{_sysconfdir}/modprobe.d/lockd.conf
|
||||
%config(noreplace) %{_sysconfdir}/nfs.conf
|
||||
@ -428,7 +428,7 @@ fi
|
||||
%dir %attr(700,rpcuser,rpcuser) %{_sharedstatedir}/nfs/statd
|
||||
%dir %attr(700,rpcuser,rpcuser) %{_sharedstatedir}/nfs/statd/sm
|
||||
%dir %attr(700,rpcuser,rpcuser) %{_sharedstatedir}/nfs/statd/sm.bak
|
||||
%ghost %attr(644,rpcuser,rpcuser) %{_statdpath}/state
|
||||
%ghost %attr(644,root,root) %{_statdpath}/state
|
||||
%config(noreplace) %{_sysconfdir}/nfsmount.conf
|
||||
%config(noreplace) %{_sysconfdir}/nfs.conf
|
||||
%config(noreplace) %{_sysconfdir}/request-key.d/id_resolver.conf
|
||||
@ -513,6 +513,10 @@ fi
|
||||
%{_mandir}/*/nfsiostat.8.gz
|
||||
|
||||
%changelog
|
||||
* Mon Feb 3 2025 Scott Mayhew <smayhew@redhat.com> 2.5.4-30
|
||||
- fix ownership of /var/lib/nfs/statd/state (RHEL-72823)
|
||||
- /var/lib/nfs/{etab,rmtab} should not be marked as config files (RHEL-64340)
|
||||
|
||||
* Wed Jan 8 2025 Steve Dickson <steved@redhat.com> 2.5.4-29
|
||||
- conffile: add 'arg' argument to conf_remove_now() (RHEL-70923)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user