Comment 5 for bug 1983516

Revision history for this message
Frode Nordahl (fnordahl) wrote (last edit ):

This rudimentary patch [0] works around the issue for me. For anyone stuck on this issue I put it in this PPA [1], which can be used by the MAAS Package repos feature to slip it into a deployment.

It does not help for the situation where `udevadm test-builtin net_setup_link` is called on an actual non-existing interface though, which is what the OP reported, but the two variants of the issue appear closely connected to me.

Should we expand the bug to cover both cases, or do you want a separate bug for attempting to call `udevadm test-builtin net_setup_link` on an interface that apparently is not completely initialized yet?

0: https://pastebin.ubuntu.com/p/pHqbwJwVPh/
1: https://launchpad.net/~fnordahl/+archive/ubuntu/lp1983516