LXC.CONF edit - cPanel Error

Hi,
I have to edit the way I gave the above link in order for cpanel to work properly how do I do this lxc.conf file. I'm not talking about the contanier conf file.

in the link you sent, the only configuration on the lxc side that's necessary is to unconfine the apparmor profile.
in proxmox this can be done by editing /etc/pve/lxc/CTID.conf and adding: lxc.apparmor.profile: unconfined (this is the same with lxc.aa_profile, however that option is deprecated and replaced with lxc.apparmor.profile)
 
My PVE server doesn't have a /etc/pve/lxc/CTID.conf, is this still accurate for PVE 6.2-11?
yes

CTID needs to be replaced with the ID of the container, e.g., for container ID 100, the file to edit would be /etc/pve/lxc/100.conf
 
  • Like
Reactions: KatyComputer
My PVE server doesn't have a /etc/pve/lxc/CTID.conf, is this still accurate for PVE 6.2-11?

I am planning on putting cPanel in a container -- unless someone says I should use a VM

i'd actually suggest you to use a VM for cpanel, because with containers you need to tweak it quite a bit before it will work properly. (cpanel requires unrestricted access to the system, so you need to use a privileged container and do some workarounds)

also now that i notice, the change that cpanel people are talking about is not supposed to be done in the /etc/pve/lxc/CTID.conf (because this is a proxmox-specific file anyway)

i suggest you use a VM, or search the forum if you're having problems
 
I went with a container, so far, so good, as I run into issues, I will update the forum.

My situation, may be a bit different, we use cPanel & Proxmox to support our clients. Access to our systems is restricted to my co-workers, eliminating many issues present when running a public utility.