[Initng] Bug in udhcpc

Thomas Ilnseher illth at gmx.de
Mon Mar 19 00:06:32 CET 2007


I'm using udhcpc for dhcp. there is a bug:

/lib/initng/scripts/net/udhcpc-wrapper is called by the udhcpc deamon.

this relys on the environment vairable INITNG_PLUGIN_DIR to be set.

BUT: udhcpc does not pass it's own environment over to the script it
calls, it rather creates a completly new environment. therefore, the
script will fail.

A solution is to add 
export INITNG_PLUGIN_DIR=/lib/initng 
to the script in question.





More information about the Initng mailing list