There are also errors with block devices whose PCI bus contains non-decimal hex 
characters.
On my system, "lsblk /dev/nvme2n1" results in
audit: type=1400 audit(1751394406.516:554): apparmor="DENIED" operation="open" 
class="file" profile="lsblk" 
name="/sys/devices/pci0000:a0/0000:a0:01.1/0000:a1:00.0/nvme/nvme2/nvme2n1/" 
pid=164652 comm="lsblk" requested_mask="r" denied_mask="r" fsuid=0 ouid=0

I created https://gitlab.com/apparmor/apparmor/-/merge_requests/1729 to
fix this

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

Title:
  lsblk: failed to get sysfs name: Permission denied

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


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

Reply via email to