"snap interfaces" command doesn't filter by snap

Bug #1590704 reported by Federico Gimenez on 2016-06-09
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snappy
Medium
John Lenton

Bug Description

According to the interfaces command help you should be able to filter by snap when listing interfaces, however when the snap name is specified nothing is shown:

fgimenez@arkham:~/workspace/gocode/src/github.com/snapcore/snapd$ snap interfaces
Slot Plug
:cups-control -
:firewall-control -
:gsettings -
:home -
:locale-control -
:log-observe -
:mount-observe -
:network network-consumer
:network-bind -
:network-control -
:network-manager -
:network-observe -
:opengl -
:pulseaudio -
:snapd-control -
:system-observe -
:timeserver-control -
:timezone-control -
:unity7 -
:x11 -
fgimenez@arkham:~/workspace/gocode/src/github.com/snapcore/snapd$ snap interfaces -i network
Slot Plug
:network network-consumer
fgimenez@arkham:~/workspace/gocode/src/github.com/snapcore/snapd$ snap interfaces -i network network-consumer
Slot Plug
fgimenez@arkham:~/workspace/gocode/src/github.com/snapcore/snapd$ snap interfaces network-consumer
Slot Plug

fgimenez@arkham:~/workspace/gocode/src/github.com/snapcore/snapd$ apt-cache policy snapd
snapd:
  Installed: 2.0.8
  Candidate: 2.0.8
  Version table:
 *** 2.0.8 100
        100 /var/lib/dpkg/status
     2.0.2 500
        500 http://es.archive.ubuntu.com/ubuntu yakkety/main amd64 Packages

Thanks,

John Lenton (chipaca) on 2016-06-09
Changed in snappy:
assignee: nobody → John Lenton (chipaca)
importance: Undecided → Medium
status: New → In Progress
John Lenton (chipaca) on 2016-06-10
Changed in snappy:
status: In Progress → Fix Committed

Hello Federico, or anyone else affected,

Accepted snapd into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/snapd/2.0.9 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
Federico Gimenez (fgimenez) wrote :

Working with 2.0.9 from proposed:

fgimenez@fgimenez-Standard-PC-i440FX-PIIX-1996:~$ apt-cache policy snapd
snapd:
  Installed: 2.0.9
  Candidate: 2.0.9
  Version table:
 *** 2.0.9 500
        500 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     2.0.8 500
        500 http://es.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
     2.0.2 500
        500 http://es.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
fgimenez@fgimenez-Standard-PC-i440FX-PIIX-1996:~$ snap interfaces
Slot Plug
:cups-control -
:firewall-control -
:gsettings -
:home -
:locale-control -
:log-observe -
:mount-observe -
:network -
:network-bind -
:network-control -
:network-manager -
:network-observe -
:opengl ubuntu-clock-app
:pulseaudio -
:snapd-control -
:system-observe -
:timeserver-control -
:timezone-control -
:unity7 ubuntu-clock-app
:x11 -
fgimenez@fgimenez-Standard-PC-i440FX-PIIX-1996:~$ snap interfaces -i opengl
Slot Plug
:opengl ubuntu-clock-app
fgimenez@fgimenez-Standard-PC-i440FX-PIIX-1996:~$ snap interfaces -i opengl ubuntu-clock-app
Slot Plug
:opengl ubuntu-clock-app

tags: added: verification-done
removed: verification-needed

The verification of the Stable Release Update for snapd has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

John Lenton (chipaca) on 2016-08-05
Changed in snappy:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers