Ubuntu 12.04 if-pre-up script has sometimes infinite loop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ifenslave-2.6 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
My release:
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Version:
Installed: 1.1.0-19ubuntu5
Description:
In the if-pre-up script provided by this package there is a while true loop:
[ ! -f /run/network/
while :; do
if [ -f /run/network/
break
fi
sleep 0.1
done
If the file in question is never created this loop will not exit, and neither will ifup until it is sent to the background and killed (control + c does not break). Maybe there is something wrong happening on my system that never should, but I also feel there shouldn't be the potential for an infinite loop while bringing up network interface. There should either be a timeout or logic to determine why the file is not there.
Thanks,
Carlisle