3 ms·
Does anybody know how/if this deals with /dev and /proc and /sys and all those? Usually you need to separately bind-mount these in your chroot.
by dima55 6y ago
Does anybody know how/if this deals with /dev and /proc and /sys and all those? Usually you need to separately bind-mount these in your chroot.
- Overv 6y agoThey are indeed bind-mounted separately in the chroot on top of the local file system: https://github.com/Overv/outrun/blob/1e86c429c60022421de68f2c004795108138f300/outrun/operations/remote.py#L154 https://github.com/Overv/outrun/blob/1e86c429c60022421de68f2...
- dima55 6y agoAh. The follow-up question would be "how do you do that without root access?" But I now see that the docs say root access is required. I was hoping you'd have some magic way that didn't require it. Thanks for replying
- e12e 6y agoIf it's just the chroot part that needs root, that might be offloaded to some stand alone suid components i guess? And/or maybe some of the lxc tools could help. Actually looking at the (very good!) readme, I'm thinking that the most interesting part is the custom file system. I've been looking for the "perfect" networked filesystem, and this is the first new effort I've seen that seems to check most boxes (not disconnected operation though, but that is tall order..). The only other contender I'm aware of is coda: https://github.com/cmusatyalab/coda https://github.com/cmusatyalab/coda And maybe openAfs: https://www.openafs.org/ https://www.openafs.org/ But I never did get around to play much with either. Maybe it's time for someone to build another system on top of foundationdb?