Request for access to super-privileged interfaces for nvidia-kernel

Hello reviewers!

I am in the process of setting up the nvidia-kernel snap, which will contain the linux-nvidia Ubuntu kernel flavor. We would like it to be capable of providing the same slots as the pc-kernel snap, for the same purposes as the pc-kernel snap. These are necessary as, like the pc-kernel snap, the nvidia-kernel snap provides several NVIDIA graphics driver versions as snap components.

  • name: nvidia-kernel
  • description: The Ubuntu nvidia kernel package as a snap
  • snapcraft: link to snapcraft.yaml
  • upstream: PRIVATE
  • upstream-relation: N/A
  • interfaces: requesting the same interfaces as pc-kernel, all needed to allow classic userspace to attach and consume the various components, as shown below:
slots:                                                                                                             
  content:                                                                                                         
    allow-auto-connection:                                                                                         
      plug-attributes:                                                                                             
        content: $SLOT(content)                                                                                    
      plug-publisher-id:                                                                                           
        - $SLOT_PUBLISHER_ID                                                                                       
      slot-attributes:                                                                                             
        content: kernel-gpu-2404                                                                                   
    allow-connection:       
      plug-attributes:              
        content: $SLOT(content)     
      slot-attributes:              
        content: kernel-gpu-2404
    allow-installation: true
  cuda-driver-libs:
    allow-installation: true
    deny-auto-connection: true
  egl-driver-libs:
    allow-installation: true
    deny-auto-connection: true
  gbm-driver-libs:
    allow-installation: true
    deny-auto-connection: true
  opengl-driver-libs:
    allow-installation: true
    deny-auto-connection: true
  opengles-driver-libs:
    allow-installation: true
    deny-auto-connection: true
  vulkan-driver-libs:
    allow-installation: true
    deny-auto-connection: true

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

Hello @jacobmartin,

This is a clear +1 from me for granting the requested interface slots as specified for the same reasoning as with pc-kernel and other related Canonical-publisher kernel snaps.

Hey folks!

This request also sounds reasonable to me, specially considering that the same set of slots have already been granted to other related Canonical-publisher kernel snaps, as @elisehdy said. +1 from me.

+2 for, 0 against granting the requested set of permissions. This is now live

Thanks for the reviews!