documentation_complete: true

title: 'Configure <tt>lockd</tt> to use static TCP port'

description: |-
    Configure the <tt>lockd</tt> daemon to use a static TCP port as
    opposed to letting the RPC Bind service dynamically assign a port. Edit the
    file <tt>/etc/sysconfig/nfs</tt>. Add or correct the following line:
    <pre>LOCKD_TCPPORT=lockd-port</pre>
    Where <tt>lockd-port</tt> is a port which is not used by any other service on
    your network.

rationale: |-
    Restrict service to always use a given port, so that firewalling can be done
    effectively.

severity: unknown

identifiers:
    cce: 27149-4
