summaryrefslogtreecommitdiffstats
path: root/sys-utils/unshare.1
diff options
context:
space:
mode:
authorKarel Zak2017-03-27 13:25:31 +0200
committerKarel Zak2017-03-27 13:25:31 +0200
commitca5389757ea51b65ed318700482d60b7ddb8ee16 (patch)
tree04222b14b603dc4196c0d301108db28c237fc8b1 /sys-utils/unshare.1
parentfincore: add column RES (diff)
downloadkernel-qcow2-util-linux-ca5389757ea51b65ed318700482d60b7ddb8ee16.tar.gz
kernel-qcow2-util-linux-ca5389757ea51b65ed318700482d60b7ddb8ee16.tar.xz
kernel-qcow2-util-linux-ca5389757ea51b65ed318700482d60b7ddb8ee16.zip
unshare: add note about persisten PID namespaces
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/unshare.1')
-rw-r--r--sys-utils/unshare.13
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-utils/unshare.1 b/sys-utils/unshare.1
index dd12c7446..79ab96a1b 100644
--- a/sys-utils/unshare.1
+++ b/sys-utils/unshare.1
@@ -14,7 +14,8 @@ run (default: /bin/sh).
The namespaces can optionally be made persistent by bind mounting
/proc/\fIpid\fR/ns/\fItype\fR files to a filesystem path and entered with
.BR \%nsenter (1)
-even after the \fIprogram\fR terminates.
+even after the \fIprogram\fR terminates (except PID namespaces where
+permanently running init process is required).
Once a persistent \%namespace is no longer needed, it can be unpersisted with
.BR umount (8).
See the \fBEXAMPLES\fR section for more details.