Hi @superm1
If I understand it properly, you want the snap-store
snap to auto-connect to the fwupd
slot, that may be provided either by the fwupd host service or by the fwupd snap.
In that case, if we grant snap-store
auto-connect to the fwupd
interface it will work properly in case that only one slot is available in the system (i.e. only the system service or the snap are installed). However, if the slot is provided by both, the system and the fwupd
snap, the auto-connection won’t work (as it is not clear which slot the snap should plug into).
It is the same problem reported here for Brave and cups. This PR fixes the issue for the cups-control interface, giving preference to the slot provided by the host when available. Maybe we will need to define it in a more generic way to support other interfaces.