Description of problem: NFS4 mp or mountpoint option specified in /etc/exports has no effect, e.g., nfs will export an export point specified as 'mp' even though that export point is not a mountpoint. Version-Release number of selected component (if applicable): nfs-utils-2.1.1-5.rc5.fc26.x86_64 How reproducible: Always Steps to Reproduce: 1.mkdir /export_test 2.cat /etc/exports /export_test *(rw,mountpoint) 3.systemctl restart nfs 4.showmount -e Export list for localhost.localdomain: /export_test * Actual Results: the directory /export/share is offered by the nfs server as a possible export Expected Results: since /export/share is not a mountpoint, it should not be shared.
(In reply to Bruno Goncalves from comment #0) > Description of problem: > NFS4 mp or mountpoint option specified in /etc/exports has no effect, e.g., > nfs will export an export point specified as 'mp' even though that export > point is not a mountpoint. > > Version-Release number of selected component (if applicable): > nfs-utils-2.1.1-5.rc5.fc26.x86_64 > > How reproducible: Always > > > Steps to Reproduce: > 1.mkdir /export_test > 2.cat /etc/exports > /export_test *(rw,mountpoint) > 3.systemctl restart nfs > 4.showmount -e > Export list for localhost.localdomain: > /export_test * > > > Actual Results: > the directory /export/share is offered by the nfs server as a possible export > > Expected Results: > since /export/share is not a mountpoint, it should not be shared. The mount point will still show... but then the client tries to mount the directory the client mount will fail if /export_test is not a mount point