I would like to request that the lxi-tools snap gets automatically connected to the ‘avahi-observe’ plug interface.
lxi-tools uses the avahi-daemon strictly as a client to discover various LXI instruments on the network.
However, this currently fails on e.g. Ubuntu because of its stricter security mechanisms (apparmor etc.) and I would like to avoid the users having to do stuff like this:
I don’t have a lot of familiarity with LXI, but I can see that http://lxistandard.org/ mentions that a core part of the functionality is reaching other LXI enabled instruments. While part of me feels like the manual connection would be ok (at least once gnome-software supports interface connections graphically), the instrument discovery via avahi seems such a core piece of its usage that avahi-observe auto-connection is appropriate. It’s too bad avahi-daemon doesn’t already have fine-grained controls so we could grant service discovery to something like _lxi.tcp (or similar), but that isn’t available at this time.
While avahi-observe leaks more than is strictly required for lxi-tools, +1 for auto-connection based on the above.
Agreed. Reading up on liblxi and lxi-tools, it sounds like every user will need to connect this in order for it to be useful. On that front, +1 to autoconnection.
However, note that this interface is not provided by the core snap on Ubuntu Core. Are we also granting autoconnection to the avahi snap?