diff --git a/srcpkgs/nfs-utils/files/nfs-server/run b/srcpkgs/nfs-utils/files/nfs-server/run index 4c485106bd05d5..202f862c19bc04 100644 --- a/srcpkgs/nfs-utils/files/nfs-server/run +++ b/srcpkgs/nfs-utils/files/nfs-server/run @@ -7,11 +7,6 @@ exec 2>&1 # Settings in ./conf should be preferred over /etc/conf.d/nfs-server.conf [ -r ./conf ] && . ./conf -# If this var is set, there's no need to enable statd and rpcbind services as they pertain to NFSv3 -if [ -z "$NFSV4_ONLY" ]; then - sv check statd >/dev/null || exit 1 -fi - # Check/mount rpc_pipefs (loads sunrpc kernel module) if ! mountpoint -q /var/lib/nfs/rpc_pipefs; then mount -t rpc_pipefs rpc_pipefs /var/lib/nfs/rpc_pipefs -o defaults || exit 1 diff --git a/srcpkgs/nfs-utils/template b/srcpkgs/nfs-utils/template index aa96efe9adaa6c..0df32e4b3602f4 100644 --- a/srcpkgs/nfs-utils/template +++ b/srcpkgs/nfs-utils/template @@ -1,7 +1,7 @@ # Template file for 'nfs-utils' pkgname=nfs-utils version=2.8.4 -revision=1 +revision=2 build_style=gnu-configure configure_args="--with-statduser=nobody --enable-gss --enable-nfsv4 --with-statedir=/var/lib/nfs --enable-libmount-mount --enable-svcgss