[Bug 1343245] Re: virt-aa-helper does not whitelist actual paths for domain

2017-09-19 Thread ChristianEhrhardt
*** This bug is a duplicate of bug 1677398 *** https://bugs.launchpad.net/bugs/1677398 Interestingly enough working on another issue I realized that these two are actually the same. And I even ended up at the same conclusions e.g. it would need the translate call. I've worked a bit further

[Bug 1343245] Re: virt-aa-helper does not whitelist actual paths for domain

2017-05-19 Thread ChristianEhrhardt
It has access to the libvirt view of datastructures already - it uses the same function libvirt does to parse the xml and then has the structures libvirt would use. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1343245] Re: virt-aa-helper does not whitelist actual paths for domain

2017-05-19 Thread ChristianEhrhardt
I didn't retry if this is any better these days, but I'm collecting a bunch of virt-aa-helper bugs together so that they reach a critical mass some day to spend the effort of a implementation and upstreaming session. Tagging this accordingly now. If one could spend the time to recheck this on

[Bug 1343245] Re: virt-aa-helper does not whitelist actual paths for domain

2017-05-18 Thread Darragh Bailey
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