I have an image that works for the most part. I am able to get the Avahi services running after installing the image with a little bit of finagling, but I need it to work "out of the box". I have the image builder adding ssh and sftp avahi services as well as the daemon(s) etc. I am adding another service simply by using the "files" folders.
After installation, in order to get it working, I have to uninstall either the ssh or sftp avahi service (through luci or otherwise), and then reinstall it and all of the services work.
The items below are the errors that I get. I am not so concerned with the "WARNING" as that is there even after I get it working.
I have tried various permissions, but have not been able to get it to work. I am doing another build with just the default image builder services to see if that works, and then it has to be something with the file/folder permissions of what I added.
Any suggestions for getting this to work properly within the image?
Errors out of the gate:
Mon Nov 11 19:39:50 2019 daemon.info avahi-daemon: avahi-daemon 0.6.32 starting up.
Mon Nov 11 19:39:50 2019 daemon.warn avahi-daemon: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Mon Nov 11 19:39:50 2019 daemon.warn avahi-daemon: Failed to open /etc/resolv.conf: Permission denied
Mon Nov 11 19:39:50 2019 daemon.info avahi-daemon: No service file found in /etc/avahi/services.
Mon Nov 11 19:39:50 2019 daemon.err avahi-daemon: Failed to open static hosts file: Permission denied