Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

FUSE inside unprivileged LXC

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
spacebug
Posts: 2
Joined: 2017-12-31 11:35

FUSE inside unprivileged LXC

#1 Post by spacebug »

How can I use FUSE (for sshfs) inside an unprivileged LXC?

I'm on Debian Stretch.


I have tried adding the line

Code: Select all

lxc.mount.entry = /dev/fuse dev/fuse none bind,create=file 0 0
to the LXC config.
After that I see /dev/fuse inside the LXC. However when I try to use sshfs I get "operation not allowed".


Trying to add the line

Code: Select all

lxc.cgroup.devices.allow = c 10:229 rwm
to the config I get "lxc-start: cgroups/cgfsng.c: cgfsng_setup_limits: 1949 No such file or directory - Error setting devices.allow to c 10:229 rwm for debian".

Post Reply