rpc.idmapd fails to start if sunrpc is not mounted on /var/lib/nfs/rpc_pipefs: янв 19 18:45:00 work.puleglot systemd[1]: Starting NFSv4 ID-name mapping service... янв 19 18:45:00 work.puleglot rpc.idmapd[3379]: main: open(/var/lib/nfs/rpc_pipefs//nfs): No such file or directory янв 19 18:45:00 work.puleglot systemd[1]: nfs-idmapd.service: control process exited, code=exited status=1 янв 19 18:45:00 work.puleglot systemd[1]: Failed to start NFSv4 ID-name mapping service I workarounded that problem in the following way: $ cat /etc/systemd/system/nfs-idmapd.service.d/10deps.conf [Unit] Requires=var-lib-nfs-rpc_pipefs.mount After=var-lib-nfs-rpc_pipefs.mount The same dependency is already defined in nfs-blkmap.service, rpc-gssd.service and rpc-svcgssd.service
@systemd: Can you guys test and fix this? Also upstreaming would be good if it's required since I think we use the upstream service files now.
Fixed upstream: http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=6efdb0440daf3ed304a3c1115f01e76e89d792a7
Should be fixed in 1.3.2.