Bug #269
closedudhcpc default.script errors
100%
Description
On boot with latest 2013.11 rootfs, I get these messages:
/usr/share/udhcpc/default.script: line 64: mktemp: not found /usr/share/udhcpc/default.script: line 64: can't create : nonexistent directory
The system hangs after this. The error seems to occur after I've manually configured the network through bui-network-config.
mktemp (under Debian Utilities) is not configured in Busybox 1.21.1. It was also not configured in 1.20.1 (the previous config used with Buildroot 2013.02). I don't know if I had this problem before the switch to the latest Busybox or not. The fix is to compile busybox with mktemp and replace it on the target, then see what happens.
Updated by Hammel almost 11 years ago
- % Done changed from 0 to 50
Enabling mktemp in the Busybox config seems to fix the problem. A symlink must be created from busybox to /bin/mktemp, but the busybox build does this so it should just happen automatically in the buildroot rebuild.
Need to update the config and rebuild the rootfs, then test it once more before pushing upstream.
Updated by Hammel almost 11 years ago
- Status changed from New to Closed
- % Done changed from 50 to 100
Tested on target: Adding mktemp to Busybox build fixes this issue.
Closing issue.