# XXX don't forget to move /var/lib/nfs/rpc_pipefs to new /
-# Start rpcbind and rpc.statd as mount won't let us use locks on a NFSv4
-# filesystem without talking to them, even though they are unneeded
+# Start rpcbind or rpcbind
# XXX occasionally saw 'rpcbind: fork failed: No such device' -- why?
[ -x /sbin/portmap ] && [ -z "$(pidof portmap)" ] && portmap
[ -x /sbin/rpcbind ] && [ -z "$(pidof rpcbind)" ] && rpcbind
-[ -n "$(pidof rpc.statd)" ] || rpc.statd
# XXX should I do rpc.idmapd here, or wait and start in the new root
# XXX waiting assumes root can read everything it needs right up until
# XXX really, want to retry in a loop I think, but not here...
if [ "$nfsver" = "nfs4" ]; then
+ [ -n "$(pidof rpc.statd)" ] || rpc.statd
+
# XXX really needed? Do we need non-root users before we start it in
# XXX the real root image?
if [ -z "$(pidof rpc.idmapd)" ]; then