Thanks, Rafael -- I'll put together an environment in which to test the packages (I'd rather not reboot my live NFS servers).
However, I think nfs-mountd.service still needs tweaking. rpc.mountd (if using NFSv2 or v3) needs to communicate with rpcbind on startup to register services. Currently nfs-mountd.service has
BindsTo=nfs-server.service
but as far as I can tell this does NOT imply an ordering (it's Requires= plus the additional behaviour of stopping when another service stops; I don't think it covers After=).
So, I suspect you may also need to add to nfs-mountd.service:
Thanks, Rafael -- I'll put together an environment in which to test the packages (I'd rather not reboot my live NFS servers).
However, I think nfs-mountd.service still needs tweaking. rpc.mountd (if using NFSv2 or v3) needs to communicate with rpcbind on startup to register services. Currently nfs-mountd.service has
BindsTo= nfs-server. service
but as far as I can tell this does NOT imply an ordering (it's Requires= plus the additional behaviour of stopping when another service stops; I don't think it covers After=).
So, I suspect you may also need to add to nfs-mountd.service:
After= nfs-server. service