[Bug 1960964] [NEW] Gather additional info when creating a bug about a snap

Brian Murray 1960964 at bugs.launchpad.net
Tue Feb 15 22:18:35 UTC 2022


Public bug reported:

On the ubuntu-devel mailing list[1] it was suggested that apport should
collect the following additional information when reporting a bug about
a snap:

  - snap changes --abs-time $SNAPNAME                                                                                                      
  - snap connections $SNAPNAME                                                                                                             
  - snap info --abs-time $SNAPNAME                                                                                                         
  - for PROVIDER in $(grep default-provider /snap/$SNAPNAME/current/meta/snap.yaml | uniq | cut -d: -f2); do snap info --abs-time $PROVIDER; done                                                                                                            
  - snap info --abs-time $(grep base: /snap/$SNAPNAME/current/meta/snap.yaml | cut -d: -f2)      

This should be fairly straightforward we just need to decide on names
for the keys in the report.

[1] https://lists.ubuntu.com/archives/ubuntu-
devel/2022-February/041836.html

** Affects: apport (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1960964

Title:
  Gather additional info when creating a bug about a snap

Status in apport package in Ubuntu:
  New

Bug description:
  On the ubuntu-devel mailing list[1] it was suggested that apport
  should collect the following additional information when reporting a
  bug about a snap:

    - snap changes --abs-time $SNAPNAME                                                                                                      
    - snap connections $SNAPNAME                                                                                                             
    - snap info --abs-time $SNAPNAME                                                                                                         
    - for PROVIDER in $(grep default-provider /snap/$SNAPNAME/current/meta/snap.yaml | uniq | cut -d: -f2); do snap info --abs-time $PROVIDER; done                                                                                                            
    - snap info --abs-time $(grep base: /snap/$SNAPNAME/current/meta/snap.yaml | cut -d: -f2)      

  This should be fairly straightforward we just need to decide on names
  for the keys in the report.

  [1] https://lists.ubuntu.com/archives/ubuntu-
  devel/2022-February/041836.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1960964/+subscriptions




More information about the foundations-bugs mailing list