Discussion:
Processed: #873086 ifupdown script disables IPv6 on parent of VLAN interface
(too old to reply)
Debian Bug Tracking System
2018-02-27 13:50:02 UTC
Permalink
tags -1 +ipv6
Bug #873086 [bridge-utils] ifupdown script disables IPv6 on parent of VLAN interface
Added tag(s) ipv6.
severity -1 serious
Bug #873086 [bridge-utils] ifupdown script disables IPv6 on parent of VLAN interface
Severity set to 'serious' from 'normal'
--
873086: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=873086
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Paul LeoNerd Evans
2018-03-29 22:10:01 UTC
Permalink
Package: bridge-utils
Version: 1.5-13+deb9u1
Followup-For: Bug #873086

I've just ran into this same bug.

I believe the proble comes from line 63 of /lib/bridge-utils/bridge-utils.sh

63 dev="${port%.*}"

because this runs in a function within the containing script, it alters
the value of $dev. This bug can be fixed by simply adding the 'local'
keyword; thus making the line

local dev="${port%.*}"

to localise the value to within that one function, stopping it breaking
the containing code.

I can send a patch if required.


-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.15.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages bridge-utils depends on:
ii libc6 2.27-2

bridge-utils recommends no packages.

Versions of packages bridge-utils suggests:
ii ifupdown 0.8.31
Debian Bug Tracking System
2018-04-09 03:00:01 UTC
Permalink
Your message dated Mon, 09 Apr 2018 02:55:08 +0000
with message-id <E1f5MxY-000Fgh-***@fasolo.debian.org>
and subject line Bug#873086: fixed in bridge-utils 1.5-16
has caused the Debian Bug report #873086,
regarding ifupdown script disables IPv6 on parent of VLAN interface
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ***@bugs.debian.org
immediately.)
--
873086: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=873086
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Roman Mamedov
2019-02-27 08:30:02 UTC
Permalink
Hello,

I just hit this bug as well. From what I see this has been fixed in 1.5-16,
but Stretch currently contains 1.5-13+deb9u1. And 1.5-16 is not available in
any archive. The Buster version is 1.6-2. Is it possible to push the fixed
version to Stretch?

Thanks
--
With respect,
Roman
Roman Mamedov
2019-02-27 08:40:01 UTC
Permalink
Hello,

Actually, both 1.6-2 and 1.5-16 still disable IPv6 on the parent interface for
me, in a config like this:

iface br-test inet static
address 192.168.9.101
netmask 255.255.255.0
bridge-ports eth1.1008

After "ifup br-test", /proc/sys/net/ipv6/conf/eth1/disable_ipv6 is set to 1.
--
With respect,
Roman
Loading...