Project

General

Profile

Actions

Bug #269

closed

udhcpc default.script errors

Added by Hammel almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Category:
04 - Root File System
Target version:
Start date:
02 Feb 2014
Due date:
% Done:

100%

Estimated time:
Severity:
01 - Critical

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.

Actions #1

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.

Actions #2

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.

Actions

Also available in: Atom PDF