ogra
July 25, 2020, 3:47pm
1
There is prior art to that one …
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 follo…
in snap/snapcraft.yaml i have:
slots:
socket:
interface: content
content: pcscd-socket
source:
write: [ $SNAP_COMMON/pcscd ]
and in prime/meta/snap.yaml i end up with:
slots:
socket:
interface: content
source:
write:
- $SNAP_COMMON/pcscd
which then results in consumer snaps not being able to connect to this content interface … this seems to have regressed somehow since it got fixed in the other thread.
1 Like
cjp256
July 27, 2020, 11:28am
2
Apologies for my error, here is an incoming fix:
https://github.com/snapcore/snapcraft/pull/3227
1 Like