Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 537280 - net-fs/nfs-utils-1.3.1-r1: nfs-idmapd.service should depend on var-lib-nfs-rpc_pipefs.mount
Summary: net-fs/nfs-utils-1.3.1-r1: nfs-idmapd.service should depend on var-lib-nfs-rp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-21 19:33 UTC by Alexander Tsoy
Modified: 2015-01-31 07:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Tsoy 2015-01-21 19:33:50 UTC
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
Comment 1 Tim Harder gentoo-dev 2015-01-22 23:25:58 UTC
@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.
Comment 3 Tim Harder gentoo-dev 2015-01-31 07:21:05 UTC
Should be fixed in 1.3.2.