NetworkManager does not disable accept_ra when a managed device is set to ipv6 method=ignore
Bug #1704210 reported by
Mathieu Trudel-Lapierre
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
As per the title; it looks (at first glance anyway, running TestNetworkMana
NM already is able to disable accept_ra, since it does so when a device transitions to UNAVAILABLE or DISCONNECTED in some cases (see src/devices/
To post a comment you must log in.
ubuntu@ autopkgtest: /tmp/autopkgtes t.BeZID5/ build.9bb/ real-tree$ sudo python3 tests/integrati on.py TestNetworkMana ger.test_ eth_dhcp6_ off _.TestNetworkMa nager) ... FAIL
test_eth_dhcp6_off (__main_
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= _.TestNetworkMa nager) ------- ------- ------- ------- ------- ------- ------- ------- ------- integration. py", line 1618, in test_eth_dhcp6_off assert_ iface_up( self.dev_ e_client, [], ['inet6 2600:']) integration. py", line 313, in assert_iface_up assertNotRegex( out, r, out) MULTICAST, UP,LOWER_ UP> mtu 1500 qdisc noqueue state UP group default qlen 1000\n link/ether f6:be:d6:b1:7e:b0 brd ff:ff:ff:ff:ff:ff\n inet 192.168.1.100/24 brd 192.168.1.255 scope global eth42\n valid_lft forever preferred_lft forever\n inet6 2600::f4be: d6ff:feb1: 7eb0/64 scope global mngtmpaddr dynamic \n valid_lft 3597sec preferred_lft 3597sec\n inet6 fe80::f4be: d6ff:feb1: 7eb0/64 scope link \n valid_lft forever preferred_lft forever\n' : 650: eth42@veth42: <BROADCAST, MULTICAST, UP,LOWER_ UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 d6ff:feb1: 7eb0/64 scope global mngtmpaddr dynamic d6ff:feb1: 7eb0/64 scope link
FAIL: test_eth_dhcp6_off (__main_
-------
Traceback (most recent call last):
File "tests/
self.
File "tests/
self.
AssertionError: Regex matched: 'inet6 2600:' matches 'inet6 2600:' in '650: eth42@veth42: <BROADCAST,
link/ether f6:be:d6:b1:7e:b0 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.100/24 brd 192.168.1.255 scope global eth42
valid_lft forever preferred_lft forever
inet6 2600::f4be:
valid_lft 3597sec preferred_lft 3597sec
inet6 fe80::f4be:
valid_lft forever preferred_lft forever
------- ------- ------- ------- ------- ------- ------- ------- ------- -------
Ran 1 test in 7.976s
FAILED (failures=1)