[pkg-apparmor] Bug#805002: libvirt-client: "virsh attach-disk" fails with AppArmor enabled

Guido Günther agx at sigxcpu.org
Mon Jan 15 08:22:19 UTC 2018


Hi,
On Sun, Jan 14, 2018 at 10:23:45AM +0100, intrigeri wrote:
> Hi!
> 
> I've tried to reproduce this on current sid and
> "virsh attach-disk <domain> <source> <target>"
> worked just fine:
> 
>  - The command returns 0.
>  - <source> is added to /etc/apparmor.d/libvirt/libvirt-$id.files.
>  - There's a apparmor="STATUS" operation="profile_replace" operation
>    in the Journal.
>  - The attached disk is visible in the guest.
> 
> Guido, can you please confirm?
> 
> If this now works for you on current testing/sid, let's close this
> bug… finally. Thanks for your patience!
> 
> I didn't check if the bugfix was brought by a kernel upgrade, AppArmor
> parser upgrade, or something else entirely.

This works with 4.0.0~rc1 (to be uploaded soonish) so feel free to close
this one.
Cheers,
 -- Guido



More information about the pkg-apparmor-team mailing list