fsquillace / junest

The lightweight Arch Linux based distro that runs, without root privileges, on top of any other Linux distro.
GNU General Public License v3.0
2.1k stars 110 forks source link

move tmp directory #180

Closed ka223 closed 5 years ago

ka223 commented 7 years ago

Hello,

how can I change the tmp directory in junest?

My /tmp is mounted as no exec, I need to move it to another location.

fsquillace commented 7 years ago

Unfortunately, JuNest is based on proot and it requires to store a file in /tmp directory.

It is not configurable at the moment.

ka223 commented 7 years ago

@fsquillace Thanks, but implementing would be possible ? Maybe something for a feature request ?

fsquillace commented 7 years ago

The lastest proot version contains this possibility (although not well documented) via an environment variable.

Until this one https://github.com/fsquillace/junest/issues/161 does not get fixed we cannot update JuNest to the latest proot version.

You might download the proot code a build and use it directly to the junest image although is a bit challenging.

fsquillace commented 5 years ago

The recommended alternative for JuNest is using the Linux namespace. Closing for now.