<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>5733</bug_id>
          
          <creation_ts>2014-01-17 08:08:01 +0000</creation_ts>
          <short_desc>rpcbind can not start up with 1.6 M2 RC1</short_desc>
          <delta_ts>2014-01-28 20:36:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>General Runtime</product>
          <component>General Runtime</component>
          <version>1.6</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.6 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Cristian Iorga">cristian.iorga</assigned_to>
          <cc>cristian.iorga</cc>
    
    <cc>ke.zou</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>39884</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2014-01-17 08:08:01 +0000</bug_when>
    <thetext>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 &apos;&apos;: Success
...
########################

########################
root@mpc8315e-rdb:~# ps | grep &quot;rpc&quot;
   20 root         0 SW&lt;  [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 &quot;rpc&quot;
   20 root         0 SW&lt;  [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:~# 
########################</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40006</commentid>
    <comment_count>1</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2014-01-23 13:25:56 +0000</bug_when>
    <thetext>Investigation started.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40034</commentid>
    <comment_count>2</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2014-01-24 15:01:14 +0000</bug_when>
    <thetext>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 &apos;&apos;: 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:</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40035</commentid>
    <comment_count>3</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2014-01-24 15:02:34 +0000</bug_when>
    <thetext>root@qemux86:/var/log# rpcinfo 
rpcinfo: can&apos;t contact rpcbind: RPC: Remote system error - Connection refused
root@qemux86:/var/log# rpc.statd</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40036</commentid>
    <comment_count>4</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2014-01-24 15:47:04 +0000</bug_when>
    <thetext>Something doesn&apos;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#</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40037</commentid>
    <comment_count>5</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2014-01-24 16:59:02 +0000</bug_when>
    <thetext>Patch sent for review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40069</commentid>
    <comment_count>6</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2014-01-28 20:36:59 +0000</bug_when>
    <thetext>Fixed with commit http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=933f6d4a3d9b20d0681d75bc30c57dde731624d0</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>