.\" Man page generated from reStructuredText. . .TH SNAP-DISCARD-NS 8 "2018-10-17" "2.36" "snappy" .SH NAME snap-discard-ns \- internal tool for discarding preserved namespaces of snappy applications . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .INDENT 0.0 .INDENT 3.5 snap\-discard\-ns [\-\-from\-snap\-confine] SNAP_INSTANCE_NAME .UNINDENT .UNINDENT .SH DESCRIPTION .sp The \fIsnap\-discard\-ns\fP is a program used internally by \fIsnapd\fP to discard a preserved mount namespace of a particular snap. .SH OPTIONS .sp The \-\-from\-snap\-confine option is used internally by snap\-confine to tell snap\-discard\-ns that it is invoked from snap\-confine and can disable locking. .SH ENVIRONMENT .sp \fIsnap\-discard\-ns\fP responds to the following environment variables .INDENT 0.0 .TP .B \fISNAP_CONFINE_DEBUG\fP: When defined the program will print additional diagnostic information about the actions being performed. All the output goes to stderr. .UNINDENT .SH FILES .sp \fIsnap\-discard\-ns\fP uses the following files: .sp \fI/run/snapd/ns/$SNAP_INSTNACE_NAME.mnt\fP: \fI/run/snapd/ns/$SNAP_INSTNACE_NAME.*.mnt\fP: .INDENT 0.0 .INDENT 3.5 The preserved mount namespace that is unmounted and removed by \fIsnap\-discard\-ns\fP\&. The second form is for the per\-user mount namespace. .UNINDENT .UNINDENT .sp \fI/run/snapd/ns/snap.$SNAP_INSTNACE_NAME.fstab\fP: \fI/run/snapd/ns/snap.$SNAP_INSTNACE_NAME.*.fstab\fP: .INDENT 0.0 .INDENT 3.5 The current mount profile of a preserved mount namespace that is removed by \fIsnap\-discard\-ns\fP\&. .UNINDENT .UNINDENT .SH BUGS .sp Please report all bugs with \fI\%https://bugs.launchpad.net/snapd/+filebug\fP .SH AUTHOR zygmunt.krynicki@canonical.com .SH COPYRIGHT Canonical Ltd. .\" Generated by docutils manpage writer. .