We are building a gadget snap and custom image for a PoC and we need one of our snaps (snap A) to, when appropriate, automatically configure a third-party snap (snap B) via B’s configure
This simple task is becoming a challenge per itself in Ubuntu Core.
Initially we tried our snap A to invoke
snap set <snap-b> conf=..., as provided by snap B. It turns out Snap A has no permission to run
snap set against another snap.
In another attempt, we tried to use
snapd REST API
/run/snapd.socket. This also turned out as a frustration, as we need to use the interface
snapd-control, which is apparently only available if we use brand-store.
So what is the solution proposed to this? (Sorry, but for a PoC project getting a $16,000 brand store is a joke and not a solution).
Is this apparent simple scenario not possible in Ubuntu Core?