Format AppArmor intervention as diff

This change updates the README to display the AppArmor intervention as
diff to show to the user what to update in their configuration file.
This commit is contained in:
Fabian Mastenbroek 2022-01-10 11:32:08 +01:00
parent 339e99fd87
commit 14ba82bac8
No known key found for this signature in database
GPG key ID: 405FC6F81F0A7B85

View file

@ -48,10 +48,11 @@ apt install ./pve-kernel-VERSION_amd64.deb
Previously, these kernels required changing the AppArmor feature file to a non-default version.
This issue has been fixed since version 5.16.
If you have used the workaround, please update back to the default configuration in `/etc/apparmor/parser.conf` as follows:
```
```diff
## Pin feature set (avoid regressions when policy is lagging behind
## the kernel)
features-file=/usr/share/apparmor-features/features
## the kernel)
- features-file=/usr/share/apparmor-features/features.stock
+ features-file=/usr/share/apparmor-features/features
```
## Building manually