Hi Patrick,
thank you for your report!

#1 RPCNFSDPRIORITY
That was used with the old style of starting a service like
  start-stop-daemon ... --nicelevel $RPCNFSDPRIORITY
in sysV style nfs-kernel-server.init
Which doesn't work that way in systemd, one would need to set the following in 
the service file
  LimitNICE=$RPCNFSDPRIORITY


#2 RPCNFSDOPTS
I agree to your analysis of /usr/lib/systemd/scripts/nfs-utils_env.sh 
generating /run/sysconfig/nfs-utils on behalf of nfs-config.service.
And then nfs-server.service using this ans environment for $RPCNFSDARGS
Of echo RPCNFSDARGS=\"$RPCNFSDOPTS ${RPCNFSDCOUNT:-8}\" we have:
- RPCNFSDCOUNT which is in the .default
- RPCNFSDOPTS missing in .default
- the .default lists some exclusions, but this isn't part of that list

# the following are supported by the systemd units, but not exposed in default 
files
# echo SMNOTIFYARGS=\"$SMNOTIFYARGS\"
# echo RPCIDMAPDARGS=\"$RPCIDMAPDARGS\"
# echo RPCGSSDARGS=\"$RPCGSSDARGS\"
# echo BLKMAPDARGS=\"$BLKMAPDARGS\"
# echo GSS_USE_PROXY=\"$GSS_USE_PROXY\"

Note: the old sysV also didn't have RPCNFSDOPTS/RPCNFSDARGS it directly passed 
RPCNFSDCOUNT.
So this isn't a regression but a request to fix a feature (daemon arguments) 
that seems only partially implemented.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1898778

Title:
  RPCNFSDARGS missing from /etc/default/nfs-kernel-server

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1898778/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to