snap interfaces output is overwhelming

Bug #1750872 reported by Alan Pope 🍺🐧🐱 🦄
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
snapd
Fix Released
High
Maciej Borzecki

Bug Description

I want to see which interfaces a specific app is using.

snap interfaces <snap>

This should show me which interfaces one snap (the one specified) is using. It doesn't. It shows all the interfaces used by that snap, and all other apps using those interfaces, which when you have a lot of snaps is maddeningly hard to read.

(the following output is on a relatively clean system where I have only 20 snaps installed. My previous install had over 100 and this was unreadable.

alan@hal:~$ snap interfaces discord
Slot Plug
:browser-support discord,firefox:browser-sandbox,irccloud-desktop,notepadqq,onlyoffice-desktopeditors,spotify
:camera discord
:desktop discord,gnome-calculator,irccloud-desktop,libreoffice,mumble,notepadqq,onlyoffice-desktopeditors,qownnotes,spotify,vlc
:gsettings bookworm,discord,gnome-calculator,irccloud-desktop,libreoffice,notepadqq,onlyoffice-desktopeditors,spotify
:home bookworm,discord,irccloud-desktop,libreoffice,mame,mumble,notepadqq,onlyoffice-desktopeditors,qownnotes,spotify,vlc
:network discord,gnome-calculator,irccloud-desktop,libreoffice,lp-build-snap,lxd,mame,mumble,onlyoffice-desktopeditors,qownnotes,spotify,vlc
:opengl discord,irccloud-desktop,libreoffice,mame,mumble,notepadqq,onlyoffice-desktopeditors,spotify,vlc
:pulseaudio discord,irccloud-desktop,mame,mumble,spotify,vlc
:screen-inhibit-control discord,vlc
:unity7 bookworm,discord,gnome-calculator,irccloud-desktop,libreoffice,mame,mumble,notepadqq,onlyoffice-desktopeditors,qownnotes,spotify,vlc
:wayland discord,gnome-calculator,irccloud-desktop,libreoffice
:x11 bookworm,discord,mumble,notepadqq,onlyoffice-desktopeditors,qownnotes,spotify,vlc
- discord:bluez
- discord:mount-observe
- discord:network-observe
- discord:process-control
- discord:system-observe

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

This is scheduled to be fixed using the new "snap connections" command. It will be similar to the "snap interface" (singular) command but will focus on connections rather than on interfaces (plugs and slots).

Changed in snapd:
status: New → Triaged
importance: Undecided → High
Changed in snapd:
assignee: nobody → Maciej Borzecki (maciek-borzecki)
status: Triaged → In Progress
Revision history for this message
Maciej Borzecki (maciek-borzecki) wrote :

`snap connections` has landed in 2.38.

Changed in snapd:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.