---
name: "snap-discard-ns"
section: "5"
platform: "linux"
package: "snap-confine"
version: "2.21-2+b1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/snap-discard-ns/5"
---

# snap-discard-ns(5)

internal tool for discarding preserved namespaces of snappy applications

## NAME

snap-discard-ns - internal tool for discarding preserved namespaces of snappy applications

## SYNOPSIS

snap-discard-ns SNAP\_NAME

## DESCRIPTION

The *snap-discard-ns* is a program used internally by *snapd* to discard a preserved mount namespace of a particular snap.

## OPTIONS

The *snap-discard-ns* program does not support any options.

## ENVIRONMENT

*snap-discard-ns* responds to the following environment variables

- ***SNAP\_CONFINE\_DEBUG*:**

  When defined the program will print additional diagnostic information about the actions being performed. All the output goes to stderr.

## FILES

*snap-discard-ns* uses the following files:

*/run/snapd/ns/$SNAP\_NAME.mnt*:

The preserved mount namespace that is unmounted by *snap-discard-ns*.

## BUGS

Please report all bugs with *https://bugs.launchpad.net/snap-confine/+filebug*

## AUTHOR

zygmunt.krynicki@canonical.com

## COPYRIGHT

Canonical Ltd.
