Cool, that worked! Thus: solved!

ubuntu@ubuntu:~$ systemd-detect-virt
Failed to check for virtualization: Permission denied
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ sudo apt install -t $(lsb_release -sc)-proposed apparmor
Upgrading:
  apparmor

Summary:
  Upgrading: 1, Installing: 0, Removing: 0, Not Upgrading: 24
  Download size: 749 kB
  Space needed: 0 B / 5223 MB available

Get:1 http://ports.ubuntu.com/ubuntu-ports questing-proposed/main riscv64 
apparmor riscv64 5.0.0~alpha1-0ubuntu8.3 [749 kB]
Fetched 749 kB in 1s (764 kB/s)
Preconfiguring packages ...
(Reading database ... 129643 files and directories currently installed.)
Preparing to unpack .../apparmor_5.0.0~alpha1-0ubuntu8.3_riscv64.deb ...
Unpacking apparmor (5.0.0~alpha1-0ubuntu8.3) over (5.0.0~alpha1-0ubuntu8.1) ...
Setting up apparmor (5.0.0~alpha1-0ubuntu8.3) ...
Installing new version of config file /etc/apparmor.d/lsblk ...
Installing new version of config file /etc/apparmor.d/systemd-detect-virt ...
Installing new version of config file /etc/apparmor.d/tnftp ...
Reloading AppArmor profiles
Processing triggers for systemd (257.9-0ubuntu2) ...
Processing triggers for man-db (2.13.1-1) ...
Processing triggers for procps (2:4.0.4-8ubuntu3) ...
Scanning processes...
Scanning linux images...

Running kernel seems to be up-to-date (ABI upgrades are not detected).

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
ubuntu@ubuntu:~$ systemd-detect-virt
qemu
ubuntu@ubuntu:~$

-- 
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