default gateway route not installed for bond interfaces through reboot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vlan (Debian) |
New
|
Unknown
|
|||
vlan (Ubuntu) |
Fix Released
|
Medium
|
Dan Streetman | ||
Trusty |
Fix Released
|
Medium
|
Dan Streetman | ||
Xenial |
Fix Released
|
Medium
|
Dan Streetman | ||
Yakkety |
Fix Released
|
Medium
|
Dan Streetman | ||
Zesty |
Fix Released
|
Medium
|
Dan Streetman | ||
Artful |
Fix Released
|
Medium
|
Dan Streetman |
Bug Description
[Impact]
Systems using vlans, especially those using vlans on top of bond interfaces, in addition to default or other routes on the vlans, may find their vlan routes are not present at boot.
The attached debdiff patches fix the vlan package's /etc/network/
[Test Case]
Set up a system using two interfaces configured into a bond interface, with a vlan on top of that bond. Add a default route and/or specific routes to the vlan interface. Then edit the system as described in comment 8, and reboot. The vlan's routes will not be present in the system.
[Regression Potential]
Any modifications to ifupdown or the scripts it uses may cause wider problems with network configuration. Specifically, this could cause problems when using vlan interfaces, as it forces every vlan's raw device interface to be fully ifup'ed before the vlan interface can finish its ifup.
[Other Info]
original description below:
Expectation: After reboot, route for default gateway specified on bonded interface is installed according to "gateway x.x.x.x" (where x.x.x.x is a valid IPv4 address) specified in /etc/network/
Actual Result: After reboot, route is not installed. Interface does work otherwise (I can ping the gateway on that subnet, for instance). 'ifdown -a' followed by 'ifup -a' (run with proper permission... so sudo) brings the gateway back until next reboot.
Package: I'm not familiar enough to be certain what is causing this, but I was seeing this in beta2 of 16.04 as well.
*username snipped*@*hostname snipped*:~$ lsb_release -rd
Description: Ubuntu 16.04 LTS
Release: 16.04
*username snipped*@*hostname snipped*:~$ apt-cache policy ifenslave
ifenslave:
Installed: 2.7ubuntu1
Candidate: 2.7ubuntu1
Version table:
*** 2.7ubuntu1 100
100 /var/lib/
*username snipped*@*hostname snipped*:~$ apt-cache policy ifupdown
ifupdown:
Installed: 0.8.10ubuntu1
Candidate: 0.8.10ubuntu1
Version table:
*** 0.8.10ubuntu1 100
100 /var/lib/
/
-------
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto enp2s0f1
iface enp2s0f1 inet manual
bond-master bond0
auto enp2s0f0
iface enp2s0f0 inet manual
bond-master bond0
auto bond0
iface bond0 inet static
address 10.96.96.2
netmask 255.255.255.0
network 10.96.96.0
broadcast 10.96.96.255
# dns-* options are implemented by the resolvconf package, if installed
dns-search *snip*
bond-mode balance-alb
bond-slaves none
bond-miimon 100
auto bond0.3000
iface bond0.3000 inet static
address 172.21.33.29
netmask 255.255.255.0
network 172.21.33.0
broadcast 172.21.33.255
gateway 172.21.33.1
dns-search *snip*
-------
interfaces.d is empty:
*username snipped*@*hostname snipped*:~$ ls -lisah /etc/network/
total 8.0K
10748247 4.0K drwxr-xr-x 2 root root 4.0K Jan 24 14:08 .
10748237 4.0K drwxr-xr-x 7 root root 4.0K Apr 21 17:32 ..
tags: | added: xenial |
affects: | ubuntu → ifupdown (Ubuntu) |
Changed in ifupdown (Ubuntu): | |
importance: | Undecided → High |
description: | updated |
no longer affects: | ifupdown (Ubuntu) |
Changed in vlan (Ubuntu): | |
importance: | High → Medium |
Changed in vlan (Debian): | |
status: | Unknown → New |
tags: |
added: sts-sru-needed removed: sts-sponsor |
tags: |
added: sts-sru-done removed: patch sts-sru-needed |
Changed in vlan (Ubuntu Zesty): | |
assignee: | nobody → Dan Streetman (ddstreet) |
Changed in vlan (Ubuntu Yakkety): | |
assignee: | nobody → Dan Streetman (ddstreet) |
Changed in vlan (Ubuntu Xenial): | |
assignee: | nobody → Dan Streetman (ddstreet) |
Changed in vlan (Ubuntu Trusty): | |
assignee: | nobody → Dan Streetman (ddstreet) |
status: | New → In Progress |
Changed in vlan (Ubuntu Xenial): | |
status: | New → In Progress |
Changed in vlan (Ubuntu Yakkety): | |
status: | New → In Progress |
Changed in vlan (Ubuntu Zesty): | |
status: | New → In Progress |
Changed in vlan (Ubuntu Trusty): | |
importance: | Undecided → Medium |
Changed in vlan (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Changed in vlan (Ubuntu Zesty): | |
importance: | Undecided → Medium |
Changed in vlan (Ubuntu Yakkety): | |
importance: | Undecided → Medium |
Changed in vlan (Ubuntu Artful): | |
status: | Fix Released → New |
tags: |
added: sts-sru-needed removed: sts-sru-done |
tags: |
added: verification-needed-trusty removed: verification-needed |
Changed in vlan (Ubuntu Trusty): | |
status: | Fix Committed → In Progress |
tags: |
added: verification-failed-trusty removed: verification-needed-trusty |
tags: | removed: verification-done-artful |
tags: | added: verification-done-artful |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1573272/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]