[Bug 1756846] Re: bridge-utils incompatible with ifupdown on bionic
Andreas Hasenack
andreas at canonical.com
Wed Mar 21 21:25:22 UTC 2018
That conflicts was updated in this Debian change:
diff --git a/debian/changelog b/debian/changelog
index 845b518..ecc3f29 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+bridge-utils (1.5-12) unstable; urgency=medium
+
+ * Add vlan support so that old setups using vlans as ports don't break.
+
+ -- Santiago Garcia Mantinan <manty at debian.org> Sun, 22 Jan 2017 00:23:50 +0100
+
bridge-utils (1.5-11) unstable; urgency=low
* Change /etc/default/bridge-utils to enable addition of hotplugged
diff --git a/debian/control b/debian/control
index c9b33ed..2b21fee 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,7 @@ Architecture: linux-any
Multi-Arch: foreign
Depends: ${shlibs:Depends}, ${misc:Depends}
Suggests: ifupdown
-Conflicts: ifupdown (<< 0.6.0)
+Conflicts: ifupdown (<< 0.8.17)
Description: Utilities for configuring the Linux Ethernet bridge
This package contains utilities for configuring the Linux Ethernet
bridge in Linux. The Linux Ethernet bridge can be used for connecting
diff --git a/debian/ifupdown.sh b/debian/ifupdown.sh
index 95dac90..517f084 100644
--- a/debian/ifupdown.sh
+++ b/debian/ifupdown.sh
@@ -66,6 +66,7 @@ do
do
# We attach and configure each port of the bridge
if [ "$MODE" = "start" ] && [ ! -d /sys/class/net/$IFACE/brif/$port ]; then
+ create_vlan_port
if [ "$IF_BRIDGE_HW" ]
then
KVER="$(uname -r)"
@@ -84,7 +85,7 @@ do
brctl addif $IFACE $port && ip link set dev $port up
# We detach each port of the bridge
elif [ "$MODE" = "stop" ] && [ -d /sys/class/net/$IFACE/brif/$port ]; then
- ip link set dev $port down && brctl delif $IFACE $port && \
+ ip link set dev $port down && brctl delif $IFACE $port && destroy_vlan_port
if [ -f /proc/sys/net/ipv6/conf/$port/disable_ipv6 ]
then
echo 0 > /proc/sys/net/ipv6/conf/$port/disable_ipv6
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bridge-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1756846
Title:
bridge-utils incompatible with ifupdown on bionic
Status in bridge-utils package in Ubuntu:
Confirmed
Bug description:
$ apt-cache policy ifupdown bridge-utils
ifupdown:
Installed: (none)
Candidate: 0.8.16ubuntu2
Version table:
0.8.16ubuntu2 500
500 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
100 /var/lib/dpkg/status
bridge-utils:
Installed: 1.5-15ubuntu1
Candidate: 1.5-15ubuntu1
Version table:
*** 1.5-15ubuntu1 500
500 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
100 /var/lib/dpkg/status
$ sudo apt-get install ifupdown
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
rdnssd
The following packages will be REMOVED
bridge-utils
The following NEW packages will be installed
ifupdown
0 to upgrade, 1 to newly install, 1 to remove and 0 not to upgrade.
Need to get 55.2 kB of archives.
After this operation, 119 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 ifupdown amd64 0.8.16ubuntu2 [55.2 kB]
Fetched 55.2 kB in 0s (1,280 kB/s)
(Reading database ... 251311 files and directories currently installed.)
Removing bridge-utils (1.5-15ubuntu1) ...
Selecting previously unselected package ifupdown.
(Reading database ... 251286 files and directories currently installed.)
Preparing to unpack .../ifupdown_0.8.16ubuntu2_amd64.deb ...
Unpacking ifupdown (0.8.16ubuntu2) ...
Setting up ifupdown (0.8.16ubuntu2) ...
Processing triggers for ureadahead (0.100.0-20) ...
ureadahead will be reprofiled on next reboot
Processing triggers for systemd (237-3ubuntu4) ...
Processing triggers for man-db (2.8.2-1) ...
$ sudo apt-get install bridge-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
ifupdown
The following packages will be REMOVED
ifupdown
The following NEW packages will be installed
bridge-utils
0 to upgrade, 1 to newly install, 1 to remove and 0 not to upgrade.
Need to get 0 B/30.1 kB of archives.
After this operation, 119 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 251318 files and directories currently installed.)
Removing ifupdown (0.8.16ubuntu2) ...
Selecting previously unselected package bridge-utils.
(Reading database ... 251286 files and directories currently installed.)
Preparing to unpack .../bridge-utils_1.5-15ubuntu1_amd64.deb ...
Unpacking bridge-utils (1.5-15ubuntu1) ...
Setting up bridge-utils (1.5-15ubuntu1) ...
Processing triggers for man-db (2.8.2-1) ...
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bridge-utils/+bug/1756846/+subscriptions
More information about the foundations-bugs
mailing list