[pkg-apparmor] Fwd: Apparmour bug with file usr.lib.libvirt.virt-aa-helper
Christian Boltz
apparmor at cboltz.de
Wed Sep 21 21:28:29 BST 2022
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 --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/pkg-apparmor-team/attachments/20220921/b80608d8/attachment.sig>
More information about the pkg-apparmor-team
mailing list