[Bug 1514009] [NEW] Ubuntu 12.04 if-pre-up script has sometimes infinite loop
Carlisle
c.huson at gmail.com
Sat Nov 7 01:12:50 UTC 2015
Public bug reported:
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/ifenslave.$BOND_MASTER ] && echo "Waiting for bond master $BOND_MASTER to be ready"
while :; do
if [ -f /run/network/ifenslave.$BOND_MASTER ]; then
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
** Affects: ifenslave-2.6 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifenslave-2.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1514009
Title:
Ubuntu 12.04 if-pre-up script has sometimes infinite loop
Status in ifenslave-2.6 package in Ubuntu:
New
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/ifenslave.$BOND_MASTER ] && echo "Waiting for bond master $BOND_MASTER to be ready"
while :; do
if [ -f /run/network/ifenslave.$BOND_MASTER ]; then
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/1514009/+subscriptions
More information about the foundations-bugs
mailing list