Ad 1)
Other than the first lines of my opening post?

Ad 2)

ubuntu@ubuntu:~$ date
Thu Oct  9 23:11:31 UTC 2025

ubuntu@ubuntu:~$ systemd-detect-virt
Failed to check for virtualization: Permission denied
ubuntu@ubuntu:~$ journalctl | grep -i apparmor | tail -10

...

Oct 09 23:10:46 ubuntu kernel: audit: type=1400
audit(1760051446.601:242): apparmor="DENIED" operation="open"
class="file" profile="systemd-detect-virt"
name="/sys/firmware/devicetree/base/" pid=5914 comm="systemd-detect-"
requested_mask="r" denied_mask="r" fsuid=0 ouid=0

Oct 09 23:12:16 ubuntu kernel: audit: type=1400
audit(1760051536.269:243): apparmor="DENIED" operation="open"
class="file" profile="systemd-detect-virt"
name="/sys/firmware/devicetree/base/" pid=5920 comm="systemd-detect-"
requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2127111

Title:
  within qemu-RISCV64: systemd-detect-virt results in "Failed to check
  for virtualization: Permission denied"

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to