Red Hat Bugzilla – Bug 1291514
starting nfs-server.target changes permissions on /var/lib/nfs/rpc_pipefs causing 'rpm --verify' issues
Last modified: 2016-11-04 01:02:29 EDT
Description of problem:
nfs-utils-1.3.0-0.21.el7.x86_64 creates the directory /var/lib/nfs/rpc_pipefs as mode 755 (rwxr-xr-x), once you `systemctl start nfs-server.target` the pseudo filesystem gets mounted and the permissions are changed to 555 (r-xr-xr-x).
This causes rpm -V to throw errors, which causes it's own issues in environments where rpm -V errors have strict requirements...
[root@test ~]# rpm -V nfs-utils
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. yum install nfs-utils
2. ls -lad /var/lib/nfs/rpc_pipefs
3. systemctl start nfs-server.target
4. ls -lad /var/lib/nfs/rpc_pipefs
5. rpm -V nfs-utils
*** Bug 1275541 has been marked as a duplicate of this bug. ***
*** Bug 1325621 has been marked as a duplicate of this bug. ***
Patch applies to nfs-utils-1.3.0-0.24.el7
[root@hp-dl380pg8-10 ~]# rpm -q nfs-utils
[root@hp-dl380pg8-10 ~]# rpm -qlv nfs-utils-1.3.0-0.21.el7.x86_64 | grep /var/lib/nfs/rpc_pipefs
drwxr-xr-x 2 root root 0 Sep 29 2015 /var/lib/nfs/rpc_pipefs
[root@hp-dl380pg8-10 ~]# rpm -qlvp nfs-utils-1.3.0-0.24.el7.x86_64.rpm | grep /var/lib/nfs/rpc_pipefs
dr-xr-xr-x 2 root root 0 Apr 28 14:11 /var/lib/nfs/rpc_pipefs
Move to VERIFIED as comment 10, and will continue to run the automatic case
*** Bug 1360838 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.