Skip to content

How do you begin making a profile for a program when it crashes even in complain mode? #415

Answered by roddhjav
odomingao asked this question in Q&A
Discussion options

You must be logged in to vote

You may want to read the info div of https://apparmor.pujol.io/issues: a profile in complain mode cannot break the program it confines, however, there are some major exceptions:

  • deny rules are enforced even in complain mode,
  • attach_disconnected (and mediate_deleted) will break the program if they are required and missing in the profile,
  • If AppArmor does not find the profile to transition rPx.

You can check these error in the log with: aa-log | grep error=

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@odomingao
Comment options

Answer selected by odomingao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants