Bug 4357 - rpc.nfsd error in lsb-sdk images
Summary: rpc.nfsd error in lsb-sdk images
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.5
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard: dylan
Depends on:
Blocks:
 
Reported: 2013-04-19 14:40 UTC by Stoicescu Cornel
Modified: 2013-08-23 13:44 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stoicescu Cornel 2013-04-19 14:40:48 UTC
dylan:789b2b7e0cca404ff8ba8ed5ba823d215e6ba5b4

1) boot any lsb-sdk image (tested: jasperforest, qemux86-64)
2) Notice error in boot log:
creating NFS state directory: done
starting 8 nfsd kernel threads: rpc.nfsd: Unable to access /proc/fs/nfsd errno 2 (No such file or directory).
Please try, as root, 'mount -t nfsd nfsd /proc/fs/nfsd' and then restart rpc.nfsd to correct the problem
done
starting mountd: done
Comment 1 Richard Purdie 2013-04-22 15:18:48 UTC
Have we some issue with missing nfs support from the kernel in some configurations?
Comment 2 Bruce Ashfield 2013-04-22 15:31:37 UTC
If you want the NFS server, the following should be added to the KERNEL_FEATURES
via a bbappend:

  KERNEL_FEATURES_append = " features/nfsd/nfsd-enable.scc"
Comment 3 Saul Wold 2013-05-02 18:24:01 UTC
Split into 2 part, enabling both QEMU Machines and Poky-LSB distros with the KERNEL_FEATURE for 1.4.1, a test will be added for checking the image itself and fail if nfs-server is installed without the KERNEL_FEATURES enabled.
Comment 4 Saul Wold 2013-05-08 18:22:52 UTC
Poky Patch for meta-yocto

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit
/?id=94d31b0b36be389710bfb1c5d7aeacda92efad5b

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=abb69cdfef6feaa445ad98524f9056ae363a3760
Comment 5 Stoicescu Cornel 2013-05-20 13:35:56 UTC
Also present in danny:8450317a6cbcc0b3e5ec00b266608ee1740d906c
Comment 6 Paul Eggleton 2013-06-27 16:24:16 UTC
Merged into dylan (in 1.4.1):

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=79771a0cebcae3d8fed8652f91eb50a605fdec3c

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ed6aeb4861376f65f1fcc0db28ec1aa993c90bb5

The two follow-up patches in master from Bruce were also backported at the same time:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit
/?id=4fe205a18148e7abd48eb4405e3de25267c9fdb2

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit
/?id=1e6b8988cd18bc522bdead63ce9db966f7714927
Comment 7 Stoicescu Cornel 2013-08-23 13:44:25 UTC
Verified in 1.4.2_rc1 (dylan:d734ab491a30078d43dee5440c03acce2d251425)