[pkg-apparmor] Fwd: Apparmour bug with file usr.lib.libvirt.virt-aa-helper

Alexandros Vangelatos alecos85 at gmail.com
Wed Sep 21 22:04:43 BST 2022


Hello Christian,

Thank you, that worked, apparmor starts successfully.

So I guess virt-manager version 3.2.0 altered the file before,
and didn't put the last comma.

Thanks again, everyone.

--
Regards,
Alexandros Vangelatos


On Wed, Sep 21, 2022 at 10:28 PM Christian Boltz <apparmor at cboltz.de> wrote:

> Hello,
>
> Am Mittwoch, 21. September 2022, 20:53:04 CEST schrieb Alexandros
> Vangelatos:
> > The contents of the file
> > /etc/apparmor.d/local/usr.lib.libvirt.virt-aa-helper are below (I've
> > also attached it)
> > ----------------------------------------------------------
> > /home/avdzm/Downloads/Distro\ ISOs/** r,
> > /{media,mnt,opt,srv}/** r
> > ----------------------------------------------------------
>
> The second line doesn't have a comma at the end, which probably is why
> you see a syntax error. Append the comma, and it should work.
>
> Actually you can even delete the line
>     /{media,mnt,opt,srv}/** r
> because it is already included in the main profile - and it even has a
> comma there ;-)
>
>
> > I do not understand why the first line is there???
> > It's a directory where I keep distrobutions isos.
> >
> > Should i delete the line?
>
> If you expect libvirt to be able to read these images, better keep it
> (but I have to admit that I'm not sure if virt-aa-helper is the
> component that needs to read images).
>
>
> Regards,
>
> Christian Boltz
> --
> Of course these engineering decisions are not mine and you are free
> to do whatever you want to, but so i am free to rant about it :-)
> [Stefan Seyfried in opensuse-factory]
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-apparmor-team/attachments/20220921/330a8862/attachment.htm>


More information about the pkg-apparmor-team mailing list