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

mathx

Renowned Member
Jan 15, 2014
184
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?