This is trivial to reproduce if you have enough interfaces:
1. Setup a multicore (I used 4 CPU) VM with 12 interfaces.  I experienced 
similar failures with both bonded interfaces and 12 static configs.
2. Add something to boot to detect if the interfaces are correct and then 
reboot. I added to /etc/rc.local:
sleep 60

if [ `ifconfig | grep eth | wc -l` = 12 ]; then
 echo "is equal to 12"
 reboot
else
 echo "Things are broken!!!"
fi
3. Set a terminal to ping the vm every 60 seconds. (ping 192.168.122.95 -i 60)

Eventually the icmp_req will be in sequential order for more than 3
pings. This likely means the script has been tripped and one of the
interfaces didn't come up.

I've also never got it to reproduce with a single core VM.   It can take
500+ reboots to reproduce with 4 interfaces. But with 12 interfaces it
only takes around 5 reboots.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1160490

Title:
  race condition updating statefile

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1160490/+subscriptions

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

Reply via email to