[Bug 4790] New: Running udhcpc on a system with NFS root kills NFS

bugzilla at busybox.net bugzilla at busybox.net
Wed Feb 22 18:09:45 UTC 2012


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

           Summary: Running udhcpc on a system with NFS root kills NFS
           Product: Busybox
           Version: 1.19.x
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Networking
        AssignedTo: unassigned at busybox.net
        ReportedBy: aopfer at bennett-electric.com
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


If this belongs in Buildroot instead of Busybox, apologies. I'm not sure if
this configuration is automatic from busybox or from buildroot.

I'm running a system that uses an NFS root filesystem from a kernel autoconfig.
The kernel autoconfig however does not retrieve options for DNS however, which
is why I'm using udhcpc to fetch them.

The file in question appears on my buildroot in this location:
/usr/share/udhcpc/default.script

When udhcpc runs, this script deconfigures the interface before getting a
lease. When this happens, the NFS root becomes unreachable (so the system is
basically gone), and even when udhcpc gets the lease successfully, all of its
support scripts are no longer available and the system becomes unusable.

By commenting out the "deconfigure" line, my udhcpc works correctly.

It looks like there is a patch for this issue written for another project:
http://dev.openaos.org/browser/trunk/openembedded/build/openaos/recipes/busybox/busybox-1.13.2/udhcpc-fix-nfsroot.patch

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list