Information
The Network File System (NFS) is one of the first and most widely distributed file systems in the UNIX environment. It provides the ability for systems to mount file systems of other servers through the network.
If the system does not require network shares, it is recommended that the nfs-utils and nfs-kernel-server packages be removed to reduce the attack surface of the system.
Note: many of the libvirt packages used by Enterprise Linux virtualization are dependent on the nfs-utils package. If the nfs-utils or nfs-kernel-server packages are required as a dependency, the nfs-server service should be disabled and masked to reduce the attack surface of the system
Solution
Run the following commands to remove nfs-utils and nfs-kernel-server :
# zypper remove nfs-utils
# zypper remove nfs-kernel-server
OR
If the nfs-utils or nfs-kernel-server packages are required as a dependency
Run the following command to stop and mask the nfs-server service:
# systemctl --now mask nfs-server