2017-06-28 16:16:16 |
Sven Mueller |
bug |
|
|
added bug |
2017-08-03 12:53:43 |
Launchpad Janitor |
vlan (Ubuntu): status |
New |
Confirmed |
|
2017-08-03 12:54:20 |
Micah Tomblin |
bug |
|
|
added subscriber Micah Tomblin |
2017-09-20 18:51:48 |
Zach Heilman |
bug |
|
|
added subscriber Zach Heilman |
2018-01-22 17:00:38 |
Joshua Powers |
bug |
|
|
added subscriber Ubuntu Server Team |
2018-01-22 17:00:44 |
Joshua Powers |
vlan (Ubuntu): importance |
Undecided |
High |
|
2018-01-22 17:00:54 |
Joshua Powers |
nominated for series |
|
Ubuntu Trusty |
|
2018-01-22 17:00:54 |
Joshua Powers |
bug task added |
|
vlan (Ubuntu Trusty) |
|
2018-01-22 17:00:59 |
Joshua Powers |
vlan (Ubuntu Trusty): status |
New |
Confirmed |
|
2018-01-22 17:01:01 |
Joshua Powers |
vlan (Ubuntu Trusty): importance |
Undecided |
High |
|
2018-04-05 14:46:51 |
Andreas Hasenack |
bug |
|
|
added subscriber Dan Streetman |
2018-04-10 18:17:55 |
Dan Streetman |
vlan (Ubuntu Trusty): assignee |
|
Dan Streetman (ddstreet) |
|
2018-04-10 18:17:58 |
Dan Streetman |
vlan (Ubuntu Trusty): status |
Confirmed |
In Progress |
|
2018-04-11 10:38:29 |
Dan Streetman |
tags |
|
regression-update sts |
|
2018-04-11 11:15:59 |
Dan Streetman |
vlan (Ubuntu): status |
Confirmed |
In Progress |
|
2018-04-11 11:16:01 |
Dan Streetman |
vlan (Ubuntu): assignee |
|
Dan Streetman (ddstreet) |
|
2018-04-13 12:56:42 |
Dan Streetman |
nominated for series |
|
Ubuntu Artful |
|
2018-04-13 12:56:42 |
Dan Streetman |
bug task added |
|
vlan (Ubuntu Artful) |
|
2018-04-13 12:56:42 |
Dan Streetman |
nominated for series |
|
Ubuntu Bionic |
|
2018-04-13 12:56:42 |
Dan Streetman |
bug task added |
|
vlan (Ubuntu Bionic) |
|
2018-04-13 12:56:42 |
Dan Streetman |
nominated for series |
|
Ubuntu Xenial |
|
2018-04-13 12:56:42 |
Dan Streetman |
bug task added |
|
vlan (Ubuntu Xenial) |
|
2018-04-13 12:56:50 |
Dan Streetman |
vlan (Ubuntu Xenial): status |
New |
In Progress |
|
2018-04-13 12:56:52 |
Dan Streetman |
vlan (Ubuntu Artful): status |
New |
In Progress |
|
2018-04-13 12:56:58 |
Dan Streetman |
vlan (Ubuntu Artful): assignee |
|
Dan Streetman (ddstreet) |
|
2018-04-13 12:56:59 |
Dan Streetman |
vlan (Ubuntu Xenial): assignee |
|
Dan Streetman (ddstreet) |
|
2018-04-13 12:57:02 |
Dan Streetman |
vlan (Ubuntu Xenial): importance |
Undecided |
High |
|
2018-04-13 12:57:04 |
Dan Streetman |
vlan (Ubuntu Artful): importance |
Undecided |
High |
|
2018-04-20 12:58:51 |
Eric Desrochers |
bug |
|
|
added subscriber Eric Desrochers |
2018-04-20 18:36:29 |
Dan Streetman |
bug |
|
|
added subscriber Tom Verdaat |
2018-04-20 20:24:23 |
Dan Streetman |
bug task added |
|
ifupdown (Ubuntu) |
|
2018-04-20 20:24:44 |
Dan Streetman |
ifupdown (Ubuntu Trusty): importance |
Undecided |
Medium |
|
2018-04-20 20:24:44 |
Dan Streetman |
ifupdown (Ubuntu Trusty): status |
New |
In Progress |
|
2018-04-20 20:24:44 |
Dan Streetman |
ifupdown (Ubuntu Trusty): assignee |
|
Dan Streetman (ddstreet) |
|
2018-04-20 20:24:56 |
Dan Streetman |
ifupdown (Ubuntu Xenial): importance |
Undecided |
Medium |
|
2018-04-20 20:24:56 |
Dan Streetman |
ifupdown (Ubuntu Xenial): status |
New |
In Progress |
|
2018-04-20 20:24:56 |
Dan Streetman |
ifupdown (Ubuntu Xenial): assignee |
|
Dan Streetman (ddstreet) |
|
2018-04-20 20:25:08 |
Dan Streetman |
ifupdown (Ubuntu Artful): importance |
Undecided |
Medium |
|
2018-04-20 20:25:08 |
Dan Streetman |
ifupdown (Ubuntu Artful): status |
New |
In Progress |
|
2018-04-20 20:25:08 |
Dan Streetman |
ifupdown (Ubuntu Artful): assignee |
|
Dan Streetman (ddstreet) |
|
2018-04-20 20:25:21 |
Dan Streetman |
ifupdown (Ubuntu Bionic): importance |
Undecided |
Medium |
|
2018-04-20 20:25:21 |
Dan Streetman |
ifupdown (Ubuntu Bionic): status |
New |
In Progress |
|
2018-04-20 20:25:21 |
Dan Streetman |
ifupdown (Ubuntu Bionic): assignee |
|
Dan Streetman (ddstreet) |
|
2018-04-20 21:00:49 |
Dan Streetman |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896433 |
|
2018-04-20 21:00:49 |
Dan Streetman |
bug task added |
|
ifupdown (Debian) |
|
2018-04-20 21:05:02 |
Dan Streetman |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896434 |
|
2018-04-20 21:05:02 |
Dan Streetman |
bug task added |
|
vlan (Debian) |
|
2018-04-20 22:31:23 |
Bug Watch Updater |
ifupdown (Debian): status |
Unknown |
New |
|
2018-04-21 09:33:05 |
Bug Watch Updater |
vlan (Debian): status |
Unknown |
New |
|
2018-04-21 10:53:21 |
Tom Verdaat |
attachment added |
|
Test output for 4 different scenario's https://bugs.launchpad.net/ubuntu/+source/vlan/+bug/1701023/+attachment/5124886/+files/vlan-tests.txt |
|
2018-04-25 08:21:32 |
Bug Watch Updater |
ifupdown (Debian): status |
New |
Fix Released |
|
2018-05-07 15:43:30 |
Dan Streetman |
description |
When upgrading from version 1.9-3ubuntu10.1, a previously working machine can't successfully reboot completely.
ifup is hanging indefinitely, with this process structure (from "pstree -a 1299"):
ifup,1299 -a
└─run-parts,1501 /etc/network/if-pre-up.d
└─bridge,1502 /etc/network/if-pre-up.d/bridge
└─bridge,1508 /etc/network/if-pre-up.d/bridge
└─vlan,1511 /etc/network/if-pre-up.d/vlan
└─ifup,1532 eth0
<begin content of /etc/network/interfaces>
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.10.65
netmask 255.255.255.192
gateway 192.168.10.66
auto eth0.11
address 192.168.11.1
netmask 255.255.255.0
auto br1134
iface br1134 inet manual
bridge_ports eth0.1134
bridge_stp off
bridge_fd 0
<end content of /etc/network/interfaces>
The underlying interface eth0.1134 is not explicitly defined, but was previously auto-created during "ifup -a" execution. This apparently fails now.
Reverting back to the 10.1 version re-establishes old behavior. |
[impact]
in bug 1573272, the vlan pkg was changed to perform a full ifup inside its if-pre-up.d/vlan script. This allowed correct ordering of ifup for a vlan and its raw-device, as previously there was a race condition between them (see that bug for details).
However, this causes hangs during ifup with certain specific configs. The reasons are given starting in comment 13.
The result is a regression for those using the specific ifupdown configs; when they try to reboot and/or ifup -a, it will hang trying to bring up their network, preventing boot from finishing (or hanging before the network is fully configured).
[test case]
upgrade to the latest vlan package and configure the system with an affected ifupdown config, then reboot. The reboot will hang while trying to bring the network up.
see the original description below for an example ifupdown config to reproduce this, although there are other possible configs that will/may trigger this regression.
[regression potential]
The fix for this moves the creation of the vlan(s) corresponding to a physical raw-device 'hotplug' event out of the udev processing path for the raw-device, and into an ifup post script for the raw-device ifup. If this is not done correctly, then any interfaces that are hotplugged, and have vlans configured on them, may fail to correctly create/configure their vlan(s).
This change does remove the direct call to ifup from the if-pre-up.d (or if-up.d) scripts, so there should not be any regression potential for more ifup deadlocks.
[other info]
this required both ifupdown and vlan to be patched. vlan was patched to remove the problematic call to ifup from the vlan pre-up script, and add a call to create the vlan interface(s) from a new post-up script, as well as adding a parameter to vlan-network-interface script to handle the call from udev itself differently than a call from elsewhere (such as the if-up.d/vlan script). this works for bootup and ifup/ifup -a, but fails for device hotplug because of a bug in ifupdown that prevents calling ifquery from an ifup script; that has been patched upstream already, and is the only ifupdown change needed here.
[original description]
When upgrading from version 1.9-3ubuntu10.1, a previously working machine can't successfully reboot completely.
ifup is hanging indefinitely, with this process structure (from "pstree -a 1299"):
ifup,1299 -a
└─run-parts,1501 /etc/network/if-pre-up.d
└─bridge,1502 /etc/network/if-pre-up.d/bridge
└─bridge,1508 /etc/network/if-pre-up.d/bridge
└─vlan,1511 /etc/network/if-pre-up.d/vlan
└─ifup,1532 eth0
<begin content of /etc/network/interfaces>
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.10.65
netmask 255.255.255.192
gateway 192.168.10.66
auto eth0.11
address 192.168.11.1
netmask 255.255.255.0
auto br1134
iface br1134 inet manual
bridge_ports eth0.1134
bridge_stp off
bridge_fd 0
<end content of /etc/network/interfaces>
The underlying interface eth0.1134 is not explicitly defined, but was previously auto-created during "ifup -a" execution. This apparently fails now.
Reverting back to the 10.1 version re-establishes old behavior. |
|
2018-05-07 16:09:51 |
Łukasz Zemczak |
vlan (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2018-05-07 16:09:56 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2018-05-07 16:10:00 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2018-05-07 16:10:12 |
Łukasz Zemczak |
tags |
regression-update sts |
regression-update sts verification-needed verification-needed-bionic |
|
2018-05-07 16:13:16 |
Łukasz Zemczak |
ifupdown (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2018-05-10 14:11:35 |
Łukasz Zemczak |
vlan (Ubuntu Artful): status |
In Progress |
Fix Committed |
|
2018-05-10 14:11:43 |
Łukasz Zemczak |
tags |
regression-update sts verification-needed verification-needed-bionic |
regression-update sts verification-needed verification-needed-artful verification-needed-bionic |
|
2018-05-10 14:16:55 |
Łukasz Zemczak |
ifupdown (Ubuntu Artful): status |
In Progress |
Fix Committed |
|
2018-05-10 14:18:19 |
Łukasz Zemczak |
vlan (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2018-05-10 14:18:26 |
Łukasz Zemczak |
tags |
regression-update sts verification-needed verification-needed-artful verification-needed-bionic |
regression-update sts verification-needed verification-needed-artful verification-needed-bionic verification-needed-xenial |
|
2018-05-10 14:20:37 |
Łukasz Zemczak |
ifupdown (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2018-05-10 14:22:31 |
Łukasz Zemczak |
vlan (Ubuntu Trusty): status |
In Progress |
Fix Committed |
|
2018-05-10 14:22:39 |
Łukasz Zemczak |
tags |
regression-update sts verification-needed verification-needed-artful verification-needed-bionic verification-needed-xenial |
regression-update sts verification-needed verification-needed-artful verification-needed-bionic verification-needed-trusty verification-needed-xenial |
|
2018-05-10 15:03:46 |
Łukasz Zemczak |
ifupdown (Ubuntu Trusty): status |
In Progress |
Fix Committed |
|
2018-05-15 18:16:20 |
Launchpad Janitor |
vlan (Ubuntu): status |
In Progress |
Fix Released |
|
2018-05-17 20:47:16 |
Dan Streetman |
tags |
regression-update sts verification-needed verification-needed-artful verification-needed-bionic verification-needed-trusty verification-needed-xenial |
regression-update sts verification-done-bionic verification-needed verification-needed-artful verification-needed-trusty verification-needed-xenial |
|
2018-05-17 20:54:02 |
Dan Streetman |
tags |
regression-update sts verification-done-bionic verification-needed verification-needed-artful verification-needed-trusty verification-needed-xenial |
regression-update sts verification-done-artful verification-done-bionic verification-needed verification-needed-trusty verification-needed-xenial |
|
2018-05-17 20:59:44 |
Dan Streetman |
tags |
regression-update sts verification-done-artful verification-done-bionic verification-needed verification-needed-trusty verification-needed-xenial |
regression-update sts verification-done-artful verification-done-bionic verification-done-xenial verification-needed verification-needed-trusty |
|
2018-05-18 20:49:44 |
Dan Streetman |
tags |
regression-update sts verification-done-artful verification-done-bionic verification-done-xenial verification-needed verification-needed-trusty |
regression-update sts verification-done verification-done-artful verification-done-bionic verification-done-trusty verification-done-xenial |
|
2018-05-24 07:21:43 |
Launchpad Janitor |
vlan (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2018-05-24 07:21:47 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2018-05-24 07:21:50 |
Launchpad Janitor |
ifupdown (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2018-05-24 07:44:00 |
Launchpad Janitor |
vlan (Ubuntu Artful): status |
Fix Committed |
Fix Released |
|
2018-05-24 07:44:07 |
Launchpad Janitor |
ifupdown (Ubuntu Artful): status |
Fix Committed |
Fix Released |
|
2018-05-24 07:46:33 |
Launchpad Janitor |
vlan (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2018-05-24 07:46:37 |
Launchpad Janitor |
ifupdown (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2018-05-24 07:47:27 |
Launchpad Janitor |
vlan (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2018-05-24 07:47:31 |
Launchpad Janitor |
ifupdown (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2018-05-25 16:17:55 |
Dan Streetman |
ifupdown (Ubuntu): status |
In Progress |
Fix Released |
|
2020-07-14 15:39:37 |
Dan Streetman |
tags |
regression-update sts verification-done verification-done-artful verification-done-bionic verification-done-trusty verification-done-xenial |
regression-update verification-done verification-done-artful verification-done-bionic verification-done-trusty verification-done-xenial |
|