For testcase 3, from this bug, I'm able to reproduce it on trusty using vlan 1.9-3ubuntu10.5, and using the pkg from my ppa it is fixed.
I'm not able to reproduce testcase 3 in xenial or later, so there is nothing to verify re: testcase 3 (this bug's reported error) in X/A/B. However, my redesign should still go into those, as calling ifup from the if-pre-up.d/vlan script is not good - there are unfortunately too many places that call that script (not just a direct call from ifupdown, unfortunately), and calling ifup from there will cause more problems later. Creating the vlan interface (if needed) in the raw-device post-up is the correct time to do it.
I'm going to open a bug for the ifupdown ifquery 'recursive' error described in comment 19, create a patch for that, and then start SRUing this change.
For testcase 3, from this bug, I'm able to reproduce it on trusty using vlan 1.9-3ubuntu10.5, and using the pkg from my ppa it is fixed.
I'm not able to reproduce testcase 3 in xenial or later, so there is nothing to verify re: testcase 3 (this bug's reported error) in X/A/B. However, my redesign should still go into those, as calling ifup from the if-pre-up.d/vlan script is not good - there are unfortunately too many places that call that script (not just a direct call from ifupdown, unfortunately), and calling ifup from there will cause more problems later. Creating the vlan interface (if needed) in the raw-device post-up is the correct time to do it.
I'm going to open a bug for the ifupdown ifquery 'recursive' error described in comment 19, create a patch for that, and then start SRUing this change.