Age | Commit message (Collapse) | Author |
|
With the tar backend, there was a chdir(~/.cache/unschroot/...) that
would fail if ~ was lacking execute permission for others. Now we chdir
there before unsharing and then do relative operations to support that
use case.
|
|
|
|
|
|
os.getlogin() returns an undesired value in a runuser environment and is
not overridable with environment.
|
|
While the first implementation created new namespaces for every
invocation in a similar way to sbuild's unshare mode, the second
implementation keeps a backround process with persistent user and mount
namespace around. This allows using a new tmpfs as backing device and
using fuse mounts for underlying filesystems.
Communication between the background process and the cli is implemented
using the https://github.com/helmutg/asyncvarlink varlink
implementation.
Chroots can be detected from typical locations or configured via
~/.config/unschroot.ini.
Thanks go out for fruitful discussions, feedback and testing to:
* Christian Hofstaedler
* Christoph Berg
* Enrico Zini
* Jochen Sprickerhof
* Johannes Schauer Marin Rodrigues
* Thomas Walz
|