Could virt-aa-helper simply ask libvirt for what the pool path would be in the case of the XML definition specifying a volume type? Then join the volume name and pool path given and treat that as though it was given a full file path?
Should just mean parsing some more XML to extract an additional piece of information in the case of using a volume type. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1343245 Title: virt-aa-helper does not whitelist actual <source dev='...'> paths for domain <disk type='volume'> To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1343245/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs