We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it by the end of 2024. Read more about it: https://vestacp.com/docs/vesta-2-development
apparmor warning : named network rules not enforced
apparmor warning : named network rules not enforced
if restart apparmor, appear warning : named network rules not enforced at /etc/apparmor.d/usr.sbin.named line 51
What this means ?
whether there is a bug of debian ?
What this means ?
whether there is a bug of debian ?
Re: apparmor warning : named network rules not enforced
It's not bug of Debian. I don't know why but VestaCP in bash script installs apparmor-utils. In default installation, Debian doesn't have AppArmor enabled (only Ubuntu has this feature). It's smillar like SELinux but easier.
So you have 2 options:
1) You'll learn how to work with AppArmor (profiles, etc...). If you want to enable AppArmor:
Problem solved. But you must add/edit downloaded profiles located in /etc/apparmor.d/
2) Easiest way, just disable/remove AppArmor.
MyKE
So you have 2 options:
1) You'll learn how to work with AppArmor (profiles, etc...). If you want to enable AppArmor:
find line GRUB_CMDLINE_LINUX_DEFAULT and add after quet security=apparmor:# nano /etc/default/grub
run:GRUB_CMDLINE_LINUX_DEFAULT="quiet security=apparmor"
then install additional AppArmor profiles:# update-grub
Reboot.# aptitude install apparmor-profiles
Problem solved. But you must add/edit downloaded profiles located in /etc/apparmor.d/
2) Easiest way, just disable/remove AppArmor.
If you want completly remove from HDD:# service apparmor stop
# update-rc.d -f apparmor remove
I'm using Aptitude because of friendlier package management of dependencies when you install/remove.# aptitude remove apparmor apparmor-utils libapparmor-perl libapparmor1 apparmor-profiles
# aptitude purge apparmor apparmor-utils libapparmor-perl libapparmor1 apparmor-profiles
MyKE
Re: apparmor warning : named network rules not enforced
thanks
no problem about Named complaint
in debian distro,
after install vestacp, just need enable grub
sudo service apparmor restart
no problem about Named complaint
in debian distro,
after install vestacp, just need enable grub
Code: Select all
$ sudo perl -pi -e 's,GRUB_CMDLINE_LINUX="(.*)"$,GRUB_CMDLINE_LINUX="$1 apparmor=1 security=apparmor",' /etc/default/grub
$ sudo update-grub
$ sudo reboot
Re: apparmor warning : named network rules not enforced
I think we will disable apparmor when installing Vesta