I've investigated your patches and find them very interesting, clearly based on the same model of portmap/portmap-wait.
Still, I was looking for the less intrusive possible modification in the time being (while this bug is being investigated thoughtfully, I hope, by Canonical and/or the community) so I just added this line at the end of idmapd's pre-start script:
if ! mountpoint -q /var/lib/nfs/rpc_pipefs ; then do_modprobe sunrpc ; mount -t rpc_pipefs rpc_pipefs /var/lib/nfs/rpc_pipefs || true ; fi
I know this is not the correct way to do it, but it's enough in my case to ensure idmapd will always start/restart/stop correctly, without needing to touch any other file than /etc/init/idmapd.conf.
I think your way is a really good one and I hope it will soon be officially integrated through a standard LTS update.
Thanks Alexander!
I've investigated your patches and find them very interesting, clearly based on the same model of portmap/ portmap- wait.
Still, I was looking for the less intrusive possible modification in the time being (while this bug is being investigated thoughtfully, I hope, by Canonical and/or the community) so I just added this line at the end of idmapd's pre-start script:
if ! mountpoint -q /var/lib/ nfs/rpc_ pipefs ; then do_modprobe sunrpc ; mount -t rpc_pipefs rpc_pipefs /var/lib/ nfs/rpc_ pipefs || true ; fi
I know this is not the correct way to do it, but it's enough in my case to ensure idmapd will always start/restart/stop correctly, without needing to touch any other file than /etc/init/ idmapd. conf.
I think your way is a really good one and I hope it will soon be officially integrated through a standard LTS update.
Cheers, J.C.