Confused about some strange behaviour #170
-
Whenever new commits are made in this project I update it on my Arch system by executing And I ran into problems: After updating apparmor.d I got a updates for Arch, among them a new
So I added the Another example: The Brave profile on https://github.com/roddhjav/apparmor.d/blob/main/apparmor.d/groups/browsers/brave has the following line 17:
The profile on my system has - even after today's update - the line:
Other examples: in the apparmor.d/groups/apps directory are profiles for, e.g., Okular and Thunderbird. I had profiles for those applications before starting to use apparmor.d - but why are those profiles never overwritten when updating apparmor.d? Those apps are not included in the *.ignore files . I'm sorry but I don't have an explanation for this behaviour. It seems that a number of profiles are not properly overwritten when updating apparmor.d. Am I doing something wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
To sum it up all of this is prebuild magic happening at package build time:
|
Beta Was this translation helpful? Give feedback.
-
I see. Thanks!
Yes, I'm aware of that. I'm just worried that the local profile doesn't match the profile on https://github.com/roddhjav/apparmor.d/blob/main/apparmor.d/groups/browsers/brave . I still don't understand why.
Yes, I know. This is actually not what I'm worried about ;)
Okay, I see. Sorry for missing that. I suggest to document this somewhere. |
Beta Was this translation helpful? Give feedback.
-
The problem that the profile on my system doesn't match the one on github also exists for Firefox. On https://github.com/roddhjav/apparmor.d/blob/main/apparmor.d/groups/browsers/firefox the profile line is:
On my system the profile line is:
I still don't get it. It's confusing. |
Beta Was this translation helpful? Give feedback.
-
I see. Btw, the |
Beta Was this translation helpful? Give feedback.
I do not see any problem here. As mentionned,
@{exec_path}
is resolved into/{{usr/,}bin/firefox{,.sh,-esr,-bin},{usr/,}lib{,32,64}/firefox{,.sh,-esr,-bin}/firefox{,.sh,-esr,-bin},opt/firefox{,.sh,-esr,-bin}/firefox{,.sh,-esr,-bin}}
. The rest is the same.