Auto-connection request for run-mnt-tee-data system-files interface in tegra-kernel

Hello, I would like to request an auto-connection declaration to be added for the run-mnt-tee-data system-files interface in the tegra-kernel snap. This is required during the installation process for full-disk-encryption to be enabled.

This request is related to two more auto-connection requests:


name: tegra-kernel
description: nvidia-tegra linux kernel
snapcraft: https://git.launchpad.net/~sebwey/canonical-kernel-snaps/tree/snapcraft.yaml?h=sebwey/optee
upstream: https://code.launchpad.net/~canonical-kernel-snaps/canonical-kernel-snaps/+git/kernel-snaps-u24.04/+ref/tegra
upstream-relation: Member of riverside team that does NVIDIA Tegra enablement
plugs:
  daemon-notify:
    interface: system-files
    attributes:
      write: /run/mnt/tee-data
    request-type: auto-connection
    reasoning: We want to run tee-supplicant from the kernel snap to make it available to users through a content interface so third-party trusted applications can be loaded. The tee-supplicant needs access to a dedicated tee-data partition (/dev/disk/by-partlabel/tee-data as defined in the tegra-gadget: https://git.launchpad.net/~ubuntu-tegra/+git/tegra-gadget/tree/gadget.yaml?h=22-igx). This gets mounted under /run/mnt/tee-data and will contain the TPM measurements that we will compare against during the boot process to unseal the decryption keys.

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

Hi @sebwey

+1 from me to grant write access to /run/mnt/tee-data using system-files interface with auto-connection. What do other reviewers think?

Hello @sebwey,

This is also a +1 from me for granting auto-connection for the system-files interface as specified to the snap tegra-kernal.

Hi @sebwey

Please upload a new revision of the snap with the daemon-notify system files interface, thanks!

Hello @shishirsub10 ,

I uploaded revision 134 of the kernel snap that includes the run-mnt-tee-data system-files interface. Please note that I made a mistake in the original request and the system-files interface is not called daemon-notify but run-mnt-tee-data. Apart from that it is the same.

Thanks!

Hi @sebwey

I do not see run-mnt-tee-data system-files interface in the latest revision of the snap. Please advice on how to proceed.

Hi @shishirsub10 , Sorry, we removed the revision with that interface as it was interfering with the publication of a snap from our build pipeline.

I just manually uploaded revision 136 of the snap, please check if you have what you need now!

Thanks!

@sebwey Revision 136 does not define run-mnt-tee-data system-files interface.

My bad, I had two similarly named kernel snaps in the same directory when uploading and uploaded the wrong one.

Rev 137 should be good!

+2 votes for, 0 votes against, Publisher is already vetted, Granting write access to /run/mnt/tee-data using system-files interface, this is now live.