So, my server and it’s 9 Containers were jugging merrily along until this morning my guys notified me they can’t log in.
showed the containers not having any IP addresses anymore.
Further digging showed that there is no dnsmasq running, which would explain that.
So, the only clue as to what the problem may be is this error when I try to restart LXD:
Aug 4 11:11:28 server0 kernel: [ 258.789920] audit: type=1400 audit(1596557488.200:25): apparmor=“STATUS” operation=“profile_replace” info=“same as current profile, skipping” profile=“unconfined” name=“lxd_dnsmasq-lxdbr0_</var/snap/lxd/common/lxd>” pid=4428 comm=“apparmor_parser”
Aug 4 11:11:28 server0 dnsmasq: cannot read /var/snap/lxd/common/lxd/networks/lxdbr0/dnsmasq.raw: Permission denied
Aug 4 11:11:28 server0 dnsmasq: FAILED to start up
Aug 4 11:11:28 server0 kernel: [ 258.800528] audit: type=1400 audit(1596557488.212:26): apparmor=“DENIED” operation=“open” profile=“lxd_dnsmasq-lxdbr0_</var/snap/lxd/common/lxd>” name="/mnt/md1/lxd/common/lxd/networks/lxdbr0/dnsmasq.raw" pid=4429 comm=“dnsmasq” requested_mask=“r” denied_mask=“r” fsuid=0 ouid=0
I am using snap LXD, version 4.4. I have updated the server to Ubuntu 20.04 just this morning.
First off, I cannot find the location of the AppArmor profile of lxd_dnsmasq-lxdbr0_</var/snap/lxd/common/lxd>, so I can’t even move it to complain from enforce.
As such, I have absolutely no idea where to go from here- especially since I do not know what changed to make dnsmasq stop running in the first place…
Please, any suggestions are hugely appreciated!