From 1326336810c8f64d6f3173d99f261cd6d996e3a5 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 07:37:49 +0100 Subject: [PATCH] initscript: move down 'exportfs -r' after rpc.nfsd to avoid returning error on boot [release 1.2.9-4mamba;Tue Jun 10 2014] --- nfs-utils-nfs.init | 3 ++- nfs-utils.spec | 8 ++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/nfs-utils-nfs.init b/nfs-utils-nfs.init index 6715b21..12d9e7f 100644 --- a/nfs-utils-nfs.init +++ b/nfs-utils-nfs.init @@ -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" diff --git a/nfs-utils.spec b/nfs-utils.spec index 31de395..04487b3 100644 --- a/nfs-utils.spec +++ b/nfs-utils.spec @@ -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 1.2.9-4mamba +- initscript: move down 'exportfs -r' after rpc.nfsd to avoid returning error on boot + * Sat May 10 2014 Silvan Calarco 1.2.9-3mamba - require nfsbind replacing portmap - nfslock initscript: remove pid files on stop and make better checks on start