How to allow Cpanel Simfs mounts in LXC CT's on PVE 5.1 with apparmor?

mathx

Renowned Member
Jan 15, 2014
172
3
83
Following along hints from

https://unix.stackexchange.com/ques...containers-to-mount-nfs-shares-on-the-network

and elsewhere, I've updated

/etc/apparmor.d/lxc/lxc-default-with-mounting

to include simfs in the list, and then in the lxc container's .conf set

lxc.apparmor.profile: lxc-default-with-mounting

(Ive also commented out the lxc.cap.drop = setfcap sys_nice sys_pacct sys_rawio line from
/usr/share/lxc/config/fedora.common.conf and set that as an include: line in the lxc container's .conf file)

but now the container wont start.

How to allow Cpanel Simfs mounts?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!