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

Launchpad Bug Tracker 1960964 at bugs.launchpad.net
Wed Feb 23 09:17:00 UTC 2022


This bug was fixed in the package apport - 2.20.11-0ubuntu78

---------------
apport (2.20.11-0ubuntu78) jammy; urgency=medium

  [ Olivier Gayot ]
  * Expect whoopsie to be started using path-based activation.
  * Pass timeout option to apport-autoreport so that whoopsie has time to
    upload all reports.
  * Use timer-based activation for apport-autoreport in addition to path-based
    activation (on modification of /var/crash).
  * Some code cleanup in data/whoopsie-upload-all.
  * Use unbuffered logging in data/whoopsie-upload-all.
  * Touch the /var/crash directory in data/whoopsie-upload-all so that
    whoopsie activates when needed.
  * Stop removing .crash files after they are successfully uploaded by
    whoopsie.

  [ Brian Murray ]
  * When collecting information about a snap gather some additional details,
    thanks to Olivier Tilloy for the idea. (LP: #1960964)
  * Update the recommended version of whoopsie for apport-noui.

 -- Brian Murray <brian at ubuntu.com>  Tue, 22 Feb 2022 17:13:48 -0800

** Changed in: apport (Ubuntu)
       Status: In Progress => Fix Released

-- 
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:
  Fix Released

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