I need clarification on seed.loaded.
I am using a snap wait system seed.loaded to make sure system is configured before I execute snap connect on slots/plugs that needs to be connected. I have observed recently that the first in a row connections are not successful and the logs shows that the gadget has “become-operational” change in progress.
The code that makes the connections looks like:
# Wait for all snaps to be available
snap wait system seed.loaded
# Connect interfaces now that snaps are available
connect snap slot snap plug
and is executed as a systemd service after snapd.socket.
Could you help me understand if I use the seed.loaded in a proper way?
Thanks in advance!