snappy-debug

snappy-debug

Canonical Publisher Verified account Verified account

Install latest/stable of snappy-debug

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.


Install using the command line

sudo snap install snappy-debug

Don't have snapd? Get set up for snaps.

Channel Version Published

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.

sudo journalctl --output=short --follow --all | sudo snappy-debug

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

License
  • GPL-3.0+

Last updated
  • 7 June 2023 - latest/stable
  • 4 June 2024 - latest/edge

Contact

Share this snap

Generate an embeddable card to be shared on external websites.


Install snappy-debug on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.


Where people are using snappy-debug

Users by distribution (log)

Ubuntu Core 18
Ubuntu 22.04
Ubuntu 24.04
Ubuntu 20.04
Ubuntu 23.10
Ubuntu 18.04
Ubuntu Core 22
Debian 12
Ubuntu Core 16
Ubuntu Core 20
Manjaro
Ubuntu 16.04
Fedora 40
pop 22.04
Ubuntu 23.04
Debian 11
Debian sid
Linux Mint 20.3
Linux Mint 21.3
Debian 10

Is there a problem with snappy-debug? Report this app