new packages: nfs-utils, libgssglue, rpcbind
This commit is contained in:
@@ -0,0 +1 @@
|
||||
# /etc/exports: NFS file systems being exported. See exports(5).
|
||||
@@ -0,0 +1,19 @@
|
||||
# GSSAPI Mechanism Definitions
|
||||
#
|
||||
# This configuration file determines which GSS-API mechanisms
|
||||
# the gssd code should use
|
||||
#
|
||||
# NOTE:
|
||||
# The initiaiization function "mechglue_internal_krb5_init"
|
||||
# is used for the MIT krb5 gssapi mechanism. This special
|
||||
# function name indicates that an internal function should
|
||||
# be used to determine the entry points for the MIT gssapi
|
||||
# mechanism funtions.
|
||||
#
|
||||
# library initialization function
|
||||
# ================================ ==========================
|
||||
# The MIT K5 gssapi library, use special function for initialization.
|
||||
/usr/lib/libgssapi_krb5.so.2 mechglue_internal_krb5_init
|
||||
#
|
||||
# The SPKM3 gssapi library function. Use the function spkm3_gss_initialize.
|
||||
#libgssapi_spkm3.so spkm3_gss_initialize
|
||||
@@ -0,0 +1,10 @@
|
||||
[General]
|
||||
|
||||
Verbosity = 0
|
||||
Pipefs-Directory = /var/lib/nfs/rpc_pipefs
|
||||
Domain = localdomain
|
||||
|
||||
[Mapping]
|
||||
|
||||
Nobody-User = nobody
|
||||
Nobody-Group = nobody
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -up nfs-utils-1.2.1/support/nfs/exports.c.orig nfs-utils-1.2.1/support/nfs/exports.c
|
||||
--- nfs-utils-1.2.1/support/nfs/exports.c.orig 2010-01-15 10:48:49.631894982 -0500
|
||||
+++ nfs-utils-1.2.1/support/nfs/exports.c 2010-01-15 11:05:02.009874055 -0500
|
||||
@@ -483,7 +483,7 @@ static void fix_pseudoflavor_flags(struc
|
||||
static int
|
||||
parseopts(char *cp, struct exportent *ep, int warn, int *had_subtree_opt_ptr)
|
||||
{
|
||||
- int had_subtree_opt = 0;
|
||||
+ int had_subtree_opt = 1;
|
||||
char *flname = efname?efname:"command line";
|
||||
int flline = efp?efp->x_line:0;
|
||||
unsigned int active = 0;
|
||||
@@ -0,0 +1,58 @@
|
||||
diff -up nfs-utils-1.2.1/utils/statd/sm-notify.man.save nfs-utils-1.2.1/utils/statd/sm-notify.man
|
||||
--- nfs-utils-1.2.1/utils/statd/sm-notify.man.save 2010-01-15 11:10:25.096874609 -0500
|
||||
+++ nfs-utils-1.2.1/utils/statd/sm-notify.man 2010-01-15 11:14:12.636873981 -0500
|
||||
@@ -186,7 +186,7 @@ where NSM state information resides.
|
||||
If this option is not specified,
|
||||
.B sm-notify
|
||||
uses
|
||||
-.I /var/lib/nfs
|
||||
+.I /var/lib/nfs/statd
|
||||
by default.
|
||||
.IP
|
||||
After starting,
|
||||
@@ -287,13 +287,13 @@ Currently, the
|
||||
command supports sending notification only via datagram transport protocols.
|
||||
.SH FILES
|
||||
.TP 2.5i
|
||||
-.I /var/lib/nfs/sm
|
||||
+.I /var/lib/nfs/statd/sm
|
||||
directory containing monitor list
|
||||
.TP 2.5i
|
||||
-.I /var/lib/nfs/sm.bak
|
||||
+.I /var/lib/nfs/statd/sm.bak
|
||||
directory containing notify list
|
||||
.TP 2.5i
|
||||
-.I /var/lib/nfs/state
|
||||
+.I /var/lib/nfs/statd/state
|
||||
NSM state number for this host
|
||||
.TP 2.5i
|
||||
.I /proc/sys/fs/nfs/nsm_local_state
|
||||
diff -up nfs-utils-1.2.1/utils/statd/statd.man.save nfs-utils-1.2.1/utils/statd/statd.man
|
||||
--- nfs-utils-1.2.1/utils/statd/statd.man.save 2010-01-15 11:10:25.098906325 -0500
|
||||
+++ nfs-utils-1.2.1/utils/statd/statd.man 2010-01-15 11:11:03.874769717 -0500
|
||||
@@ -232,7 +232,7 @@ where NSM state information resides.
|
||||
If this option is not specified,
|
||||
.B rpc.statd
|
||||
uses
|
||||
-.I /var/lib/nfs
|
||||
+.I /var/lib/nfs/statd
|
||||
by default.
|
||||
.IP
|
||||
After starting,
|
||||
@@ -368,13 +368,13 @@ As long as at least one network transpor
|
||||
will operate.
|
||||
.SH FILES
|
||||
.TP 2.5i
|
||||
-.I /var/lib/nfs/sm
|
||||
+.I /var/lib/nfs/statd/sm
|
||||
directory containing monitor list
|
||||
.TP 2.5i
|
||||
-.I /var/lib/nfs/sm.bak
|
||||
+.I /var/lib/nfs/statd/sm.bak
|
||||
directory containing notify list
|
||||
.TP 2.5i
|
||||
-.I /var/lib/nfs/state
|
||||
+.I /var/lib/nfs/statd/state
|
||||
NSM state number for this host
|
||||
.TP 2.5i
|
||||
.I /run/run.statd.pid
|
||||
@@ -0,0 +1,76 @@
|
||||
# /etc/conf.d/nfs
|
||||
|
||||
# If you do not set values for the NEED_ options, they will be attempted
|
||||
# autodetected; this should be sufficient for most people. Valid alternatives
|
||||
# for the NEED_ options are "yes" and "no".
|
||||
|
||||
# nfs-common options
|
||||
####################
|
||||
|
||||
# Port rpc.statd should listen on
|
||||
# Should rpc.statd listen on a specific port? This is especially useful
|
||||
# when you have a port-based firewall. To use a fixed port, set this
|
||||
# this variable to a valid port like: "4000".
|
||||
# For more information, see rpc.statd(8)
|
||||
#STATD_PORT=
|
||||
|
||||
# Options for rpc.statd.
|
||||
#RPCSTATD_OPTIONS=
|
||||
|
||||
# TCP port rpc.lockd should listen on.
|
||||
#LOCKD_TCPPORT=
|
||||
#
|
||||
# UDP port rpc.lockd should listen on.
|
||||
#LOCKD_UDPPORT=
|
||||
|
||||
# Do you want to start the idmapd daemon? It is only needed for NFSv4.
|
||||
#NEED_IDMAPD=yes
|
||||
|
||||
# Options for rpc.idmapd
|
||||
#RPCIDMAPD_OPTIONS=
|
||||
|
||||
# Do you want to start the gssd daemon? It is required for Kerberos mounts.
|
||||
# NFS service scripts detect NFS Kerberos mounts in /etc/fstab and starts gssd
|
||||
# daemon even if this option is set to "no". This option force enables gssd
|
||||
# daemon.
|
||||
#NEED_GSSD=
|
||||
|
||||
# Options for rpc.gssd
|
||||
#RPCGSSD_OPTIONS=
|
||||
|
||||
# nfs-server options
|
||||
####################
|
||||
|
||||
# Options for rpc.nfsd.
|
||||
#RPCNFSD_OPTIONS=
|
||||
|
||||
# Number of servers to start up
|
||||
#RPCNFSDCOUNT=8
|
||||
|
||||
#Port rpc.mountd should listen on
|
||||
#MOUNTD_PORT=
|
||||
|
||||
# Options for rpc.mountd.
|
||||
# If you have a port-based firewall, you might want to set up
|
||||
# a fixed port here using the --port option. For more information,
|
||||
# see rpc.mountd(8)
|
||||
#RPCMOUNTD_OPTIONS=
|
||||
|
||||
# Do you want to start the svcgssd daemon? It is only required for Kerberos
|
||||
# exports. Valid alternatives are "yes" and "no"; the default is "no".
|
||||
#NEED_SVCGSSD=
|
||||
|
||||
# Options for rpc.svcgssd.
|
||||
#RPCSVCGSSD_OPTIONS=
|
||||
|
||||
# Do you want to start the quotad daemon? It is required for remote quotas.
|
||||
# NFS service scripts detect the mount option "quota" in any mount entry and
|
||||
# starts quotad daemon even if this option is set to "no". This option force
|
||||
# enables quotad daemon if the 'quota' package is installed.
|
||||
#NEED_QUOTAD=
|
||||
|
||||
#Port rpc.rquotad should listen on
|
||||
#RQUOTAD_PORT=
|
||||
|
||||
# Options for rpc.quotad
|
||||
#RPCRQUOTAD_OPTIONS=
|
||||
Reference in New Issue
Block a user