The classic-support interface

The classic-support interface sets special permissions for the classic snap, effectively giving device ownership to its connected snaps.

This interface is intended to be used only with Ubuntu Core.

Requires snapd version 2.23+.

Interface documentation:

See Interface management and Supported interfaces for further details on how interfaces are used.


Developer details

Auto-connect: no
Super-privileged: yes

Code examples

The test code can be found in the snapd repository: https://github.com/snapcore/snapd/blob/master/interfaces/builtin/classic_support_test.go

The source code for the interface is in the snapd repository: https://github.com/snapcore/snapd/blob/master/interfaces/builtin/classic_support.go

What happens if I connect an arbitrary snap to this interface?

@NatoBoram - the policy that is granted can be found here: https://github.com/snapcore/snapd/blob/master/interfaces/builtin/classic_support.go. In addition to the policy it is important to also understand that while you can install an unasserted snap (ie, --dangerous) that plugs classic-support, that snap requires a snap declaration to be distributed via the store.

1 Like