Maybe this is easier to read.

root@xnox-iad-nr5:~# journalctl -o short-monotonic -u [email protected]
-- Logs begin at Tue 2017-05-09 10:57:18 UTC, end at Tue 2017-05-09 15:22:34 
UTC. --
[    6.740201] xnox-iad-nr5 systemd[1]: Started ifup for bond0.
[    6.750333] xnox-iad-nr5 sh[1184]: Waiting for a slave to join bond0 (will 
timeout after 60s)
[    6.987241] xnox-iad-nr5 sh[1184]: ifquery: recursion detected for interface 
bond0 in pre-up phase
[    6.987341] xnox-iad-nr5 sh[1184]: ifquery: recursion detected for parent 
interface bond0 in pre-up phase
[    6.987425] xnox-iad-nr5 sh[1184]: ifquery: recursion detected for parent 
interface bond0 in pre-up phase
root@xnox-iad-nr5:~# journalctl -o short-monotonic -u [email protected]
-- Logs begin at Tue 2017-05-09 10:57:18 UTC, end at Tue 2017-05-09 15:22:34 
UTC. --
[    6.755723] xnox-iad-nr5 systemd[1]: Started ifup for bond0.101.
[    6.757056] xnox-iad-nr5 sh[1286]: ifup: waiting for lock on 
/run/network/ifstate.bond0
[    7.227572] xnox-iad-nr5 sh[1286]: Set name-type for VLAN subsystem. Should 
be visible in /proc/net/vlan/config
root@xnox-iad-nr5:~# journalctl -o short-monotonic -u [email protected]
-- Logs begin at Tue 2017-05-09 10:57:18 UTC, end at Tue 2017-05-09 15:22:34 
UTC. --
[    6.760568] xnox-iad-nr5 systemd[1]: Started ifup for bond0.401.
[    6.761920] xnox-iad-nr5 sh[1290]: ifup: waiting for lock on 
/run/network/ifstate.bond0
[    7.197983] xnox-iad-nr5 sh[1290]: Set name-type for VLAN subsystem. Should 
be visible in /proc/net/vlan/config
root@xnox-iad-nr5:~# journalctl -o short-monotonic -u networking.service
-- Logs begin at Tue 2017-05-09 10:57:18 UTC, end at Tue 2017-05-09 15:22:34 
UTC. --
[    6.645323] xnox-iad-nr5 systemd[1]: Starting Raise network interfaces...
[    6.692530] xnox-iad-nr5 ifup[992]: Waiting for bonding kernel module to be 
ready (will timeout after 5s)
[    6.693104] xnox-iad-nr5 ifup[992]: Waiting for bond master bond0 to be ready
[    7.221867] xnox-iad-nr5 ifup[992]: /sbin/ifup: waiting for lock on 
/run/network/ifstate.bond0
[    7.263179] xnox-iad-nr5 systemd[1]: Started Raise network interfaces.


Note that networking, [email protected], and [email protected] all hit locks that are 
held by bond0.
Note that [email protected] beats networking.service to acquire the lock.
And that netwokring.service is blocked until after ifup@bond0.*01 vlans release 
the locks.

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

Title:
  ifup -a does not start dependants last, causes deadlocks with
  vlans/bonding

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

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

Reply via email to