Not sure if it is a coincidence or not, but updated to 2022.3.0b5 from 2022.3.0b4. Supervisor also updated to 2022.02.0 and suddenly hassio-dns keeps on crashing. I have tried
ha supervisor repair
ha dns restart
ha dns restore
Same issue… logs are empty
root@skywarp:~# docker logs 966b26cc5182
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] corefile.sh: executing...
[cont-init.d] corefile.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
plugin/mdns: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender="(null)" (inactive) interface="org.freedesktop.DBus" member="Hello" error name="(unset)" requested_reply="0" destination="org.freedesktop.DBus" (bus)
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
I noticed scripts I created that use dns within the home assistant docker image has stopped working. Did some digging and found that hassio_dns is restarting over and over again. I hadn’t updated home assistant core in months. It looks like supervisor updated itself recently because it’s showing version 2022.02.0. I’m guessing this is the cause of the problem.
Here’s the supervisor log:
22-03-01 23:50:49 WARNING (MainThread) [supervisor.misc.tasks] Watchdog found a problem with CoreDNS plugin!
22-03-01 23:50:49 INFO (MainThread) [supervisor.plugins.dns] Starting CoreDNS plugin
22-03-01 23:50:49 INFO (SyncWorker_2) [supervisor.docker.interface] Cleaning hassio_dns application
22-03-01 23:50:50 INFO (SyncWorker_2) [supervisor.docker.dns] Starting DNS ghcr.io/home-assistant/amd64-hassio-dns with version 2022.02.0 - 172.30.32.3
I uninstalled apparmor on the host server and everything is running again after a reboot
Perhaps this was a sign that is is time for me to move over to a supported OS
I assume it will break again when the supervisor checks for an update… Anyways via https://github.com/home-assistant/supervisor/issues/3475 I discovered that Ubuntu wasnt supported. Only Debian is. I moved to that and the problem was solved for me
jumping in late, new user to HA installed in virtualbox using ubuntu 64bit few weeks ago. i am experiencing sporadic crashing of the HA core in the VM. after reading through these threads is it suggested I do a new install using debian vs. ubuntu in the VM?
If you are using Ubuntu try to adapt the following (based on Debian) for your setup. Instead of using VirtualBox, use KVM which is native to Linux virtualisation.