1) Booted hirsute VM, installed linux-azure (v5.11) based kernel, which installed linux-base-sgx as a dependency, and rebooted
$ dpkg-query -W linux-base-sgx linux-base-sgx 4.5ubuntu5.2 rebooted and no sgx variables were present. 2) installed linux-base-sgx from proposed ubuntu@cloudimg:~$ dpkg-query -W linux-base-sgx linux-base-sgx 4.5ubuntu5.3 And rebooted Logged in via ttyS0 Last login: Mon Jul 5 14:08:10 UTC 2021 on 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 ubuntu@cloudimg:~$ ssh ubuntu@localhost The authenticity of host 'localhost (127.0.0.1)' can't be established. ECDSA key fingerprint is SHA256:LrAhr9h2R3VjerwIMLnzTl9QmzmAvu9J47/SYyiXgIo. Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts. ubuntu@localhost's password: Welcome to Ubuntu 21.04 (GNU/Linux 5.11.0-1009-azure x86_64) .. 36 updates can be applied immediately. To see these additional updates run: apt list --upgradable Last login: Mon Jul 5 14:15:34 2021 ubuntu@cloudimg:~$ env | grep SGX SGX_AESM_ADDR=1 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-azure-5.11 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