All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla@busybox.net
To: buildroot@uclibc.org
Subject: [Buildroot] [Bug 14346] New: BR2_PACKAGE_NFS_UTILS_RPC_NFSD does not patch CONFIG_NFSD in kernel configuration
Date: Tue, 16 Nov 2021 01:06:44 +0000	[thread overview]
Message-ID: <bug-14346-163@https.bugs.busybox.net/> (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: unassigned@buildroot.uclibc.org
          Reporter: mateusz.dukat1@gmail.com
                CC: buildroot@uclibc.org
  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:

> 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:

> CONFIG_NFSD=y

Then, in buildroot config, modify BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES to:

> BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="kernel_patch.txt"

And finally build new image.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

             reply	other threads:[~2021-11-16  1:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-16  1:06 bugzilla [this message]
2021-11-21 10:33 ` [Buildroot] [Bug 14346] BR2_PACKAGE_NFS_UTILS_RPC_NFSD does not patch CONFIG_NFSD in kernel configuration bugzilla
2024-06-15 15:00 ` bugzilla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-14346-163@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --cc=buildroot@uclibc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.