1) Booted focal VM, installed linux-azure-edge (v5.11) based kernel,
which installed linux-base-sgx as a dependency from -updates

$ dpkg-query -W linux-base-sgx
linux-base-sgx  4.5ubuntu3.5

No SGX variables present in env

2) Enabled proposed, and installed linux-base-sgx from proposed

$ dpkg-query -W linux-base-sgx
linux-base-sgx 4.5ubuntu3.6


Logged in via ttyS0:
ubuntu@cloudimg:~$ env | grep SGX
SGX_AESM_ADDR=1
ubuntu@cloudimg:~$ systemctl --user show-environment  | grep SGX
SGX_AESM_ADDR=1
ubuntu@cloudimg:~$ systemctl --system show-environment  | grep SGX
SGX_AESM_ADDR=1

Logged in via ssh
ubuntu@cloudimg:~$ ssh ubuntu@192.168.122.37
ubuntu@192.168.122.37's password: 
Welcome to Ubuntu 20.04.2 LTS (GNU/Linux 5.11.0-1007-azure x86_64)
...
Last login: Mon Jul  5 13:38:22 2021 from 192.168.122.1
ubuntu@cloudimg:~$ env | grep SGX
SGX_AESM_ADDR=1

** Tags added: verification-done-focal

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1932582

Title:
  Implement support for Intel SGX

Status in linux package in Ubuntu:
  Fix Released
Status in linux-azure package in Ubuntu:
  Fix Released
Status in linux-azure-5.11 package in Ubuntu:
  Invalid
Status in linux-base package in Ubuntu:
  Fix Released
Status in linux source package in Focal:
  Invalid
Status in linux-azure source package in Focal:
  Invalid
Status in linux-azure-5.11 source package in Focal:
  Fix Committed
Status in linux-base source package in Focal:
  Fix Committed
Status in linux source package in Hirsute:
  Fix Released
Status in linux-azure source package in Hirsute:
  Fix Released
Status in linux-azure-5.11 source package in Hirsute:
  Invalid
Status in linux-base source package in Hirsute:
  Fix Committed
Status in linux source package in Impish:
  Fix Released
Status in linux-azure source package in Impish:
  Fix Released
Status in linux-azure-5.11 source package in Impish:
  Invalid
Status in linux-base source package in Impish:
  Fix Released

Bug description:
  [Impact]

  Backport Linux kernel 5.11 SGX native support to new Azure Ubuntu 20.04
  releases.

  [Fix]

  Update linux-base to add a UDEV rule to set group permissions on the SGX 
device.
  Add an environment variable to default to out-of-proc attestation.

  [Test]

  Install focal:linux-azure-5.11 or hirsute:linux-azure.
  Install linux-base-sgx
  reboot
  systemctl --user show-environment | grep SGX_AESM_ADDR
  systemctl --system show-environment | grep SGX_AESM_ADDR
  login via tty and check $ env | grep SGX_AESM_ADDR
  login via ssh and check $ env | grep SGX_AESM_ADDR

  
  [other info]

  SF:00308240

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1932582/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to