netplan should not try to unbind brcmfmac (like brcmfmac-sdio)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| nplan (Ubuntu) |
High
|
Mathieu Trudel-Lapierre | ||
| Xenial |
High
|
Mathieu Trudel-Lapierre | ||
| Zesty |
Undecided
|
Unassigned |
Bug Description
[Impact]
Users who need the brcmfmac driver (in one form or another, specifically those not covered by brcmfmac-sdio) to make their wireless network function.
[Test case]
1) Install updated nplan package on nanopi-air
2) Verify that when running 'netplan apply', the network is not brought down by a rebind event on the network interface.
[Regression potential]
Network failures due to rebinding or failing to rebind the network interface, as well as incorrectly applying the settings in a netplan config on the network interfaces, would be possible regressions from this update.
---
while bug #1696162 fixes the breakage on unbind for brcmfmac-sdio it does not fix it for the plain brcmfmac driver like used on the nanopi-air.
Oliver Grawert (ogra) wrote : | #1 |
summary: |
- netplan should not try to unbind brcmfmac + netplan should not try to unbind brcmfmac (like brcmfmac-sdio) |
tags: | added: patch |
Oliver Grawert (ogra) wrote : | #2 |
a package with this fix is in https:/
(and thus in the Ubuntu Core core snap in the edge channel)
Changed in nplan (Ubuntu): | |
assignee: | nobody → Mathieu Trudel-Lapierre (cyphermox) |
status: | New → In Progress |
importance: | Undecided → High |
Launchpad Janitor (janitor) wrote : | #3 |
This bug was fixed in the package nplan - 0.26
---------------
nplan (0.26) artful; urgency=medium
* Bonding:
- Add support for specifying a primary slave. (LP: #1709135)
* Rebind:
- Fix brcmfmac harder. Treat any 'brcmfmac' driver as not supporting
rebind. (LP: #1712224)
* Autopkgtests:
- Add allow-stderr. Systemd now bleats about a the networkd socket still
being around and enabled when we restart the service; but we don't need
to care since we're /restarting/ the service to load the new config.
- Fix the autostart package to be more sensible: we don't really care if
networkd autostarts or not, but we need to make sure that our generator
will run at boot, so instead check the state, but only assert it once
we've added a config file and before checking the state of our dummy
device.
- Do a bit more to make sure "mix" tests which stack virtual devices are
as reliable as possible; by setting saner defaults.
-- Mathieu Trudel-Lapierre <email address hidden> Wed, 23 Aug 2017 19:32:33 -0400
Changed in nplan (Ubuntu): | |
status: | In Progress → Fix Released |
Oliver Grawert (ogra) wrote : | #4 |
Thanks ! though sorry, I forgot to open a xenial task for the SRU (since we need the fix in Ubuntu Core), i did that now...
Changed in nplan (Ubuntu Xenial): | |
status: | New → In Progress |
assignee: | nobody → Mathieu Trudel-Lapierre (cyphermox) |
importance: | Undecided → High |
description: | updated |
Hello Oliver, or anyone else affected,
Accepted nplan into zesty-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-
Further information regarding the verification process can be found at https:/
Changed in nplan (Ubuntu Zesty): | |
status: | New → Fix Committed |
tags: | added: verification-needed verification-needed-zesty |
Brian Murray (brian-murray) wrote : | #6 |
Hello Oliver, or anyone else affected,
Accepted nplan into xenial-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-
Further information regarding the verification process can be found at https:/
Changed in nplan (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
tags: | added: verification-needed-xenial |
tags: |
added: verification-done verification-done-xenial verification-done-zesty removed: verification-needed verification-needed-xenial verification-needed-zesty |
Łukasz Zemczak (sil2100) wrote : | #7 |
Hello Oliver, or anyone else affected,
Accepted nplan into zesty-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-
Further information regarding the verification process can be found at https:/
tags: |
added: verification-needed verification-needed-zesty removed: verification-done verification-done-zesty |
Łukasz Zemczak (sil2100) wrote : | #8 |
Hello Oliver, or anyone else affected,
Accepted nplan into xenial-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-
Further information regarding the verification process can be found at https:/
tags: |
added: verification-needed-xenial removed: verification-done-xenial |
nplan 0.32~16.04.2 fails to build because I mismerged 0.32 and broke the code skipping the test_routes_v6 test in the NetworkManager case. Therefore, it can't possibly pass SRU verification.
tags: |
added: verification-failed-xenial removed: verification-needed-xenial |
Oliver Grawert (ogra) wrote : | #10 |
note that i tested 0.29~16.04.1 from xenial-proposed before you uploaded 0.32~16.04.2
Brian Murray (brian-murray) wrote : | #11 |
Hello Oliver, or anyone else affected,
Accepted nplan into xenial-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-
Further information regarding the verification process can be found at https:/
tags: |
added: verification-needed-xenial removed: verification-failed-xenial |
Autopktests still failing for xenial; the test is still not being skipped (we know it won't work on Xenial due to the version of NM shipped there). Marking verification-
tags: |
added: verification-failed-xenial removed: verification-needed-xenial |
Łukasz Zemczak (sil2100) wrote : | #13 |
Hello Oliver, or anyone else affected,
Accepted nplan into xenial-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-
Further information regarding the verification process can be found at https:/
tags: |
added: verification-needed-xenial removed: verification-failed-xenial |
Verification-done for xenial 0.32~16.04.3, and zesty 0.32~17.04.1:
Both are now skipping brcmfmac drivers ('if brcmfmac in driver_name').
tags: |
added: verification-done-xenial verification-done-zesty removed: patch verification-needed verification-needed-xenial verification-needed-zesty |
Launchpad Janitor (janitor) wrote : | #15 |
This bug was fixed in the package nplan - 0.32~16.04.3
---------------
nplan (0.32~16.04.3) xenial; urgency=medium
* tests/integrati
backend.
nplan (0.32~16.04.2) xenial; urgency=medium
* tests/integrati
the skip rules for 16.04 after merging in 0.32.
nplan (0.32~16.04.1) xenial; urgency=medium
* Backport netplan 0.32 to 16.04. (LP: #1713142)
* debian/control: Depend on systemd (>= 229-4ubuntu20) for the PrimarySlave
feature backported in that revision.
* tests/integrati
nplan (0.32) bionic; urgency=medium
* src/nm.c: better handle the UUID generation; the order of iterating
through interaces may affect things here. Also make sure the tests catch
a null UUID.
nplan (0.31) bionic; urgency=medium
[ Mathieu Trudel-Lapierre ]
* src/nm.c: generate a UUID for a connection only as needed; when we're
dealing with NM VLANs. (LP: #1712921)
* debian/
failing right from the start when systemd-networkd is disabled.
(LP: #1699371)
* tests/integrati
120 seconds, autopkgtest infrastructure tends to be a little slow for the
network device configuration to be applied and noticed by NM.
(LP: #1699371)
[ Dimitri John Ledkov ]
* Reload udevd to invalidate configuration cache of .rules/.link files
as generate step may have changed them. LP: #1669564
[ Dan Streetman ]
* Add another interface driver exception to netplan replug to prevent unbind
of the Xen VIF interfaces. (LP: #1729573)
nplan (0.30) artful; urgency=medium
* Add an "optional" syntax node for now to all devices. This is unimplemented
for now, but intended to allow users to mark some devices as optional: to
make sure they do not delay boot when configured. (LP: #1664844)
nplan (0.29) artful; urgency=medium
* Fix autopkgtests in a world where /run/NetworkMan
exists. nplan is enabled by default, so it might well have the directory
already created on the filesystem.
nplan (0.28) artful; urgency=medium
* Revert 56cd3eec which disabled IPv6 Router Advertisements by default. It
broke default network config in LXD and was contrary to the defaults used
by the kernel. Reopens LP: 1655440. (LP: #1717404)
* Add "accept-ra:" key for all device types; this will default to OFF but
allow users to disable processing Router Advertisements when required by
their network setup. (LP: #1655440)
nplan (0.27) artful; urgency=medium
[ Mathieu Trudel-Lapierre ]
* Fix crash in systemd generator if called by an user on the command-line
* coverage: fix exclusions to properly not cover our "never reached defaults"
[ Dimitri John Ledkov ]
* tests/integrati
* src/networkd.c: Set UseMTU=true by default, whenever DHCP is in use.
(LP: #1717471)
* tests/integrati
nplan (0.26) artful; urgency=medium
...
Changed in nplan (Ubuntu Xenial): | |
status: | Fix Committed → Fix Released |
The verification of the Stable Release Update for nplan has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
Launchpad Janitor (janitor) wrote : | #17 |
This bug was fixed in the package nplan - 0.32~17.04.1
---------------
nplan (0.32~17.04.1) zesty; urgency=medium
* Backport 0.32 to 17.04. (LP: #1713142)
nplan (0.32) bionic; urgency=medium
* src/nm.c: better handle the UUID generation; the order of iterating
through interaces may affect things here. Also make sure the tests catch
a null UUID.
nplan (0.31) bionic; urgency=medium
[ Mathieu Trudel-Lapierre ]
* src/nm.c: generate a UUID for a connection only as needed; when we're
dealing with NM VLANs. (LP: #1712921)
* debian/
failing right from the start when systemd-networkd is disabled.
(LP: #1699371)
* tests/integrati
120 seconds, autopkgtest infrastructure tends to be a little slow for the
network device configuration to be applied and noticed by NM.
(LP: #1699371)
[ Dimitri John Ledkov ]
* Reload udevd to invalidate configuration cache of .rules/.link files
as generate step may have changed them. LP: #1669564
[ Dan Streetman ]
* Add another interface driver exception to netplan replug to prevent unbind
of the Xen VIF interfaces. (LP: #1729573)
nplan (0.30) artful; urgency=medium
* Add an "optional" syntax node for now to all devices. This is unimplemented
for now, but intended to allow users to mark some devices as optional: to
make sure they do not delay boot when configured. (LP: #1664844)
nplan (0.29) artful; urgency=medium
* Fix autopkgtests in a world where /run/NetworkMan
exists. nplan is enabled by default, so it might well have the directory
already created on the filesystem.
nplan (0.28) artful; urgency=medium
* Revert 56cd3eec which disabled IPv6 Router Advertisements by default. It
broke default network config in LXD and was contrary to the defaults used
by the kernel. Reopens LP: 1655440. (LP: #1717404)
* Add "accept-ra:" key for all device types; this will default to OFF but
allow users to disable processing Router Advertisements when required by
their network setup. (LP: #1655440)
nplan (0.27) artful; urgency=medium
[ Mathieu Trudel-Lapierre ]
* Fix crash in systemd generator if called by an user on the command-line
* coverage: fix exclusions to properly not cover our "never reached defaults"
[ Dimitri John Ledkov ]
* tests/integrati
* src/networkd.c: Set UseMTU=true by default, whenever DHCP is in use.
(LP: #1717471)
* tests/integrati
nplan (0.26) artful; urgency=medium
* Bonding:
- Add support for specifying a primary slave. (LP: #1709135)
* Rebind:
- Fix brcmfmac harder. Treat any 'brcmfmac' driver as not supporting
rebind. (LP: #1712224)
* Autopkgtests:
- Add allow-stderr. Systemd now bleats about a the networkd socket still
being around and enabled when we restart the service; but we don't need
to care since we're /restarting/ the service to load the new config.
- Fix the autostart package to be more sensible: we don't really care if
...
Changed in nplan (Ubuntu Zesty): | |
status: | Fix Committed → Fix Released |
debdiff to also prevent plain brcmfmac from unbinding