In /etc/conf.d/nfs these option names are used: OPTS_RPC_NFSD, OPTS_RPC_SVCGSSD, OPTS_RPC_MOUNTD, OPTS_RPC_STATD, OPTS_RPC_IDMAPD, OPTS_RPC_GSSD But nfs-utils' services files are expecting to find other names, for example in nfs-server.service: [Service] EnvironmentFile=/etc/conf.d/nfs ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS The variable names are expected to see are: RPCNFSDARGS, SVCGSSDARGS, RPCMOUNTDARGS, STATDARGS, SMNOTIFYARGS, BLKMAPDARGS, RPCIDMAPDARGS, GSSDARGS The next renamings in nfs-utils' service files are proposed: RPCNFSDARGS -> OPTS_RPC_NFSD SVCGSSDARGS -> OPTS_RPC_SVCGSSD RPCMOUNTDARGS -> OPTS_RPC_MOUNTD STATDARGS -> OPTS_RPC_STATD RPCIDMAPDARGS -> OPTS_RPC_IDMAPD GSSDARGS -> OPTS_RPC_GSSD This will make names compatible with both openrc and systemd. Reproducible: Always Steps to Reproduce: 1. When systemd is used, change one of vars in /etc/conf.d/nfs 2. Restart the service Actual Results: Vars from /etc/conf.d/nfs are not used. Expected Results: Vars from /etc/conf.d/nfs are used.
Bug 544772 contains a patch for this. *** This bug has been marked as a duplicate of bug 544772 ***