tup icon indicating copy to clipboard operation
tup copied to clipboard

tup in lxc container: remount errors

Open jots opened this issue 8 years ago • 5 comments

running tup upd get:

mount: Permission denied
tup error: Unable to remount the root file-system as a private mount.
 *** tup errors ***
 *** Command ID=15 failed with return value 1

this is inside an lxc container on ubuntu 14.04 host and container. tried as user and as root. verified that basic FUSE works by successfully using sshfs

any ideas?

jots avatar Jan 18 '16 19:01 jots

Out of curiosity, does it work under sudo, or do you not have access to that?

Qix- avatar Jan 18 '16 19:01 Qix-

I do have access to sudo and I get the same error with sudo tup upd

jots avatar Jan 18 '16 20:01 jots

What version of Tup are you running?

Qix- avatar Jan 18 '16 20:01 Qix-

latest from git repo as of yesterday. tup --version -> tup bootstrap made with build.sh

jots avatar Jan 18 '16 20:01 jots

Still doesn't work:

./build/tup upd
[ tup ] [0.000s] Scanning filesystem...
[ tup ] [0.005s] Reading in new environment variables...
[ tup ] [0.005s] Parsing Tupfiles...
fuse: device not found, try 'modprobe fuse' first
tup error: Timed out waiting for the FUSE file-system to be ready.
tup error: Unable to mount FUSE on .tup/mnt

EDIT: solved by adding

lxc.mount.entry = /dev/fuse dev/fuse none bind,create=file 0 0

to my container's configuration file.

p2rkw avatar Nov 19 '16 19:11 p2rkw