Image location: http://autobuilder.yoctoproject.org/pub/releases/1.6_M2.rc1/ Git rev: master/e4c23f7bcb79072ea6028fbdf8f3f0dc17a63371 The rpcbind can not startup both on qemus and real hardwares. The boot log: ######################## ... Starting rpcbind daemon...done. rpcbind: cannot get uid of '': Success ... ######################## ######################## root@mpc8315e-rdb:~# ps | grep "rpc" 20 root 0 SW< [rpciod] 576 root 2552 S grep rpc root@mpc8315e-rdb:~# root@mpc8315e-rdb:~# root@mpc8315e-rdb:~# /etc/init.d/rpcbind restart Stopping rpcbind daemon... not running. Starting rpcbind daemon...done. root@mpc8315e-rdb:~# root@mpc8315e-rdb:~# root@mpc8315e-rdb:~# ps | grep "rpc" 20 root 0 SW< [rpciod] 587 root 2552 S grep rpc root@mpc8315e-rdb:~# root@mpc8315e-rdb:~# /etc/init.d/rpcbind stop Stopping rpcbind daemon... not running. root@mpc8315e-rdb:~# ########################
Investigation started.
rpcbind not working correctly has consequences: cat /var/log/messages ............... Jan 24 14:58:39 qemux86 kernel: svc: failed to register nfsdv2 RPC service (errno 111). boot log: Fri Jan 24 14:58:37 2014: Starting rpcbind daemon...done. Fri Jan 24 14:58:37 2014: rpcbind: cannot get uid of '': Success Fri Jan 24 14:58:37 2014: creating NFS state directory: done Fri Jan 24 14:58:37 2014: starting statd: done Fri Jan 24 14:58:38 2014: starting 8 nfsd kernel threads: rpc.nfsd: Setting version failed: errno 22 (Invalid argument) Fri Jan 24 14:58:38 2014: rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused) Fri Jan 24 14:58:38 2014: rpc.nfsd: unable to set any sockets for nfsd Fri Jan 24 14:58:38 2014: done Fri Jan 24 14:58:38 2014: starting mountd: Cannot register service: RPC: Unable to receive; errno = Connection refused Fri Jan 24 14:58:38 2014: done Fri Jan 24 14:58:38 2014: Starting system log daemon...0 Fri Jan 24 14:58:38 2014: Starting kernel log daemon...0 Fri Jan 24 14:58:39 2014: Starting Lighttpd Web Server: lighttpd. Fri Jan 24 14:58:39 2014: Starting crond: OK Fri Jan 24 14:58:39 2014:
root@qemux86:/var/log# rpcinfo rpcinfo: can't contact rpcbind: RPC: Remote system error - Connection refused root@qemux86:/var/log# rpc.statd
Something doesn't quite work: root@qemux86:/etc# /etc/init.d/rpcbind status /usr/sbin/rpcbind is stopped root@qemux86:/etc# /etc/init.d/rpcbind start Starting rpcbind daemon...done. root@qemux86:/etc# /etc/init.d/rpcbind status /usr/sbin/rpcbind is stopped root@qemux86:/etc#
Patch sent for review.
Fixed with commit http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=933f6d4a3d9b20d0681d75bc30c57dde731624d0