doc: improve doc.
This commit is contained in:
parent
a3b1597364
commit
c68cdd14a3
6 changed files with 27 additions and 12 deletions
|
|
@ -2,15 +2,12 @@
|
|||
title: Enforce Mode
|
||||
---
|
||||
|
||||
# Enforce Mode
|
||||
|
||||
The default package configuration installs all profiles in *complain* mode. This is a safety measure to ensure you are not going to break your system on initial installation. Once you have tested it, and it works fine, you can easily switch to *enforce* mode. The profiles that are not considered stable are kept in complain mode, they can be tracked in the [`dists/flags`](https://github.com/roddhjav/apparmor.d/tree/main/dists/flags) directory.
|
||||
|
||||
!!! warning
|
||||
|
||||
When reporting issue. Please ensure the profiles are in complain mode
|
||||
|
||||
## Install
|
||||
|
||||
#### :material-arch: Archlinux
|
||||
|
||||
|
|
@ -29,7 +26,15 @@ override_dh_auto_build:
|
|||
make enforce
|
||||
```
|
||||
|
||||
#### :simple-suse: OpenSUSE & Partial install
|
||||
#### :simple-suse: OpenSUSE
|
||||
|
||||
In `dists/apparmor.d.spec`, replace `%make_build` by `make enforce`
|
||||
```diff
|
||||
- %make_build
|
||||
+ make enforce
|
||||
```
|
||||
|
||||
#### Partial install
|
||||
|
||||
Use the `make enforce` command to build instead of `make`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue