Control: tags -1 + unreproducible Am 12.04.22 um 11:26 schrieb Michael Biebl:
Control: severity -1 importantAm 12.04.22 um 09:15 schrieb Claudio Kuenzler:Package: systemd Version: 247.3-7 Severity: critical Justification: breaks the whole system Dear Maintainer, After having created a new LXC container (using lxc-create) using the lxc-download template and using Debian Bullseye, the static IP addressing using the container's config file (/var/lib/lxc/container/config) is not working anymore. This was the first Bullseye LXC I created since the 11.3 release. Older Bullseye releases worked without a problem. This _could_ be caused by the following mentioned change in the systemd package: "fix a regression when using systemd-networkd in an unprivileged LXD container"Can you verify if reverting the patch helps?A workaround is to start the containenr in foreground (-F), disable the systemd-networkd service and then reboot the container. The static IP from the container's config is now working again. To reproduce: 1. Create the container lxc-create -n bullseye -t download -- -d debian -r bullseye -a amd64 2. Adjust config, add static IP in networking root@host:~# cat /var/lib/lxc/bullseye/config | grep net lxc.net.0.type = veth lxc.net.0.flags = up lxc.net.0.link = virbr1 lxc.net.0.veth.pair = bullseye lxc.net.0.ipv4.address = 192.168.1.111/24 lxc.net.0.ipv4.gateway = 192.168.1.1
Hm, works fine here, i.e. I can't reproduce your problem. I'm running LXC on a Debian sid host though. Maybe it's something related to your LXC configuration/installation?
OpenPGP_signature
Description: OpenPGP digital signature