Hi list,

I have 2 questions about connecting bluez interface.
In Interfaces reference [1], it said the bluez is not auto-connected. But
after I installed the bluez snap, the bluez interface is connected. Do I
misunderstnad the definition?

root@localhost:/tmp# snap install --edge bluez
bluez (edge) 5.37-2 from 'canonical' installed
root@localhost:/tmp# snap interfaces
Slot                    Plug
bluez:service           bluez:client


The other question is that I cannot connect the interface when using my own
bluez snap. Should I sign my snap to make this work?

root@localhost:/tmp# snap install --dangerous bluez_5.37-2_amd64.snap
bluez 5.37-2 installed
root@localhost:/tmp# snap interfaces
Slot                    Plug
bluez:service           -
  [snipped]
-                       bluez:client
root@localhost:/tmp# snap connect bluez:client bluez:service
error: cannot perform the following tasks:
- Connect bluez:client to bluez:service (connection denied by slot rule of
interface "bluez")

[1] http://snapcraft.io/docs/reference/interfaces

BR,
Robert
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to