STANNIX Community


Manual: snap-discard-ns

snap-discard-ns(5)					   snappy					  snap-discard-ns(5)

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

SYNOPSIS
	  snap-discard-ns [--snap-already-locked|--from-snap-confine] SNAP_INSTANCE_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-already-locked is used to indicate that the snap lock has already been taken, which snap-discard-ns  veri‐
       fies internally.	 The --from-snap-confine option is an alias for this option but is used only internally when calling
       snap-discard-ns from snap-confine.

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_INSTNACE_NAME.mnt: /run/snapd/ns/$SNAP_INSTNACE_NAME.*.mnt:
	  The preserved mount namespace that is unmounted and removed  by  snap-discard-ns.  The  second  form	is  for	 the
	  per-user mount namespace.

       /run/snapd/ns/snap.$SNAP_INSTNACE_NAME.fstab: /run/snapd/ns/snap.$SNAP_INSTNACE_NAME.*.user-fstab:
	  The current mount profile of a preserved mount namespace that is removed by snap-discard-ns.

BUGS
       Please report all bugs with 

Author
       zygmunt.krynicki@canonical.com

Copyright
       Canonical Ltd.

2.36							 2018-10-17					  snap-discard-ns(5)