doc: improve doc.

This commit is contained in:
Alexandre Pujol 2024-01-27 23:13:43 +00:00
parent a3b1597364
commit c68cdd14a3
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
6 changed files with 27 additions and 12 deletions

View file

@ -6,9 +6,17 @@ title: Report AppArmor logs
The **[aa-log](usage.md#apparmor-log)** tool reports all AppArmor `DENIED` and `ALLOWED`. It should be used to fix AppArmor related issues.
While testing, if something get wrong, you need to put the profile in complain mode, to that you can investigate, and it does not block your program.
While testing, if something get wrong, you need to put the profile in complain mode, so that you can investigate, and it does not block your program.
When creating [an issue on Github][newissue]. Please ensure you post a link to the [paste] of the AppArmor audit log: `/var/log/audit/audit.log`.
When creating [an issue on Github][newissue], please post a link to the [paste] of the audit log generated with:
```sh
aa-log -R
```
If this command produce nothing, try:
```sh
aa-log -s -R
```
[newissue]: https://github.com/roddhjav/apparmor.d/issues/new
[paste]: https://pastebin.com/