1SNAP-DISCARD-NS(5) snappy SNAP-DISCARD-NS(5)
2
3
4
6 snap-discard-ns - internal tool for discarding preserved namespaces of
7 snappy applications
8
10 snap-discard-ns [--from-snap-confine] SNAP_INSTANCE_NAME
11
13 The snap-discard-ns is a program used internally by snapd to discard a
14 preserved mount namespace of a particular snap.
15
17 The --from-snap-confine option is used internally by snap-confine to
18 tell snap-discard-ns that it is invoked from snap-confine and can dis‐
19 able locking.
20
22 snap-discard-ns responds to the following environment variables
23
24 SNAP_CONFINE_DEBUG:
25 When defined the program will print additional diagnostic infor‐
26 mation about the actions being performed. All the output goes to
27 stderr.
28
30 snap-discard-ns uses the following files:
31
32 /run/snapd/ns/$SNAP_INSTNACE_NAME.mnt: /run/snapd/ns/$SNAP_INST‐
33 NACE_NAME.*.mnt:
34 The preserved mount namespace that is unmounted and removed by
35 snap-discard-ns. The second form is for the per-user mount name‐
36 space.
37
38 /run/snapd/ns/snap.$SNAP_INSTNACE_NAME.fstab:
39 /run/snapd/ns/snap.$SNAP_INSTNACE_NAME.*.user-fstab:
40 The current mount profile of a preserved mount namespace that is re‐
41 moved by snap-discard-ns.
42
44 Please report all bugs with https://bugs.launchpad.net/snapd/+filebug
45
47 zygmunt.krynicki@canonical.com
48
50 Canonical Ltd.
51
52
53
54
552.36 2018-10-17 SNAP-DISCARD-NS(5)