It should be possible to confine this snap but it will need to ship these commands itself since strict confinement does not allow the snap access to any binaries on the host. Once this is done, you should be able to use snappy-debugto help identify what other interfaces may be required for the snap to operate correctly with strict confinement.
Hey @lars, I see you have not uploaded a new revision to the store. Could you try strict confinement and shipping the commands as @alexmurray suggested?
$ snap run bluedo
Exception in thread Thread-1:
Traceback (most recent call last):
File “/snap/bluedo/x3/usr/lib/python3.6/threading.py”, line 916, in _bootstrap_inner
self.run()
File “/snap/bluedo/x3/usr/lib/python3.6/threading.py”, line 864, in run
self._target(*self._args, **self._kwargs)
File “/snap/bluedo/x3/lib/python3.6/site-packages/bluedo/bluedoapp.py”, line 508, in update_combodevices
newscan = self.bluetooth_list()
File “/snap/bluedo/x3/lib/python3.6/site-packages/bluedo/bluedoapp.py”, line 486, in bluetooth_list
addr = line.split()[1]
IndexError: list index out of range
Are you sure the bluez interface is connected? Creation of bluetooth sockets is allowed when the bluez interface is plugged and connected (this is not automatically connected since it is a privileged interface)
We are here to help you troubleshoot. If you already have another thread open, we can remove this one from our queue and continue the discussion there instead. If needed, we can add this request back anytime.