You have a couple options here. I think simplest would be to just add:
bridges:
br0:
interfaces: [vlan1]
to your netplan config. This will generate
/run/systemd/network/10-netplan-vlan1.network with:
[Match]
Name=vlan1
[Network]
LinkLocalAddressing=no
ConfigureWithoutCarrier=yes
Bridge=br0
so the master will be configured correctly. Otherwise, you could add a
drop-in configuration for vlan1 to set KeepMaster=true (I don't know if
netplan has something for this)[1].
Either way, I do not think this is a bug.
[1]
https://www.freedesktop.org/software/systemd/man/latest/systemd.network.html#KeepMaster=
** Changed in: systemd (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2036127
Title:
Restarting `systemd-networkd` looses unmanaged bridged parents
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2036127/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs