I just pulled my hair over this issue, trying to use a pool volume on
Debian 12.

I gather from the gitlab issue that there's still no solution on the
horizon. I also gather that a general solution is hard to find. I don't
understand that exactly but I can see that there are lots of different
type of storage pools, and that it'd be hard to figure out the details
for everything. It's unfortunate because volumes have a couple of
advantages over regular files, but wth.

However, I don't understand why after 8 years this still fails in a way
that leaves users totally clueless.

Why can't virt-aa-helper at least print a log message that would provide
a hint to the user, something like "storage pool volumes are
unsupported, expect permission denied errors"? And why is it impossible
to implement support just for the simplest "<pool type='dir'> case?

Actually libvirt itself could provide a warning if it's configured to
use virt-aa-helper and users attempt to start a VM that uses pool
volumes. In the UI, that could even be a warning pop-up...

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

Title:
  Apparmor prevents using storage pools and hostdev networks

To manage notifications about this bug go to:
https://bugs.launchpad.net/libvirt/+bug/1677398/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to