Bug #269

udhcpc default.script errors

Added by Hammel over 7 years ago. Updated over 7 years ago.

Status:ClosedStart date:02 Feb 2014
Priority:ImmediateDue date:
Assignee:Hammel% Done:


Category:04 - Root File System
Target version:0.8.0
Severity:01 - Critical


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.

Associated revisions

Revision a43d7a3f
Added by Hammel over 7 years ago

RM #235, RM #269: Bump Busybox to 1.21.1, with mktemp added.


#1 Updated by Hammel over 7 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.

#2 Updated by Hammel over 7 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.

Also available in: Atom PDF