<?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>483</bug_id>
          
          <creation_ts>2010-10-18 16:20:35 +0000</creation_ts>
          <short_desc>NFS server initscript does not work</short_desc>
          <delta_ts>2010-12-21 06:07:11 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>0.9</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>0.9 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mark Hatle">mark.hatle</reporter>
          <assigned_to name="Qing He">qing.he</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>10648</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2010-10-18 16:20:35 +0000</bug_when>
    <thetext>When you run the /etc/init.d/nfsserver script it does not startup the NFS server.


test -x &quot;$NFS_MOUNTD&quot; || NFS_MOUNTD=/usr/sbin/mountd
test -x &quot;$NFS_NFSD&quot; || NFS_NFSD=/usr/sbin/nfsd
test -x &quot;$NFS_STATD&quot; || NFS_STATD=/usr/sbin/statd

At a minimum the above is wrong.  The values should be &quot;rpc.mountd&quot;, &quot;rpc.nfsd&quot; and &quot;rpc.statd&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10673</commentid>
    <comment_count>1</comment_count>
    <who name="Qing He">qing.he</who>
    <bug_when>2010-10-19 18:30:51 +0000</bug_when>
    <thetext>Changing these to rpc.mountd, rpc.nfsd, rpc.statd can eliminate initscript errors. However, nfs still doesn&apos;t work

# exportfs -av
exporting *:/
# mount localhost:/ /mnt
(won&apos;t return here)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10674</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2010-10-19 18:33:54 +0000</bug_when>
    <thetext>You need to make sure that NFSD is enable in the kernel.  Assuming it is, you also need to make sure you have an ethernet device enabled (loopback apparently isn&apos;t enough).

I have been successfully using NFS from my target board once I did those things.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10698</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2010-10-20 02:31:02 +0000</bug_when>
    <thetext>Initscript issue fixed in master in http://git.pokylinux.org/cgit.cgi/poky/commit/?id=5ee6384d9990a7da25a352c308e698d3f3990d6d</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>