5073990325
The significant update is that configuration can now be read from a central /etc/nfs.conf file, and it can include other files such as /etc/sysconfig/nfs This means that the old nfs-config.service systemd unit is no longer needed. - /etc/nfs.conf file created to import all sysconfig settings except *_OPTIONS directly into running code. - dropins created to pass *_OPTIONS sysconfig setting to the various daemons. - various specfile improvements, such as using "-D" in "install" commands, and adding "verify_permissions". - "xtab" has not been needed for years and has now been remove. - sysconfig.nfs updated, particular the ServiceRestart declarations have been tuned for systemd units. - 0003-nfs-server-generator-handle-noauto-mounts-correctly.patch Fix the nfs-server-generator so that mounts marked "noauto" are not automatically mounted when NFS exported. (bsc#1019211) - 0001-conffile-ignore-empty-environment-variables.patch 0002-mount-call-setgroups-before-setuid.patch Other minor fixes found during testing. - REMOVED 0001-Make-location-of-nfs-utils_env.sh-configurable.patch now included upstream OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=177
208 lines
7.1 KiB
Plaintext
208 lines
7.1 KiB
Plaintext
## Path: Network/File systems/NFS server
|
|
## Description: number of threads for kernel nfs server
|
|
## Type: integer
|
|
## Default: 4
|
|
## ServiceRestart: nfs-server
|
|
#
|
|
# the kernel nfs-server supports multiple server threads
|
|
#
|
|
USE_KERNEL_NFSD_NUMBER="4"
|
|
|
|
## Path: Network/File systems/NFS server
|
|
## Description: use fixed port number for mountd
|
|
## Type: integer
|
|
## Default: ""
|
|
## ServiceRestart: nfs-mountd
|
|
#
|
|
# Only set this if you want to start mountd on a fixed
|
|
# port instead of the port assigned by rpc. Only for use
|
|
# to export nfs-filesystems through firewalls.
|
|
#
|
|
MOUNTD_PORT=""
|
|
|
|
## Path: Network/File systems/NFS server
|
|
## Description: NFSv3 server support
|
|
## Type: yesno
|
|
## Default: yes
|
|
## ServiceRestart: nfs-server
|
|
#
|
|
# Enable NFSv3 server support (yes/no)
|
|
# This causes the NFS server to respond to
|
|
# NFSv2 and NFSv3 requests. Only disable this
|
|
# if you want to ensure only NFSv4 is used.
|
|
#
|
|
NFS3_SERVER_SUPPORT="yes"
|
|
|
|
## Path: Network/File systems/NFS server
|
|
## Description: NFSv4 protocol support
|
|
## Type: yesno
|
|
## Default: yes
|
|
## ServiceRestart: nfs-server
|
|
#
|
|
# Enable NFSv4 support (server and/or client) (yes/no)
|
|
#
|
|
NFS4_SUPPORT="yes"
|
|
|
|
## Path: Network/File systems/NFS server
|
|
## Description: Network Status Monitor options
|
|
## Type: string
|
|
## Default: ""
|
|
#
|
|
# If a fixed port should be used to send reboot notification
|
|
# messages to other systems, that port should be given
|
|
# here as "-p portnumber".
|
|
#
|
|
SM_NOTIFY_OPTIONS=""
|
|
|
|
## Path: Network/File systems/NFS server
|
|
## Description: Port rpc.statd should listen on
|
|
## Type: integer
|
|
## Default: ""
|
|
## ServiceRestart: rpc-statd
|
|
#
|
|
# Statd will normally choose a random port to listen on and
|
|
# SuSE-Firewall is able to detect which port and allow for it.
|
|
# If you have another firewall, you may want to set a fixed
|
|
# port number which can then be opened in that firewall.
|
|
STATD_PORT=""
|
|
|
|
## Path: Network/File systems/NFS server
|
|
## Description: Hostname used by rpc.statd
|
|
## Type: string
|
|
## Default: ""
|
|
## ServiceRestart: rpc-statd
|
|
#
|
|
# statd will normally use the system hostname in status
|
|
# monitoring conversations with other hosts. If a different
|
|
# host name should be used, as can be useful with fail-over
|
|
# configurations, that name should be given here.
|
|
#
|
|
STATD_HOSTNAME=""
|
|
|
|
## Path: Network/File systems/NFS server
|
|
## Description: TCP Port that lockd should listen on
|
|
## Type: integer
|
|
## Default: ""
|
|
## ServiceRestart: nfs-server
|
|
#
|
|
# Lockd will normally choose a random port to listen on and
|
|
# SuSE-Firewall is able to detect which port and allow for it.
|
|
# If you have another firewall, you may want to set a fixed
|
|
# port number which can then be opened in that firewall.
|
|
# lockd opens a UDP and a TCP port. This setting only affect
|
|
# the TCP port.
|
|
LOCKD_TCPPORT=""
|
|
|
|
## Path: Network/File systems/NFS server
|
|
## Description: UDP Port that lockd should listen on
|
|
## Type: integer
|
|
## Default: ""
|
|
## ServiceRestart: nfs-server
|
|
#
|
|
# Lockd will normally choose a random port to listen on and
|
|
# SuSE-Firewall is able to detect which port and allow for it.
|
|
# If you have another firewall, you may want to set a fixed
|
|
# port number which can then be opened in that firewall.
|
|
# lockd opens a UDP and a TCP port. This setting only affect
|
|
# the UDP port.
|
|
LOCKD_UDPPORT=""
|
|
|
|
## Path: Network/File systems/NFS server
|
|
## Description: Command line parameters for rpc.statd
|
|
## Type: string
|
|
## Default: ""
|
|
## ServiceRestart: rpc-statd
|
|
#
|
|
# Custom parameters for rpc.statd daemon. Typically this will
|
|
# be used to set the port number (-p).
|
|
#
|
|
STATD_OPTIONS=""
|
|
|
|
## Path: Network/File systems/NFS server
|
|
## Description: Lease time for NFSv4 leases
|
|
## Type: integer
|
|
## Default: ""
|
|
#
|
|
# Set the lease time for the NFSv4 server. This allows new locks
|
|
# to be taken sooner after a server restart, so it is useful for
|
|
# servers which need to recover quickly after a failure, particularly
|
|
# in fail-over configurations. Reducing the lease time can be a
|
|
# problem is some clients connect over high latency networks.
|
|
# The default is 90 seconds. A number like 15 might be appropriate
|
|
# in a fail-over configuration with all clients on well connected
|
|
# low latency links.
|
|
NFSV4LEASETIME=""
|
|
|
|
## Path: Network/File systems/NFS server
|
|
## Description: Alternate mount point for rpc_pipefs filesystem
|
|
## Type: string
|
|
## Default: ""
|
|
## ServiceRestart: nfs-utils
|
|
#
|
|
# In a high-availabilty configuration it is possible that /var/lib/nfs
|
|
# is redirected so some shared storage and so it is not convenient to
|
|
# mount the rpc_pipefs filesystem at /var/lib/nfs/rpc_pipefs. In that
|
|
# case an alternate mount point can be given here.
|
|
RPC_PIPEFS_DIR=""
|
|
|
|
## Path: Network/File systems/NFS server
|
|
## Description: Options for svcgssd
|
|
## Type: string
|
|
## Default: ""
|
|
## ServiceRestart: rpc-svcgssd
|
|
#
|
|
# Normally svcgssd does not require any option. However in a
|
|
# high-availabilty configuration it can be useful to pass "-n"
|
|
# to guide the choice of default credential. To allow for that
|
|
# case or any other requiring options ot svcgssd, they can
|
|
# be specified here.
|
|
SVCGSSD_OPTIONS=""
|
|
|
|
## Path: Network/File systems/NFS server
|
|
## Description: Extra options for nfsd
|
|
## Type: string
|
|
## Default: ""
|
|
## ServiceRestart nfs-server
|
|
#
|
|
# This setting allows extra options to be specified for NFSD, such as
|
|
# -H <shared_hostname> in a high-availability configuration.
|
|
NFSD_OPTIONS=""
|
|
|
|
## Path: Network/File systems/NFS server
|
|
## Description: Extra options for gssd
|
|
## Type: string
|
|
## Default: ""
|
|
## ServiceRestart: rpc-gssd
|
|
#
|
|
# Normally gssd does not require any options. In some circumstances,
|
|
# -n, -l or other options might be useful. See "man 8 rpc.gssd" for
|
|
# details. Those options can be set here.
|
|
GSSD_OPTIONS=""
|
|
|
|
## Path: Network/File systems/NFS server
|
|
## Description: Extra options for mountd
|
|
## Type: string
|
|
## Default: ""
|
|
## ServiceRestart nfs-mountd
|
|
#
|
|
# Normally mountd does not require any options. In some circumstances,
|
|
# -n, -t, -g or other options might be useful. See "man 8 rpc.mountd" for
|
|
# details. Those options can be set here.
|
|
# -p or -N should be set using MOUNTD_PORT or NFS4_SUPPORT rather than
|
|
# this option.
|
|
MOUNTD_OPTIONS=""
|
|
|
|
## Path: Network/File systems/NFS server
|
|
## Description: Avoid DNS lookups for kerberos principal
|
|
## Type: yesno
|
|
## Default: no
|
|
## ServiceRestart: rpc-gssd
|
|
#
|
|
# Avoid DNS lookups when determining kerberos identity
|
|
# of NFS server (yes/no)
|
|
# "yes" is safest, but "no" might be needed to preserve
|
|
# correct behaviour at sites that don't use
|
|
# Fully Qualified Domain Names when mounting NFS Shares.
|
|
#
|
|
NFS_GSSD_AVOID_DNS="no"
|