{"description": "The Network File System Lock (nfslock) service starts the required\nremote procedure call (RPC) processes which allow clients to lock files on the\nserver. If the local system is not configured to mount NFS filesystems then\nthis service should be disabled.\n\nThe <code>nfslock</code> service can be disabled with the following command:\n<pre>$ sudo systemctl mask --now nfslock.service</pre>", "rationale": "", "severity": "unknown", "references": {}, "control_references": {}, "components": [], "identifiers": {}, "ocil_clause": null, "ocil": null, "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": null, "platforms": [], "sce_metadata": {"check-import": "stdout", "platform": ["multi_platform_all"], "environment": "any", "filename": "service_nfslock_disabled.sh", "relative_path": "ubuntu2204/checks/sce/service_nfslock_disabled.sh"}, "inherited_platforms": ["system_with_kernel"], "cpe_platform_names": [], "inherited_cpe_platform_names": ["system_with_kernel"], "bash_conditional": null, "fixes": {}, "title": "Disable Network File System Lock Service (nfslock)", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/services/nfs_and_rpc/disabling_nfs/disabling_nfs_services/service_nfslock_disabled/rule.yml", "template": {"name": "service_disabled", "vars": {"servicename": "nfslock", "packagename": "nfs-utils"}, "backends": {}}}