[SOLVED] Ceph-fuse inside lxc container / apparmor="denied"

Dark26

Renowned Member
Nov 27, 2017
279
30
68
48
Bonjour,

I tried to mount with ceph-fuse a cephfs filesystem into a container.

I have activate fuse in the container's config, but still have the message :

[93982.138130] audit: type=1400 audit(1549576985.939:19): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-118_</var/lib/lxc>" name="/mnt/Cephfs/" pid=699243 comm="mount" flags="rw, nosuid, nodev, remount, relatime"

Fuse is working fine with the glusterfs fuse client, on a gluster share.

I think i have to modify something but i don't know what.

Merci

Dark26
 
I have activate fuse in the container's config, but still have the message :

How did you enable this? GUI or Container Config File?

Did you restart the container after activating this setting?

You can try enabling the Nesting feature on the container, and see if that helps you mount Fuse.
 
How did you enable this? GUI or Container Config File? --> Gui

Did you restart the container after activating this setting? --> yes

You can try enabling the Nesting feature on the container, and see if that helps you mount Fuse. --> i just trie and it works!!!

Thanks