I thought this was being triggered during automated testing.
However, it appears that a poor choice of fixed ports for NFS RPC
services was the real problem. Revert, since the original behaviour
may be useful.
This reverts commit
f1a1c300e192d43f5c9faf9450ffbf16341a2661.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
# Intentionally not arithmetic comparison - avoids extra errors
# when above read fails in an unexpected way...
- if [ "$_running_threads" != "0" ] && \
- [ "$_running_threads" != "$_configured_threads" ] ; then
- printf 'Attempting to correct number of nfsd threads from %s to %s\n' \
- "$_running_threads" "$_configured_threads"
+ if [ "$_running_threads" != "$_configured_threads" ] ; then
+ echo "Attempting to correct number of nfsd threads from ${_running_threads} to ${_configured_threads}"
echo "$_configured_threads" >"$_threads_file"
fi
}