diff --git a/nfs-utils.changes b/nfs-utils.changes index b8c857c..cd9097c 100644 --- a/nfs-utils.changes +++ b/nfs-utils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Mar 6 20:04:55 UTC 2013 - darin@darins.net + +- nfsserver.init,sysconfig.nfs - Add support for setting rpc.mountd + options. + ------------------------------------------------------------------- Wed Nov 28 00:08:55 UTC 2012 - nfbrown@suse.com diff --git a/nfs-utils.spec b/nfs-utils.spec index a750834..a394fcc 100644 --- a/nfs-utils.spec +++ b/nfs-utils.spec @@ -1,7 +1,7 @@ # # spec file for package nfs-utils # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/nfsserver.init b/nfsserver.init index 7c60964..e3c82e8 100644 --- a/nfsserver.init +++ b/nfsserver.init @@ -215,9 +215,9 @@ case "$1" in # rpc.mountd echo -n " mountd" if [ -n "$MOUNTD_PORT" ] ; then - startproc /usr/sbin/rpc.mountd -p $MOUNTD_PORT $VERSION_PARAMS + startproc /usr/sbin/rpc.mountd -p $MOUNTD_PORT $MOUNTD_OPTIONS $VERSION_PARAMS else - startproc /usr/sbin/rpc.mountd $VERSION_PARAMS + startproc /usr/sbin/rpc.mountd $MOUNTD_OPTIONS $VERSION_PARAMS fi || { rc_status -v rc_exit diff --git a/sysconfig.nfs b/sysconfig.nfs index fb4e67c..5fe6312 100644 --- a/sysconfig.nfs +++ b/sysconfig.nfs @@ -132,3 +132,13 @@ SVCGSSD_OPTIONS="" # This setting allows extra options to be specified for NFSD, such as # -H in a high-availability configuration. NFSD_OPTIONS="" + +## Path: Network/File systems/NFS server +## Description: Extra options for mountd +## Type: string +## Default: "" +# +# This setting allows extra options to be specified for rpc.mountd, +# such as --manage-gids. +MOUNTD_OPTIONS="" +