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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1514009

Title:
  Ubuntu 12.04 if-pre-up script has sometimes infinite loop

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/1514009/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to