doc: expand on the enforce mode swicth.
This commit is contained in:
parent
e226f4eb03
commit
d629ac5788
1 changed files with 7 additions and 1 deletions
|
|
@ -170,12 +170,18 @@ Then, reload the apparmor rules with `sudo systemctl restart apparmor`.
|
||||||
## Enfore Mode
|
## Enfore Mode
|
||||||
|
|
||||||
The default package configuration installs all profile in *complain* mode.
|
The default package configuration installs all profile in *complain* mode.
|
||||||
You can easily switch to *enforce* mode. To do this, edit `PKGBUILD` on Archlinux or `debian/rules` on Debian and remove the `--complain` option to the configure script. Then build the package as usual:
|
Once you tested them and it works fine, you can easily switch to *enforce* mode.
|
||||||
|
To do this, edit `PKGBUILD` on Archlinux or `debian/rules` on Debian and remove
|
||||||
|
the `--complain` option to the configure script. Then build the package as usual:
|
||||||
```diff
|
```diff
|
||||||
- ./configure --complain
|
- ./configure --complain
|
||||||
+ ./configure
|
+ ./configure
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Do not worry, the profiles that are not considered stable are kept in complain mode.
|
||||||
|
They can be tracked in the `dists/flags` directory.
|
||||||
|
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
**AppArmor messages**
|
**AppArmor messages**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue