[Bug 1745114] Re: Please add guest uuid and guest-generic local include files

2020-08-29 Thread Launchpad Bug Tracker
This bug was fixed in the package libvirt - 6.6.0-1ubuntu2 --- libvirt (6.6.0-1ubuntu2) groovy; urgency=medium * d/p/u/lp-1892826-Revert-m4-virt-xdr-rewrite-XDR-check.patch: avoid clashes between libtripc and glibc that break libvirt-lxc (LP: #1892826) *

[Bug 1745114] Re: Please add guest uuid and guest-generic local include files

2020-08-19 Thread Launchpad Bug Tracker
** Merge proposal unlinked: https://code.launchpad.net/~paelzer/ubuntu/+source/libvirt/+git/libvirt/+merge/389531 -- 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

[Bug 1745114] Re: Please add guest uuid and guest-generic local include files

2020-08-19 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~paelzer/ubuntu/+source/libvirt/+git/libvirt/+merge/389531 -- 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

[Bug 1745114] Re: Please add guest uuid and guest-generic local include files

2020-08-07 Thread Christian Ehrhardt 
Turns out this isn't as complex as I thought. It was meant to work anyway but broken inadvertently in 2017 by eba2225b. That will allow per UUID overrides and is what one would want IMHO. I started to upstream the given change and will include it in 6.6 if things work out. -- You received this

[Bug 1745114] Re: Please add guest uuid and guest-generic local include files

2019-07-04 Thread Christian Ehrhardt 
I got these: $ echo includetest /f { # target doesn't need to exist to test if this rule can be compiled include if exists } $ apparmor_parser -QT ./includetest AppArmor parser error for ./include.test in ./include.test at line 3: Could not open 'if' $ OR (if supported) $

[Bug 1745114] Re: Please add guest uuid and guest-generic local include files

2019-07-02 Thread Christian Ehrhardt 
I might have asked at a bad time of day, document it here @jjohansen/jdstrand (now subscribed to the bug): [13:50] does the 2.13.2-9ubuntu7 have the "include if exists" code that we once discussed for https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1745114 ? [13:50] if so, is there a way

[Bug 1745114] Re: Please add guest uuid and guest-generic local include files

2018-08-21 Thread  Christian Ehrhardt 
FYI - until we can make this work, please do realize that at least the global abstraction libvirt-qemu got a local override in Cosmic that can be used to extend rules for all guests without having to bother with conffile prompts later on. -- You received this bug notification because you are a

[Bug 1745114] Re: Please add guest uuid and guest-generic local include files

2018-08-21 Thread  Christian Ehrhardt 
I summarized it in another bug nicely (I think), quoting it here to be on the main bug as well: This had two phases with both having had their own issues: Phase I: ~2013-2016: the libvirt- stayed around and could be used for such overrides, but they cluttered the file system and overview was

[Bug 1745114] Re: Please add guest uuid and guest-generic local include files

2018-08-21 Thread  Christian Ehrhardt 
As I assumed the old (cron) and new (virt-aa-helper call) cleanup code makes the libvirt- files unusable. Also all old approaches wanted to avoid cluttering /etc/apparmor.d/libvirt/* to not loose overview. Best (not fastest, but best) solution would really the "include if avail" once available

[Bug 1745114] Re: Please add guest uuid and guest-generic local include files

2018-08-15 Thread  Christian Ehrhardt 
Actually I'm stupid, the base file being /etc/apparmor.d/libvirt/libvirt- is providing exactly that already. I need to check if that would survive a lifecycle of destroy/undefine/define and such (I think recent versions remove it), but we should check before adding another. -- You received

[Bug 1745114] Re: Please add guest uuid and guest-generic local include files

2018-08-08 Thread  Christian Ehrhardt 
Split bug 1786019 for the non "if exists" code -- 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

[Bug 1745114] Re: Please add guest uuid and guest-generic local include files

2018-08-08 Thread  Christian Ehrhardt 
The code is not in Cosmic, so not considering this this cycle yet -- 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

[Bug 1745114] Re: Please add guest uuid and guest-generic local include files

2018-06-11 Thread  Christian Ehrhardt 
Check if we could use this tech to also provide something like a conf.d directory for virt-aa-helper. E.g. tools that use other image paths could drop conf files - need to check wildcard support on the include thou if that is possible. -- You received this bug notification because you are a

[Bug 1745114] Re: Please add guest uuid and guest-generic local include files

2018-06-07 Thread  Christian Ehrhardt 
** Tags added: libvirt-18.10 -- 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:

[Bug 1745114] Re: Please add guest uuid and guest-generic local include files

2018-01-26 Thread ChristianEhrhardt
** Tags added: libvirt-apparmor-dev -- 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

[Bug 1745114] Re: Please add guest uuid and guest-generic local include files

2018-01-24 Thread ChristianEhrhardt
Just now possible: - Needs apparmor 2.12.1, 2.11.2, and 2.10.4 - So libvirt needs hard dependency on that - New syntax is like: include if exists (<...>|"...") so just like regular includes with "if exists" between the include and the path Next steps: wait until new apparmor is ready and