Tool for debugging snap confinement policy violations
Snap developers can use this tool to help them debug and fix policy violations.
Each snap runs confined inside its own sandbox. The policy of each sandbox describes what the application is allowed to do. When an application tries to do something that is not allowed, the system logs a policy violation.
This snap
watches syslog for such policy violations,
shows them in a human readable format,
and makes recommendations for how to solve them.
Run the following command to start watching policy violations.
sudo snappy-debug
If you have dropped messages, try the following command instead.
Note: these commands only show policy violations that happen after you run them. So first run one of these commands and then run the snap that you want to debug.
See snappy-debug --help for more information about this tool.
Details for snappy-debug
Package name
snappy-debug
License
GPL-3.0+
Last updated
7 June 2023 - latest/stable
4 June 2024 - latest/edge
This snap hasn't been updated in a while. It might be unmaintained and have stability or security issues.
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
Enable snapd
Snap can be installed from the command line. Open the Konsole terminal and enter the following:
sudo apt update
sudo apt install snapd
Install snappy-debug
To install snappy-debug, simply use the following command: