Pretty simple but puzzling problem. I have the following in my snapcraft.yaml:
slots: control: interface: content content: socket-directory write: - $SNAP_DATA/sockets
I’m trying to connect a corresponding plug to that slot; but getting the following error:
error: cannot perform the following tasks: - Connect ammp-edge:control to ammp-wifi-ap:control (connection not allowed by slot rule of interface "content")
Sure enough, in $SNAP/meta/snap.yaml I actually have the following:
slots: control: interface: content write: - $SNAP_DATA/sockets
content: socket-directory line missing. Any ideas what’s causing that? Build log is here if that’s of interest - couldn’t find anything relevant in there.