Permissions to use snapd-control from Inference Manager

Hi,

I’d like to request permissions to release the inference snap with the snapd-control plug in the global store, allowing installation, and if possible the auto-connection.

  • name: inference
  • description: Snap packaging of Inference Manager, providing a management layer for inference snaps.
  • snapcraft: http://snapcraft.io/inference
  • upstream: GitHub - canonical/inference · GitHub
  • plugs:
    • snapd-control:
      • interface: snapd-control
      • request-type: installation & auto-connection
      • reasoning: The inference manager is expected to manage inference providers, currently only inference snaps. The management includes listing installed providers, installing and removing them, as well as enabling/disabling, and getting snap health.

The auto-connection is not an absolute requirement but rather to provide better usability. If reviewers support the installation but feel strongly against its auto-connection, we could avoid that and request the manual connection on-demand from the user.

We are in favor of using the snapd API from this confined snap, than pursuing a classic snap which would be less sandboxed and won’t work on Ubuntu Core.

To guard against unwanted snapd operations, the Inference Manager restricts its the operations to a shortlist of snaps that are known inference snaps maintained by Canonical. It rejects any operation by users on other snaps. Performing the operations requires the same level of privileges expected from a user directly calling the snap commands.

This snap is currently published under the Canonical IoT Labs account but will soon be transferred to the Ubuntu account.

Thanks

This request has been added to the queue for review by the @reviewers team.

+1 from me, it’s essentially a snap store application, so this adds a great deal of value and users would expect it.

Hi @farshidtz

Given the functionality of the snap, inference snap needs snapd-control to install and manage snaps and is expected behavior. Since the snaps that inference can install and manage are whitelisted inference snaps published by Canonical, +1 from me to grant snapd-control to inference snap with auto-connection. What do other reviewers think?

Hello all,

Apologies for the delay on this request. Given the restrictions on the managed snaps and the pending transferal to the Ubuntu account, this is a +1 from me as well for granting auto-connection of snapd-control to the snap inference.

+3 votes for, 0 votes against, snap is owned by Ubuntu account, hence vetted, Granting auto-connection of snapd-control to inference snap. Uploading a new revision of the snap should automatically pass the automated reviews.

1 Like