tup
tup copied to clipboard
tup in lxc container: remount errors
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?
Out of curiosity, does it work under sudo
, or do you not have access to that?
I do have access to sudo and I get the same error with sudo tup upd
What version of Tup are you running?
latest from git repo as of yesterday.
tup --version -> tup bootstrap
made with build.sh
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.