[BusyBox] udhp/dhcpd.c (lost/rejected) patch
Russ Dill
Russ.Dill at asu.edu
Sat Dec 18 08:54:59 UTC 2004
> > Have you run into instances of udhcpd crashing?
> >
>
> No, I have not.
>
> How I came across this was that I blindly added udhcp
> to inittab with the respawn action. I observed that
> init was logging respawn too fast messages to syslog
> for udhcpd. I then looked at the code and saw that
> udhcpd called daemon(). I then discovered the
> foreground patch by 'vda'. I thought about not using
> this patch and going with the wait or once inittab
> actions but other BusyBox utilities (e.g. syslogd,
> klogd) have foreground options. Thus, I decided to
> try the patch. I've been running with the patch for
> several weeks without issue. At this point I decided
> to repost vda's patch.
>
> Even though I've never observed udhcpd crashing, this
> patch affords the comfort of knowing that init will
> respawn udhcpd if this unlikely event does occur.
>
> Regards,
> ...doug
Wouldn't it just be much easier then to start udhcpd from an init.d
style script?
More information about the busybox
mailing list