Open bunnybooboo opened 6 years ago
Additionally edited the container config file with lxc.net.0.veth.pair = arch-test-001
, installed bridge-utils pacman -S bridge-utils
, then brctl show
outputs:
bridge name | bridge id | STP enabled | interfaces |
---|---|---|---|
lxcbr0 | 8000.00163e000000 | no | arch-test-001 |
Tried setting up another basic dnsmasq:
listen-address=127.0.0.1
port=53
bind-interfaces
pid-file=/var/run/dnsmasq.d
and again the error failed to create listening socket for 127.0.0.1: Address already in use
Switched the listen address to 127.0.1.1 and the error goes away.
AHHHH! Just spotted a file called dnsmasq.conf.pacsave which was using the same listen address. Renamed it and the error stays away if I switch back to 127.0.0.1
Now going back through what I had previously setup, it appears the wiki https://wiki.archlinux.org/index.php/Dnsmasq#NetworkManager defines creating the connection for dnsmasq. This could be where the duplication comes in. Other people trying to help me have not spotted that as they don't use NetworkManager.
Meh. There STILL is something overriding these listening settings in dnsmasq.
Switching the bind-interfaces
back to bind-dynamic
seems to fix. I now, finally, have green statuses for NetworkManager, Dnsmasq, and lxc-net.
via https://github.com/bunnybooboo/learning-path/blob/master/sandbox/lxc/fresh-start.md I get the following status output: