Skip to contentSkip to conversation

New: BR2_PACKAGE_NFS_UTILS_RPC_NFSD does not patch CONFIG_NFSD in kernel configuration

Buildroot [email protected] 1 participant 3 messages Nov 16, 2021 – Jun 15, 2024

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=14346

Bug ID: 14346
Summary: BR2_PACKAGE_NFS_UTILS_RPC_NFSD does not patch
CONFIG_NFSD in kernel configuration
Product: buildroot
Version: 2021.02.7
Hardware: PC
OS: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---

Overview:

Setting BR2_PACKAGE_NFS_UTILS_RPC_NFSD to 'y' does not patch CONFIG_NFSD in Linux kernel configuration.

Steps to reproduce:

1) Build buildroot for i386, with kernel defconfig, and buildroot config values:
BR2_PACKAGE_NFS_UTILS_RPC_NFSD=y
2) Run image on any machine/vm

Actual results:

When booting buildroot built like that, it immediately throws:

Quoted 3 lines

Starting NFS daemon: 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 FAIL

Expected results:

NFS server starts correctly.

Build date and hardware:

Buildroot tag 2021.02.7 built on 16.11.2021 on Thinkpad X131e (intel) \w Ubuntu server 20.04 LTS

Additional information:

To manually fix this problem, create text file in buildroot root directory named "kernel_patch.txt" with value:

Quoted 1 line

CONFIG_NFSD=y

Then, in buildroot config, modify BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES to:

Quoted 1 line

BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="kernel_patch.txt"

And finally build new image.

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

[Buildroot] [Bug 14346] BR2_PACKAGE_NFS_UTILS_RPC_NFSD does not patch CONFIG_NFSD in kernel configuration

https://bugs.busybox.net/show_bug.cgi?id=14346

--- Comment #1 from Fabrice Fontaine <[email protected]> --- Can you confirm that the following patch fix your issue:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

[Buildroot] [Bug 14346] BR2_PACKAGE_NFS_UTILS_RPC_NFSD does not patch CONFIG_NFSD in kernel configuration

In reply to [email protected]

https://bugs.busybox.net/show_bug.cgi?id=14346

Yann E. MORIN <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]

--- Comment #2 from Yann E. MORIN <[email protected]> --- Thank you for your report.

The issue tracker for the Buildroot project has been moved to the Gitlab.com issue tracker:
https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old tracker. If you believe your issue is still relevant, please open one in the new issue tracker.

Thank you!

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot