[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#779609: udhcpd is not started if apptemted to start in the boot process



Hi Michael,

Michael Kockmeyer <Michael.kockmeyer@rwth-aachen.de> (2015-03-03):
> Package: udhcpd
> Version: 1:1.20.0-7
> 
> 
> udhcpd does not start up at boot time. Even if "/etc/init.d/udhcpd\
>  start" is called. There is no error message, but it simply
> does not start up. Adding "/etc/init.d/udhcpd start" (or restart)
> to /etc/rc.local does not fix it. Logging in as root and calling
> "udhcpd restart" manually gives a message that no running
> instance was found, however it works just fine after that.
> 
> A elaborate way to reproduce this bug is to add "/etc/init.d/udhcpd\
>  restart" to /etc/init.d/udhcpd itself after line 38, so it restarts
> itself right after it was started, (this obviously introduces a boot
> loop). I get a endless loop of "Stopping very small Busybox based \
> DHCP server: No /usr/sbin/udhcpd found running; none killed".

udhcpd comes with a /etc/default/udhcpd file:
| # Comment the following line to enable
| DHCPD_ENABLED="no"
| 
| # Options to pass to busybox' udhcpd.
| #
| # -S    Log to syslog
| # -f    run in foreground
| 
| DHCPD_OPTS="-S"

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: