docs: some clarrification.
This commit is contained in:
parent
9727d1ce1f
commit
1223b70467
3 changed files with 28 additions and 3 deletions
|
|
@ -10,6 +10,8 @@ The default package configuration installs all profiles in *complain* mode. This
|
|||
|
||||
When reporting issue. Please ensure the profiles are in complain mode
|
||||
|
||||
## Install
|
||||
|
||||
#### :material-arch: Archlinux
|
||||
|
||||
In `PKGBUILD`, replace `make` by `make enforce`:
|
||||
|
|
@ -30,3 +32,17 @@ override_dh_auto_build:
|
|||
#### :simple-suse: OpenSUSE & Partial install
|
||||
|
||||
Use the `make enforce` command to build instead of `make`
|
||||
|
||||
## Track profiles in complain mode
|
||||
|
||||
The [`dists/flags`](https://github.com/roddhjav/apparmor.d/tree/main/dists/flags) directory tracks the profile that have been forced in complain mode. It is used for profile that are not considered stable. Files in this directory should respect the following format: `<profile> <flags>`, flags should be coma separated.
|
||||
|
||||
For instance, to move `adb` in complain mode, edit **[`dists/flags/main.flags`](https://github.com/roddhjav/apparmor.d/blob/main/dists/flags/main.flags)** and add the following line:
|
||||
```sh
|
||||
adb complain
|
||||
```
|
||||
|
||||
Beware, flags defined in this file overwrite flags in the profile. So you may need to add other flags. Example for `gnome-shell`:
|
||||
```sh
|
||||
gnome-shell attach_disconnected,mediate_deleted,complain
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue