initscript: move down 'exportfs -r' after rpc.nfsd to avoid returning error on boot [release 1.2.9-4mamba;Tue Jun 10 2014]

This commit is contained in:
Silvan Calarco 2024-01-06 07:37:49 +01:00
parent 5a46c160ef
commit 1326336810
2 changed files with 8 additions and 3 deletions

View File

@ -52,7 +52,6 @@ case "$1" in
[ -x /sbin/rpc.statd ] && /sbin/service nfslock start
[ -x /usr/sbin/rpc.svcgssd ] && /sbin/service rpcsvcgssd start
action $"Starting NFS services: " /usr/sbin/exportfs -r
# Set the ports lockd should listen on
if [ -n "$LOCKD_TCPPORT" ]; then
@ -73,6 +72,8 @@ case "$1" in
daemon rpc.nfsd $RPCNFSDARGS $RPCNFSDCOUNT
echo
action $"Starting NFS services: " /usr/sbin/exportfs -r
[ -n "$MOUNTD_PORT" ] \
&& RPCMOUNTDOPTS="$RPCMOUNTDOPTS -p $MOUNTD_PORT"

View File

@ -9,7 +9,7 @@
Name: nfs-utils
Version: 1.2.9
Release: 3mamba
Release: 4mamba
Summary: NFS utilities and supporting clients and daemons for the kernel NFS server
Group: Network/File Systems
Vendor: openmamba
@ -35,13 +35,14 @@ BuildRequires: libdevmapper-devel
BuildRequires: libe2fs-devel
BuildRequires: libevent-devel
BuildRequires: libgssglue-devel
BuildRequires: libtirpc-devel
BuildRequires: libkeyutils-devel
%if "%{stage1}" != "1"
BuildRequires: libkrb5-devel
%endif
BuildRequires: libnfsidmap-devel
BuildRequires: librpcsecgss-devel
BuildRequires: libsqlite-devel
BuildRequires: libtirpc-devel
BuildRequires: libuuid-devel
BuildRequires: libwrap-devel
## AUTOBUILDREQ-END
@ -253,6 +254,9 @@ exit 0
%doc COPYING linux-nfs/*
%changelog
* Tue Jun 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.9-4mamba
- initscript: move down 'exportfs -r' after rpc.nfsd to avoid returning error on boot
* Sat May 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.9-3mamba
- require nfsbind replacing portmap
- nfslock initscript: remove pid files on stop and make better checks on start