Request for auto-connection: ubports-pdk

There are two auto connections which we would like to gain for our UBports Platform Development Kit:

  • kvm: The PDK provides a QEMU+KVM virtual machine as its main feature
  • network-control: virtiofsd is required for sharing files between the host and the guest, and fails with unshare(CLONE_FS) failed with EPERM otherwise.
1 Like

+1 from me for auto-connect kvm and network-control for the reasons provided. Can other @reviewers please vote?

@beidl thanks for taking the suggestions into account and discarding the classic confinement request. Even though these two interfaces are privileged, the attack surface is smaller compared to granting classic confinement (which effectively grants device ownership to the snap).

+1 from me too as these are needed for primary functions of this snap. +2 votes for, 0 votes against, granted auto-connect of kvm and network-control for ubports-pdk. This is now live.