Skip to contentSkip to conversation

Running udhcpc on a system with NFS root kills NFS

Buildroot bugzilla at busybox.net 1 participant 6 messages Mar 13, 2012 – Nov 18, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw

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

Aaron Opfer <[email protected]> changed:

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

                 CC|                            |buildroot at uclibc.org
          Component|Networking                  |Other
            Version|1.19.x                      |2011.11
         AssignedTo|unassigned at busybox.net      |unassigned at buildroot.uclibc
                   |                            |.org
            Product|Busybox                     |buildroot
   Target Milestone|---                         |2011.11
Signature · 3 lines
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.
#2 lore raw
In reply to a message not in the archive

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

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at buildroot.uclibc |jacmet at uclibc.org
|.org |

--- Comment #4 from Thomas Petazzoni <[email protected]> 2013-11-14 00:21:54 UTC --- Peter, what should we do about this one?

Signature · 3 lines
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.
#3 lore raw
In reply to a message not in the archive

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

--- Comment #5 from Thomas De Schampheleire <[email protected]> 2014-05-06 07:01:01 UTC --- Peter, all,

What to do with this patch?
In commit 8432d81a849efca1d95ab0bd1324afd96bbdd804, changing buildroot's udhcp.script file, Peter wrote:

http://git.buildroot.org/buildroot/commit/?id=8432d81a849efca1d95ab0bd1324afd96bbdd804

"Systems might have multiple network devices, and perhaps run udhcpc on another interface even when booted over nfs, so don't disable the per-interface deconfig based on the global nfsroot= setting on the kernel command line.

If you don't want udhcpc to mess with kernel level IP autoconfiguration (E.G. for nfs boot), you should instead ensure udhcpc/ifup/ifplugd isn't started for that interface."

In that commit, an existing check for NFS boot was removed.
This bug basically requests such a check to be added again, but as mentioned in the above commit message may not be desirable in all cases.

According to me, we should close this bug in 2014.05 (it has been open for more than 2 years).
1. Either we stand with the commit mentioned above, and do not try to be too smart. The user that does use NFS can use a rootfs-overlay or other mechanisms to provide a custom configuration. We may want to describe this situation in the manual to help unaware users.

2. Or we adapt the script based on the request in this bug, and let those NFS users that do not use udhcpc on the NFS interface (but on others) use a rootfs overlay.

One could argue that the simplest case (one network interface with NFS + dhcp) is more common than the other ones, so alternative 2 is preferred to help most users. Those developers that have a more complex setup, hopefully understand the behavior of the system better to be able to tweak the script.

Another alternative is:
3. We add a config switch in the script that does one thing or the other, the user can set this switch before the script is run, defaulting to one or the other.

Input more than welcome,
Thanks, Thomas

Signature · 3 lines
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.
#4 lore raw
In reply to a message not in the archive

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

Thomas De Schampheleire <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|2011.11 |2014.05

Signature · 3 lines
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.
#5 lore raw
In reply to a message not in the archive

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

Thomas De Schampheleire <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|2014.05 |2014.11

Signature · 3 lines
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.
#6 lore raw
In reply to a message not in the archive

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

Thomas Petazzoni <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Thomas Petazzoni <[email protected]> 2015-11-18 21:17:07 UTC --- Fixed by
http://git.buildroot.net/buildroot/commit/?h=next&id=71c75a5ea0e62786d279ef1609f23732bde5acc3.
Will be part of 2016.02.

Signature · 3 lines
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.