11-20-2026, 07:33 PM
(This post was last modified: 11-20-2026, 09:14 PM by grindstone.)
OK, after installing nfs-common and nfs-kernel-server, at least the portmapper shows in the Runit Service Manager. This may indeed be all that we need. If you look under /etc/sv/ you will find an rpcbind directory containing the requisite check, run, and finish files along with a supervise directory containing PID, status, etc. DSL (antiX) handled it, so no need to create those files.
I didn't have an exports file ready so it didn't autostart nfsd at installation. Also 99% complete with a set of runit files should we need them, but investigating my test system. Again, this is doing nothing but installing the two packages and opening the service manager. When I checked under Add, nothing NFS-related remained.
To answer my own questions for posterity, a couple variables are different as follows:
## Notes on the /etc/default variables
- RPCNFSDCOUNT=8 — number of nfsd kernel threads; read directly by the run script.
- RPCNFSDPRIORITY=0 — nice level applied to the server; inherited by the nfsd kernel threads.
- RPCMOUNTDOPTS="--manage-gids" — passed verbatim to rpc.mountd -F; composes fine with -F.
- RPCNFSDOPTS — not present in bookworm's default file. Kept for forward compatibility with other Debian releases.
- STATDOPTS (nfs-common) — empty here means statd defaults
- NEED_IDMAPD, NEED_GSSD, NEED_SVCGSSD — concern daemons this service set does not
run (idmapd is obsolete under the keyutils-based ID mapper; gssd/svcgssd are only needed
for Kerberized NFS). Irrelevant unless you use Kerberos exports.
- To disable NFSv4 serving, add --no-nfs-version 4 to RPCMOUNTDOPTS in
/etc/default/nfs-kernel-server (per that file's own comment).
The only question is, if you check the rpcbind checkbox in the service manager, does yours start/run right?
If you read about how antiX uses runit, you see that antiX w/ runit isn't 100% pure runit, but leaves some things in SysV init. Sure-enough, I found the rest of the NFS stuff under /etc/init.d.
Oy.
nfs-common and
nfs-kernel-server
are SysV controlled and rpcbind is a runit service. If yours works, that's how to control things. DSL inherited this "hybrid". First thing I've worked on in DSL that's this way. Thanks for patience. This indeed is a weird one and we may have an opportunity to improve it, courtesy of you raising the issue. More to come.
BTW, I now have a set of files that can be used with runit that follow antiX house style and Debian canonical forms and logic. Have some questions for upstream to ensure that they do not fight.
I didn't have an exports file ready so it didn't autostart nfsd at installation. Also 99% complete with a set of runit files should we need them, but investigating my test system. Again, this is doing nothing but installing the two packages and opening the service manager. When I checked under Add, nothing NFS-related remained.
To answer my own questions for posterity, a couple variables are different as follows:
## Notes on the /etc/default variables
- RPCNFSDCOUNT=8 — number of nfsd kernel threads; read directly by the run script.
- RPCNFSDPRIORITY=0 — nice level applied to the server; inherited by the nfsd kernel threads.
- RPCMOUNTDOPTS="--manage-gids" — passed verbatim to rpc.mountd -F; composes fine with -F.
- RPCNFSDOPTS — not present in bookworm's default file. Kept for forward compatibility with other Debian releases.
- STATDOPTS (nfs-common) — empty here means statd defaults
- NEED_IDMAPD, NEED_GSSD, NEED_SVCGSSD — concern daemons this service set does not
run (idmapd is obsolete under the keyutils-based ID mapper; gssd/svcgssd are only needed
for Kerberized NFS). Irrelevant unless you use Kerberos exports.
- To disable NFSv4 serving, add --no-nfs-version 4 to RPCMOUNTDOPTS in
/etc/default/nfs-kernel-server (per that file's own comment).
The only question is, if you check the rpcbind checkbox in the service manager, does yours start/run right?
If you read about how antiX uses runit, you see that antiX w/ runit isn't 100% pure runit, but leaves some things in SysV init. Sure-enough, I found the rest of the NFS stuff under /etc/init.d.
Oy.
nfs-common and
nfs-kernel-server
are SysV controlled and rpcbind is a runit service. If yours works, that's how to control things. DSL inherited this "hybrid". First thing I've worked on in DSL that's this way. Thanks for patience. This indeed is a weird one and we may have an opportunity to improve it, courtesy of you raising the issue. More to come.
BTW, I now have a set of files that can be used with runit that follow antiX house style and Debian canonical forms and logic. Have some questions for upstream to ensure that they do not fight.

