Hello @review-team, I am requesting that the IoT Edge snap auto-connect the daemon-notify interface. Within our snap, our primary app needs to communicate with Docker but runs as UID != 0, so we provide the docker-proxy app to make the connection. The docker-proxy app was a simple daemon, but was recently updated to a notify daemon to fix startup issues. We’d like to auto-connect the daemon-notify interface to complete fix.
For more context, here’s the GitHub pull request which fixes the startup issues.
As far as I understood from the PR, the problem is that aziot-edged needs to know whether docker-proxy is running or not. I’m not sure if it will help, but have you tried with snapctl services azure-iot-edge.docker-proxy from aziot-edged?
We can’t use that since whether docker-proxy is sleeping or not, it’ll still be reported as running. docker-proxy sleeps for some time waiting for docker to start & that’s when we report that docker-proxy is ready and let aziot-edged start up.
Thanks for the answer. In that case, unless other @reviewers have a better idea, +1 from me for granting azure-iot-edgeauto-connection to daemon-notify interface