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
81 lines
1.4 KiB
Plaintext
81 lines
1.4 KiB
Plaintext
#
|
|
# This is a general configuration for the
|
|
# NFS daemons and tools
|
|
# DO NOT MAKE CHANGES TO THIS FILE as they will
|
|
# be lost on the next software update. Make changes
|
|
# to /etc/sysconfig/nfs or /etc/nfs.conf.local instead.
|
|
# /etc/nfs.conf.local can include multiple sections, just
|
|
# like this file.
|
|
|
|
[environment]
|
|
include = /etc/sysconfig/nfs
|
|
include = /etc/nfs.conf.local
|
|
[general]
|
|
pipefs-directory=$RPC_PIPEFS_DIR
|
|
#
|
|
#[exportfs]
|
|
# debug=0
|
|
#
|
|
#[gssd]
|
|
# use-memcache=0
|
|
# use-machine-creds=1
|
|
avoid-dns=$NFS_GSSD_AVOID_DNS
|
|
# limit-to-legacy-enctypes=0
|
|
# context-timeout=0
|
|
# rpc-timeout=5
|
|
# keytab-file=/etc/krb5.keytab
|
|
# cred-cache-directory=
|
|
# preferred-realm=
|
|
#
|
|
[lockd]
|
|
port=$LOCKD_TCPPORT
|
|
udp-port=$LOCKD_UDPPORT
|
|
#
|
|
[mountd]
|
|
# debug=0
|
|
# manage_gids=n
|
|
# descriptors=0
|
|
port= $MOUNTD_PORT
|
|
# threads=1
|
|
# reverse-lookup=n
|
|
# state-directory-path=/var/lib/nfs
|
|
# ha-callout=
|
|
#
|
|
#[nfsdcltrack]
|
|
# debug=0
|
|
# storagedir=/var/lib/nfs/nfsdcltrack
|
|
#
|
|
[nfsd]
|
|
# debug=0
|
|
threads= $USE_KERNEL_NFSD_NUMBER
|
|
# host=
|
|
# port=0
|
|
# grace-time=90
|
|
lease-time=$NFS4LEASETIME
|
|
# udp=y
|
|
# tcp=y
|
|
# vers2=n
|
|
vers3=$NFS3_SERVER_SUPPORT
|
|
vers4=$NFS4_SUPPORT
|
|
# vers4.0=y
|
|
# vers4.1=y
|
|
# vers4.2=y
|
|
# rdma=n
|
|
#
|
|
[statd]
|
|
# debug=0
|
|
port=$STATD_PORT
|
|
# outgoing-port=0
|
|
name=$STATD_HOSTNAME
|
|
# state-directory-path=/var/lib/nfs/statd
|
|
# ha-callout=
|
|
#
|
|
#[sm-notify]
|
|
# debug=0
|
|
# retry-time=900
|
|
# outgoing-port=
|
|
# outgoing-addr=
|
|
#
|
|
#[svcgssd]
|
|
# principal=
|