lxc.aa_profile is deprecated and was renamed to lxc.apparmor.profile

SAM_N

New Member
Nov 16, 2019
3
0
1
Hello together,

I followed the instructions by "tdonkers" in this thread:
https://forum.proxmox.com/threads/is-it-possible-to-run-a-nfs-server-within-a-lxc.24403/
After I have done that, my container is not starting anymore.
It shows the following error:

Code:
vm 119 - lxc.aa_profile is deprecated and was renamed to lxc.apparmor.profile
Job for pve-container@119.service failed because the control process exited with error code.
See "systemctl status pve-container@119.service" and "journalctl -xe" for details.
command 'systemctl start pve-container@119' failed: exit code 1

I don't know, how I should solute this error.
Maybe someone can help me.

Best regards,

SAM_N
 
Hi,
As the error message tells you to change in the config
lxc.aa_profile to lxc.apparmor.profile