unshare: add note about persisten PID namespaces

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2017-03-27 13:25:31 +02:00
parent e4e8b57be2
commit ca5389757e
1 changed files with 2 additions and 1 deletions

View File

@ -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.