The documented testcase for this issue also LGTM.

Bionic
root@b:~# virsh dominfo f
Id:             -
Name:           f
UUID:           18ad0964-736e-4c8d-869b-13083e66beca
OS Type:        hvm
State:          shut off
CPU(s):         1
Max memory:     524288 KiB
Used memory:    524288 KiB
Persistent:     yes
Autostart:      disable
Managed save:   no
Security model: apparmor
Security DOI:   0

root@b:~# cat /dev/null | sudo tee 
/etc/apparmor.d/libvirt/libvirt-18ad0964-736e-4c8d-869b-13083e66beca
root@b:~# ll 
/etc/apparmor.d/libvirt/libvirt-18ad0964-736e-4c8d-869b-13083e66beca
-rw-r--r-- 1 root root 0 Nov 23 11:31 
/etc/apparmor.d/libvirt/libvirt-18ad0964-736e-4c8d-869b-13083e66beca
root@b:~# virsh start f
Domain f started



Focal
root@f:~# virsh dominfo f
Id:             -
Name:           f
UUID:           f4c2021f-14bf-4e04-af31-0667908320f1
OS Type:        hvm
State:          shut off
CPU(s):         1
Max memory:     524288 KiB
Used memory:    524288 KiB
Persistent:     yes
Autostart:      disable
Managed save:   no
Security model: apparmor
Security DOI:   0

root@f:~# cat /dev/null | sudo tee 
/etc/apparmor.d/libvirt/libvirt-f4c2021f-14bf-4e04-af31-0667908320f1
root@f:~# ll 
/etc/apparmor.d/libvirt/libvirt-f4c2021f-14bf-4e04-af31-0667908320f1
-rw-r--r-- 1 root root 0 Nov 23 11:31 
/etc/apparmor.d/libvirt/libvirt-f4c2021f-14bf-4e04-af31-0667908320f1
root@f:~# virsh start f
Domain f started


Hirsute
root@h:~# virsh dominfo f
Id:             -
Name:           f
UUID:           1ceac8db-c1e9-40b2-8ada-a60349454fc1
OS Type:        hvm
State:          shut off
CPU(s):         1
Max memory:     524288 KiB
Used memory:    524288 KiB
Persistent:     yes
Autostart:      disable
Managed save:   no
Security model: apparmor
Security DOI:   0

root@h:~# cat /dev/null | sudo tee 
/etc/apparmor.d/libvirt/libvirt-1ceac8db-c1e9-40b2-8ada-a60349454fc1
root@h:~# ll 
/etc/apparmor.d/libvirt/libvirt-1ceac8db-c1e9-40b2-8ada-a60349454fc1
-rw-r--r-- 1 root root 0 Nov 23 11:31 
/etc/apparmor.d/libvirt/libvirt-1ceac8db-c1e9-40b2-8ada-a60349454fc1
root@h:~# virsh start f
Domain 'f' started


Impish
root@i:~# virsh dominfo f
Id:             -
Name:           f
UUID:           c2cf5436-c7c3-402e-9593-ad7dca047ceb
OS Type:        hvm
State:          shut off
CPU(s):         1
Max memory:     524288 KiB
Used memory:    524288 KiB
Persistent:     yes
Autostart:      disable
Managed save:   no
Security model: apparmor
Security DOI:   0

root@i:~# cat /dev/null | sudo tee 
/etc/apparmor.d/libvirt/libvirt-c2cf5436-c7c3-402e-9593-ad7dca047ceb
root@i:~# ll /etc/apparmor.d/libvirt/libvirt-ll 
/etc/apparmor.d/libvirt/libvirt-c2cf5436-c7c3-402e-9593-ad7dca047ceb
ls: cannot access '/etc/apparmor.d/libvirt/libvirt-ll': No such file or 
directory
-rw-r--r-- 1 root root 0 Nov 23 11:31 
/etc/apparmor.d/libvirt/libvirt-c2cf5436-c7c3-402e-9593-ad7dca047ceb
root@i:~# virsh start f
Domain 'f' started


Almost all complete, scheduling general regression tests now.

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

Title:
  Mitigate libvirt: error : unable to set AppArmor profile 'libvirt-<vm-
  uuid>' for '/usr/bin/kvm-spice': No such file or directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1927519/+subscriptions


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

Reply via email to