Accepting request 158082 from Base:System
Updated nfsserver.init and sysconfig.nfs to add support for setting rpc.mountd options in addition to the port. While it's possible to set these by setting the port and adding them after, this is a nicer implementation. (forwarded request 157565 from deadpoint) OBS-URL: https://build.opensuse.org/request/show/158082 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=101
This commit is contained in:
commit
27554f60d9
@ -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
|
Wed Nov 28 00:08:55 UTC 2012 - nfbrown@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package nfs-utils
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
@ -215,9 +215,9 @@ case "$1" in
|
|||||||
# rpc.mountd
|
# rpc.mountd
|
||||||
echo -n " mountd"
|
echo -n " mountd"
|
||||||
if [ -n "$MOUNTD_PORT" ] ; then
|
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
|
else
|
||||||
startproc /usr/sbin/rpc.mountd $VERSION_PARAMS
|
startproc /usr/sbin/rpc.mountd $MOUNTD_OPTIONS $VERSION_PARAMS
|
||||||
fi || {
|
fi || {
|
||||||
rc_status -v
|
rc_status -v
|
||||||
rc_exit
|
rc_exit
|
||||||
|
@ -132,3 +132,13 @@ SVCGSSD_OPTIONS=""
|
|||||||
# This setting allows extra options to be specified for NFSD, such as
|
# This setting allows extra options to be specified for NFSD, such as
|
||||||
# -H <shared_hostname> in a high-availability configuration.
|
# -H <shared_hostname> in a high-availability configuration.
|
||||||
NFSD_OPTIONS=""
|
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=""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user