Fixed rpc.statd port on Fedora.
This commit is contained in:
parent
94a4e0713a
commit
43b565949b
2 changed files with 8 additions and 3 deletions
73
nfs/templates/nfs.sysconfig.erb
Normal file
73
nfs/templates/nfs.sysconfig.erb
Normal file
|
@ -0,0 +1,73 @@
|
|||
#
|
||||
# Define which protocol versions mountd
|
||||
# will advertise. The values are "no" or "yes"
|
||||
# with yes being the default
|
||||
#MOUNTD_NFS_V1="no"
|
||||
#MOUNTD_NFS_V2="no"
|
||||
#MOUNTD_NFS_V3="no"
|
||||
#
|
||||
#
|
||||
# Path to remote quota server. See rquotad(8)
|
||||
#RQUOTAD="/usr/sbin/rpc.rquotad"
|
||||
# Port rquotad should listen on.
|
||||
RQUOTAD_PORT=4003
|
||||
# Optinal options passed to rquotad
|
||||
#RPCRQUOTADOPTS=""
|
||||
#
|
||||
# Optional arguments passed to in-kernel lockd
|
||||
#LOCKDARG=
|
||||
# TCP port rpc.lockd should listen on.
|
||||
LOCKD_TCPPORT=4001
|
||||
# UDP port rpc.lockd should listen on.
|
||||
LOCKD_UDPPORT=4001
|
||||
#
|
||||
#
|
||||
# Optional arguments passed to rpc.nfsd. See rpc.nfsd(8)
|
||||
# Turn off v2 and v3 protocol support
|
||||
#RPCNFSDARGS="-N 2 -N 3"
|
||||
# Turn off v4 protocol support
|
||||
RPCNFSDARGS="-N 4"
|
||||
# Number of nfs server processes to be started.
|
||||
# The default is 8.
|
||||
RPCNFSDCOUNT=64
|
||||
# Stop the nfsd module from being pre-loaded
|
||||
#NFSD_MODULE="noload"
|
||||
#
|
||||
#
|
||||
# Optional arguments passed to rpc.mountd. See rpc.mountd(8)
|
||||
RPCMOUNTDOPTS="--no-nfs-version 4"
|
||||
# Port rpc.mountd should listen on.
|
||||
MOUNTD_PORT=4002
|
||||
#
|
||||
#
|
||||
<% if @operatingsystem == 'Fedora' -%>
|
||||
# Optional arguments passed to rpc.statd. See rpc.statd(8)
|
||||
STATDARG="-p 4000"
|
||||
<% else -%>
|
||||
# Optional arguments passed to rpc.statd. See rpc.statd(8)
|
||||
#STATDARG=""
|
||||
# Port rpc.statd should listen on.
|
||||
STATD_PORT=4000
|
||||
<% end -%>
|
||||
# Outgoing port statd should used. The default is port
|
||||
# is random
|
||||
#STATD_OUTGOING_PORT=2020
|
||||
# Specify callout program
|
||||
#STATD_HA_CALLOUT="/usr/local/bin/foo"
|
||||
#
|
||||
#
|
||||
# Optional arguments passed to rpc.idmapd. See rpc.idmapd(8)
|
||||
#RPCIDMAPDARGS=""
|
||||
#
|
||||
# Set to turn on Secure NFS mounts.
|
||||
#SECURE_NFS="yes"
|
||||
# Optional arguments passed to rpc.gssd. See rpc.gssd(8)
|
||||
#RPCGSSDARGS="-vvv"
|
||||
# Optional arguments passed to rpc.svcgssd. See rpc.svcgssd(8)
|
||||
#RPCSVCGSSDARGS="-vvv"
|
||||
# Don't load security modules in to the kernel
|
||||
#SECURE_NFS_MODS="noload"
|
||||
#
|
||||
# Don't load sunrpc module.
|
||||
#RPCMTAB="noload"
|
||||
#
|
Loading…
Add table
Add a link
Reference in a new issue