gittup / tup

Tup is a file-based build system.
http://gittup.org/tup/
GNU General Public License v2.0
1.18k stars 145 forks source link

tup in lxc container: remount errors #261

Open jots opened 8 years ago

jots commented 8 years ago

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?

Qix- commented 8 years ago

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

jots commented 8 years ago

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

Qix- commented 8 years ago

What version of Tup are you running?

jots commented 8 years ago

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

p2rkw commented 7 years ago

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.