I got these:
$ echo includetest
/f {
# target doesn't need to exist to test if this rule can be compiled
include if exists <foo>
}
$ apparmor_parser -QT ./includetest
AppArmor parser error for ./include.test in ./include.test at line 3: Could not
open 'if'
$
OR (if supported)
$ echo includetest
# target doesn't need to exist to test if this rule can be compiled
include if exists <foo>
$ apparmor_parser -QT ./includetest
$
That is nice, but still a runtime test.
I'd like to have a compile time test, but that doesn't seem to exist right now
:-/
Thanks @jjohansen for this test still!
As I assumed before I think the best chance we have for a real compile time
test is to tap on the pkg-config of libapparmor-dev and check that it is >=2.13.
And we can ensure that on merging this the package also has a versioned
dependency to *apparmor* things.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1745114
Title:
Please add guest uuid and guest-generic local include files
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1745114/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs