Hi, I’m using lxd in Arch Linux in wsl. I can start the container alpine/3.24 and access Internet in the container shell, until today, lxc start mycontainer failes with Failed pre-start check for device "eth0": Network "lxdbr0" unavailable on this server
Content of /var/log/lxd/lxd.log is
time=“2026-09-04T09:39:33+08:00” level=warning msg=“Dqlite last entry” index=0 term=0
time=“2026-09-04T09:41:13+08:00” level=warning msg=“AppArmor support has been disabled because of lack of kernel support”
time=“2026-09-04T09:41:13+08:00” level=warning msg=" - AppArmor support has been disabled, Disabled because of lack of kernel support"
time=“2026-09-04T09:41:13+08:00” level=warning msg=" - Could not find the CGroup hugetlb controller, hugepage limits will be ignored"
time=“2026-09-04T09:41:15+08:00” level=error msg=“Failed initializing network” err=“Failed starting network: The DNS and DHCP service exited prematurely: exit status 2 (“dnsmasq: failed to bind DHCP server socket: Address already in use”)” network=lxdbr0 project=default
time=“2026-09-04T09:41:20+08:00” level=error msg=“Failed initializing network” err=“Failed starting network: The DNS and DHCP service exited prematurely: exit status 2 (“dnsmasq: failed to bind DHCP server socket: Address already in use”)” network=lxdbr0 project=default
The error shows dnsmasq failed to bind DHCP server socket because Address already in use.
If relevant, ifconfig shows 3 interfaces: eth1, lo, loopback0
To fix the problem, I’m thinking about disabling dnsmasq’s DNS server. I tried lxc network set lxdbr0 raw.dnsmasq="port=0" but it failed with Error: The DNS and DHCP service exited prematurely: exit status 2 ("dnsmasq: failed to bind DHCP server socket: Address already in use")
Thanks, I have moved to incus. Weird thing is when I decided to uninstall lxd and tried starting it the last time, lxc start mycontainer succeeded.
After moving to incus, the same problem happens again. At first incus launch images:alpine/3.24 mycontainer succeds and I can run commands in the container’s shell. The next day incus start mycontainer fails with Error: Failed pre-start check for device "eth0": Network "incusbr0" unavailable on this server.
/var/log/incus/incusd.log has:
time=“2026-09-17T21:06:08+08:00” level=warning msg=“AppArmor support has been disabled because of lack of kernel support”
time=“2026-09-17T21:06:09+08:00” level=warning msg=" - AppArmor support has been disabled, Disabled because of lack of kernel support"
time=“2026-09-17T21:06:09+08:00” level=error msg=“Failed initializing network” err=“Failed starting: The DNS and DHCP service exited prematurely: exit status 2 (“dnsmasq: failed to bind DHCP server socket: Address already in use”)” network=incusbr0 project=default
time=“2026-09-17T21:07:10+08:00” level=error msg=“Failed initializing network” err=“Failed starting: The DNS and DHCP service exited prematurely: exit status 2 (“dnsmasq: failed to bind DHCP server socket: Address already in use”)” network=incusbr0 project=default
/var/log/incus/dnsmasq.incusbr0.log has:
dnsmasq: failed to bind DHCP server socket: Address already in use
So you have a port conflict on either the DHCP or DNS port.
Can you show a full netstat -lnp on the system?
Chances are you have a DNS server of some kind binding tcp/53 or udp/53 on all addresses, if Incus starts before that server, things work, if it starts after, it fails to bring up dnsmasq which causes the failure you’re seeing.
I’ve tried disabling systemd-resolved and reboot. There are no more systemd-resolved lines in netstat -lnp result. But incus start mycontainer still failes with the same error
dnsmasq says “failed to bind DHCP server socket: Address already in use” which implies something listening on port 67. Here’s my system, with incus’ dnsmasq successfully running on the incusbr0 bridge:
# ss -nlp sport 67
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
udp UNCONN 0 0 0.0.0.0%incusbr0:67 0.0.0.0:* users:(("dnsmasq",pid=2843694,fd=4))
I am still concerned about you saying that “lxc start mycontainer” works. As I asked before, what do the following two commands show?