squashfs mount in lxc container

osoo

New Member
Feb 22, 2021
6
0
1
47
I am using pve-manager/6.4-5/6c7bf5de (running kernel: 5.4.106-1-pve)
with a debian buster lxc container (apt full-upgrade)
container config:
Code:
arch: amd64
cores: 2
features: fuse=1,mknod=1,mount=nfs;cifs,nesting=1
hostname: ltsp1
memory: 5120
net0: name=eth0,bridge=vmbr0,firewall=1,gw=192.168.1.1,hwaddr=AA:4D:9B:14:77:EC,ip=192.168.1.224/20,type=veth
ostype: debian
rootfs: pvethinpool:vm-224-disk-0,size=8G
swap: 512
lxc.apparmor.profile: unconfined
lxc.cgroup.devices.allow: a
lxc.cap.drop:
lxc.mount.entry: /dev/fuse dev/fuse none bind,create=file,optional
lxc.mount.auto: cgroup:rw

When I try to mount a squasfs in the container I get a
Code:
LANG=EN mount /srv/ltsp/images/x86_64.img /root/looproot/
mount: /root/looproot/: mount failed: Operation not permitted.

(I don't use the fuse mount for that)

Anyone any idea?
 

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!