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

bugzilla at busybox.net bugzilla at busybox.net
Thu Feb 23 00:28:14 UTC 2012


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

--- Comment #1 from Denys Vlasenko <vda.linux at googlemail.com> 2012-02-23 00:28:13 UTC ---
(In reply to comment #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

What do you propose?

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