udhcp and busybox

Rob Landley rob at landley.net
Tue Mar 28 07:13:31 PST 2006


On Monday 27 March 2006 1:23 pm, Paul Fox wrote:
>  > >  > It first hit me when I was using buildroot - all of busybox worked
>  > >  > right after installing except udhcpc, which had the following
>  > >  > issues:
>  > >  >
>  > >  > 	* it required a script, which isn't installed by buildroot
>  > >
>  > > sounds like a bug in buildroot, no?
>  >
>  > No, it's a bug in the dhcp client for needing it.  If even init can
>  > avoid using /etc/inittab, there's no excuse for dhcp needing a script.
>
> as designed, it needs a config file.  so buildroot needs to
> provide one.  the bug is in buildroot.

Then it's a design bug.  It's still a bug.

>  > My objections were ignored, and now I'm making the problem
>  > _GO_AWAY_.  And the since only way to do that is write a new
>  > one, that's what I'm doing.
>
> that's fine.  for some reason i don't understand, my builds have
> not yet broken.

I'll check it in when I have something that works.

> i'm sure they will, and when they do i'll certainly 
> share your pain.  i agree that linking the trees is a problem.
> i'd actually prefer that busybox not include udhcp at all than to
> link the repositories like that.

My sentiments exactly, but I agree that having a dhcp client and dhcp server 
are useful, so I need to add those to busybox.  (Although dumpleases is 
silly: if the server needs to keep a leases file updated then it should do 
so.  We have ramfs now so you can always have _some_ writeable space.)

> paul

Rob
-- 
Never bet against the cheap plastic solution.


More information about the busybox mailing list