[libvirt] [PATCH 11/12] apparmor, virt-aa-helper: Allow access to ecryptfs files

Christian Ehrhardt christian.ehrhardt at canonical.com
Wed Dec 20 11:03:34 UTC 2017

On Wed, Dec 20, 2017 at 10:50 AM, intrigeri <intrigeri+libvirt at boum.org> wrote:
> Jamie Strandboge:
>> On Tue, 2017-12-19 at 16:03 +0100, Christian Ehrhardt wrote:
>>> +  # Alow access to ecryptfs files (LP: #591769)
>>> +  @{HOME}/.Private/** mrwlk,
>>> +  @{HOMEDIRS}/.ecryptfs/*/.Private/** mrwlk,
>> Hrmm, these rules were never meant to last as long as they have. That
>> said, they are already a part of the AppArmor base abstraction (using
>> owner match though) and virt-aa-helper uses '#include
>> <abstractions/base>'. Are these rules still needed considering the base
>> abstraction? I imagine at worst virt-aa-helper would only need 'r' for
>> some of these...
> I concur with Jamie: I'd rather can avoid spreading copies of these
> rules around if we can.

Checked as well - no more needed.
Thanks for the hint I missed that those were moved into the base abstraction.

More information about the libvir-list mailing list