admin revised this gist . Go to revision
1 file changed, 1 insertion, 1 deletion
apparmor.md
| @@ -23,7 +23,7 @@ systemctl disable --now apparmor && apt remove --assume-yes --purge apparmor && | |||
| 23 | 23 | ``` | |
| 24 | 24 | ||
| 25 | 25 | ||
| 26 | - | ## Для LXC proxmox, добавить в /etc/pve/lxc/<id>.conf | |
| 26 | + | ## Для LXC proxmox, добавить в /etc/pve/lxc/\<id\>.conf | |
| 27 | 27 | ``` | |
| 28 | 28 | lxc.apparmor.profile: unconfined | |
| 29 | 29 | lxc.mount.entry: /dev/null sys/module/apparmor/parameters/enabled none bind 0 0 | |
admin revised this gist . Go to revision
1 file changed, 7 insertions
apparmor.md
| @@ -22,4 +22,11 @@ init 6 | |||
| 22 | 22 | systemctl disable --now apparmor && apt remove --assume-yes --purge apparmor && init 6 | |
| 23 | 23 | ``` | |
| 24 | 24 | ||
| 25 | + | ||
| 26 | + | ## Для LXC proxmox, добавить в /etc/pve/lxc/<id>.conf | |
| 27 | + | ``` | |
| 28 | + | lxc.apparmor.profile: unconfined | |
| 29 | + | lxc.mount.entry: /dev/null sys/module/apparmor/parameters/enabled none bind 0 0 | |
| 30 | + | ``` | |
| 31 | + | ||
| 25 | 32 | https://fruw.org/posts/ubuntu-apparmor-disable/ | |
admin revised this gist . Go to revision
1 file changed, 25 insertions
apparmor.md(file created)
| @@ -0,0 +1,25 @@ | |||
| 1 | + | # Отключение AppArmor в Ubuntu 24.04 | |
| 2 | + | ||
| 3 | + | Опубликовано 9 октября 2024, 10:51 | |
| 4 | + | ||
| 5 | + | ## Выключение сервиса | |
| 6 | + | ``` | |
| 7 | + | systemctl disable --now apparmor | |
| 8 | + | ``` | |
| 9 | + | ||
| 10 | + | ## Удаление AppArmor | |
| 11 | + | ``` | |
| 12 | + | apt remove --assume-yes --purge apparmor | |
| 13 | + | ``` | |
| 14 | + | ||
| 15 | + | ## Перезагрузка | |
| 16 | + | ``` | |
| 17 | + | init 6 | |
| 18 | + | ``` | |
| 19 | + | ||
| 20 | + | ## Одной командой | |
| 21 | + | ``` | |
| 22 | + | systemctl disable --now apparmor && apt remove --assume-yes --purge apparmor && init 6 | |
| 23 | + | ``` | |
| 24 | + | ||
| 25 | + | https://fruw.org/posts/ubuntu-apparmor-disable/ | |