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

Dark26

Renowned Member
Nov 27, 2017
273
25
68
47
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
 

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!