[#5372] Job control in non-interactive hush broken
Submitted By: Ben Matthews
Open Date
2009-07-17 15:27:54 Close Date
2009-09-03 07:25:29
Priority:
Medium Assignee:
Mike Frysinger
Status:
Closed Fixed In Release:
N/A
Found In Release:
snaps Release:
Trunk
Category:
uClinux-dist applications Board:
Custom
Processor:
BF532 Silicon Revision:
.5
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
2008.10-dirty (Jan 16 2009) Toolchain version or rev.:
Trunk as of Jun22 2009
App binary format:
FLAT
Summary: Job control in non-interactive hush broken
Details:
If I uncomment "dhcpcd &" in uclinux-dist/romfs/etc/rc (line 81) and have hush set to be the default shell, the board hangs on boot. Before the board hangs I do see the printk indicating that the interface has come up, so I'm guessing that dhcpcd is working fine but that the shell isn't putting it in the background correctly
If I switch to msh and do the same, the board boots fine and gets an IP address.
Hush job control seems fine on the command line but doesn't work in the start scripts.
I'm using a BlackStamp (Rev. C) and
uClinux-dist 10492596afb1aa0e438cd26166d429cdc17e24c7 (latest as of today)
Follow-ups
--- Mike Frysinger 2009-07-22 05:12:55
seems to happen when an external app is run after the background process:
#!/bin/sh
echo a
sleep 60 &
ls -d /
echo b
this will hang after the execution of `ls` until the background process
returns
latest busybox seems to work fine though so i'll have to run a bisect to find
the commit that fixed things
--- Mike Frysinger 2009-07-22 05:20:10
ok, was simple to find. added to our svn trunk.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found