Implemented the walking code.
Also adding this as another case (that can't be translated / accessed):
<interface type='vhostuser'>
<model type='virtio'/>
<source type='unix' path='/nothing/of/this/exists' mode='server'/>
</interface>
Generates:
"/run/symlinkdisk-doesexist" rwk,
"/run/symlinkdisk-doesnotexist" rwk,
"/run/symlinksocket-doesexist" rw,
"/run/symlinksocket-doesnotexist" rw,
"/run/pathdoesnotexist/symlinksocket" rw,
"/run/symlinknet-doesexist" rw,
"/run/symlinknet-doesnotexist" rw,
"/nothing/of/this/exists" rw,
Which is exactly what we want.
Will look at syntax/style checks after lunch...
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752361
Title:
virt-aa-helper should resolve symlinks and use only resolved paths
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1752361/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs