[pkg-apparmor] Bug#1003158: Bug#1003158: apparmor: tunables/home seems to have wrong order of variables

Christian Boltz debian-bugs at cboltz.de
Wed Jan 5 20:13:12 GMT 2022


Hello,

AppArmor rules are in most cases declarative so that the order doesn't 
matter (exception: before you can extend a variable with "+=" you have 
to initialize it with "=").

The current definition is technically not a bug, "just" confusing.
However, I agree that defining @{HOMEDIRS} before using it would make 
sense to make it less confusing for human parsers ;-)

I submitted a patch for re-ordering the variable definition upstream:
    https://gitlab.com/apparmor/apparmor/-/merge_requests/820

Since the change is more cosmetic, it will probably only be included in 
AppArmor 3.1 and newer. I don't expect to get it backported to the 3.0 
or 2.x branches.


Regards,

Christian Boltz
-- 
> Using the internet since 28.8kbit. Yes, I'm 'old'.
My first modem was 300 bits/sec, you young whipper snapper!  ;-)
[> Yamaban and James Knott 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/20220105/b02fdb5e/attachment-0001.sig>


More information about the pkg-apparmor-team mailing list