summaryrefslogtreecommitdiff
path: root/source/n
diff options
context:
space:
mode:
Diffstat (limited to 'source/n')
-rwxr-xr-xsource/n/nfs-utils/nfs-utils.SlackBuild5
-rw-r--r--source/n/nfs-utils/rc.nfsd8
-rw-r--r--source/n/samba/samba.url4
3 files changed, 14 insertions, 3 deletions
diff --git a/source/n/nfs-utils/nfs-utils.SlackBuild b/source/n/nfs-utils/nfs-utils.SlackBuild
index 217ed6f2..336ffb29 100755
--- a/source/n/nfs-utils/nfs-utils.SlackBuild
+++ b/source/n/nfs-utils/nfs-utils.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=nfs-utils
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -132,6 +132,9 @@ mkdir -p $PKG/sbin
mv $PKG/usr/sbin/rpc.statd $PKG/sbin
( cd $PKG/usr/sbin ; ln -sf ../../sbin/rpc.statd . )
+# Make recovery directory:
+mkdir -p $PKG/var/lib/nfs/v4recovery
+
# Chown /var/lib/nfs so that rpc.statd runs as rpc:rpc:
chown -R rpc:rpc $PKG/var/lib/nfs
diff --git a/source/n/nfs-utils/rc.nfsd b/source/n/nfs-utils/rc.nfsd
index 965db6b4..06c34b01 100644
--- a/source/n/nfs-utils/rc.nfsd
+++ b/source/n/nfs-utils/rc.nfsd
@@ -24,6 +24,14 @@ nfsd_start() {
exit # no uncommented shares in /etc/exports
fi
+ # Without this directory the logs will complain with
+ # 'NFSD: Unable to end grace period'.
+ NFSV4RECOVERYDIR=$(cat /proc/fs/nfsd/nfsv4recoverydir)
+ if [ -r /proc/fs/nfsd/nfsv4recoverydir -a ! -d "$NFSV4RECOVERYDIR" ]; then
+ mkdir "$NFSV4RECOVERYDIR"
+ chown -R rpc:rpc "$NFSV4RECOVERYDIR"
+ fi
+
# If we do not detect nfsd support built into the kernel (or previously
# loaded as a module), we will try to load the nfsd.ko kernel module:
if [ ! -r /proc/1/net/rpc/nfsd ]; then
diff --git a/source/n/samba/samba.url b/source/n/samba/samba.url
index 4eba19fa..22198151 100644
--- a/source/n/samba/samba.url
+++ b/source/n/samba/samba.url
@@ -1,2 +1,2 @@
-https://download.samba.org/pub/samba/stable/samba-4.10.1.tar.gz
-https://download.samba.org/pub/samba/stable/samba-4.10.1.tar.asc
+https://download.samba.org/pub/samba/stable/samba-4.10.2.tar.gz
+https://download.samba.org/pub/samba/stable/samba-4.10.2.tar.asc