apparmor denied something was working before
- Login o registrati per inviare commenti
I recently installed guix binary on my Trisquel 9 machine. I am using virt-manager and qemu gives this error:
Traceback (most recent call last):
File "/gnu/store/0ja99g5f2x349b7z5p08xcy0i255rwa4-virt-manager-2.2.1/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/gnu/store/0ja99g5f2x349b7z5p08xcy0i255rwa4-virt-manager-2.2.1/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb
callback(*args, **kwargs)
File "/gnu/store/0ja99g5f2x349b7z5p08xcy0i255rwa4-virt-manager-2.2.1/share/virt-manager/virtManager/object/libvirtobject.py", line 66, in newfn
ret = fn(self, *args, **kwargs)
File "/gnu/store/0ja99g5f2x349b7z5p08xcy0i255rwa4-virt-manager-2.2.1/share/virt-manager/virtManager/object/domain.py", line 1279, in startup
self._backend.create()
File "/gnu/store/i97z6ds7yn5w5ivdaf3jwd52v100j2q6-python-libvirt-5.8.0/lib/python3.8/site-packages/libvirt.py", line 1136, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirt.libvirtError: internal error: Did not find USB device 046d:0870
journalctl reports this:
Feb 03 16:55:40 lap audit[3269]: AVC apparmor="STATUS" operation="profile_replace" profile="unconfined" name="libvirt-f3ed14a0-a759-447c-963e-834638d69b0c" p
Feb 03 16:55:40 lap kernel: audit: type=1400 audit(1612389340.333:94): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="libvirt-f3ed1
Feb 03 16:55:40 lap audit[3307]: AVC apparmor="STATUS" operation="profile_replace" profile="unconfined" name="libvirt-f3ed14a0-a759-447c-963e-834638d69b0c" p
Feb 03 16:55:40 lap kernel: audit: type=1400 audit(1612389340.633:95): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="libvirt-f3ed1
Feb 03 16:55:40 lap audit[3304]: AVC apparmor="DENIED" operation="open" profile="libvirt-f3ed14a0-a759-447c-963e-834638d69b0c" name="/dev/bus/usb/006/002" pi
Feb 03 16:55:40 lap kernel: audit: type=1400 audit(1612389340.745:96): apparmor="DENIED" operation="open" profile="libvirt-f3ed14a0-a759-447c-963e-834638d69b
Feb 03 16:55:40 lap kernel: virbr0: port 2(vnet0) entered disabled stat
What I am really confused about is why was it blocked now? Obviously, I want to know how do I fix it. I am an apparmor newbie. I tried running aa-logprof , but it errors on no firefox profile "/etc/apparmor.d/abstractions/ubuntu-browsers.d/firefox".