The userns interface

The userns interface permits a snap to create new user namespaces. This is a system-level interface, and is not designed to be used with higher level snap applications.

Interface documentation:

See Interface management and Supported interfaces for further details on how interfaces are used.


Developer details

Auto-connect: no
Super-privileged: yes

This interface supports the inclusion of the appropriate AppArmor and seccomp policies to allow user namespaces to be created when this interface is plugged.

Code examples

The test code can be found in the snapd repository: https://github.com/snapcore/snapd/blob/master/interfaces/builtin/userns_test.go

The source code for the interface is in the snapd repository: https://github.com/snapcore/snapd/blob/master/interfaces/builtin/userns.go


Last updated 1 year, 1 month ago.