diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-06-09 17:43:51 +0100 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-06-09 17:43:51 +0100 |
commit | 63d347425581d57c639c5cfc1879ab556a2327f1 (patch) | |
tree | cedbdee53703997f81f7dda4dc4e85fd8e970db8 | |
parent | 289c04d0d219a8f92f470a2d2e28791f732c2deb (diff) | |
download | sandboxlib-63d347425581d57c639c5cfc1879ab556a2327f1.tar.gz |
linux_user_chroot: Correct docstring
The `unshare` and `mount` commands are no longer needed.
-rw-r--r-- | sandboxlib/linux_user_chroot.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sandboxlib/linux_user_chroot.py b/sandboxlib/linux_user_chroot.py index 29e6e06..3cf563f 100644 --- a/sandboxlib/linux_user_chroot.py +++ b/sandboxlib/linux_user_chroot.py @@ -21,11 +21,7 @@ This backend requires the 'linux-user-chroot' program, which can only be used with Linux. The 'linux-user-chroot' program is intended to be 'setuid', and thus usable by -non-'root' users at the discretion of the system administrator. However, the -implementation here also uses 'unshare --mount', which can only be run as -'root'. So this backend can only be run as 'root' at present. Modifying -linux-user-chroot to handle creating the new mount namespace and processing -any extra mounts would be a useful fix. +non-'root' users at the discretion of the system administrator. Much of this code is adapted from Morph, from the Baserock project, from code written by Joe Burmeister, Richard Maw, Lars Wirzenius and others. |