aboutgitcodebugslistschat
path: root/passt.1
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-02-18 16:12:11 +0100
committerStefano Brivio <sbrivio@redhat.com>2022-02-21 13:41:13 +0100
commit745a9ba4284cbe055aac3fadb57efe531c4e3a96 (patch)
tree6283140095f6652d119fbf619890269b3d1d869d /passt.1
parent6c931118643c8fa35935ddbd920cb669dec10021 (diff)
downloadpasst-745a9ba4284cbe055aac3fadb57efe531c4e3a96.tar
passt-745a9ba4284cbe055aac3fadb57efe531c4e3a96.tar.gz
passt-745a9ba4284cbe055aac3fadb57efe531c4e3a96.tar.bz2
passt-745a9ba4284cbe055aac3fadb57efe531c4e3a96.tar.lz
passt-745a9ba4284cbe055aac3fadb57efe531c4e3a96.tar.xz
passt-745a9ba4284cbe055aac3fadb57efe531c4e3a96.tar.zst
passt-745a9ba4284cbe055aac3fadb57efe531c4e3a96.zip
pasta: By default, quit if filesystem-bound net namespace goes away
This should be convenient for users managing filesystem-bound network namespaces: monitor the base directory of the namespace and exit if the namespace given as PATH or NAME target is deleted. We can't add an inotify watch directly on the namespace directory, that won't work with nsfs. Add an option to disable this behaviour, --no-netns-quit. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'passt.1')
-rw-r--r--passt.15
1 files changed, 5 insertions, 0 deletions
diff --git a/passt.1 b/passt.1
index 7070a31..485e1db 100644
--- a/passt.1
+++ b/passt.1
@@ -427,6 +427,11 @@ for sandboxing purposes either. This is implied if PATH or NAME are given
without \-\-userns.
.TP
+.BR \-\-no-netns-quit
+If the target network namespace is bound to the filesystem (that is, if PATH or
+NAME are given as target), do not exit once the network namespace is deleted.
+
+.TP
.BR \-\-nsrun-dir " " \fIpath
Directory for nsfs mountpoints, used as path prefix for names of namespaces.