[Bug 1993191] [NEW] apport hook that collects snap's information is outdated

Launchpad Bug Tracker 1993191 at bugs.launchpad.net
Thu Jan 26 14:56:38 UTC 2023


You have been subscribed to a public bug by Nathan Teodosio (nteodosio):


Impact
------

The Apport hook of the Chromium browser is outdated. It collects
information about core18, but the snap uses core20.

Moreover, it does not collect information about other interface
providers.

Test plan
---------

1. Install the current chromium-browser.

2. Generate a report with

  apport-bug --save /tmp/c1 chromium-browser
 
3. Install chromium-browser from proposed.

4. Generate another report with

  apport-bug --save /tmp/c2 chromium-browser

Note: If the package was built and generated locally, you will need
APPORT_DISABLE_DISTRO_CHECK=1 in the environment.

5. Compare the files. The meaningful differences should be in the
Snap.Info.xxxx sections, namely:

  - Snap.Info.core18 -> Snap.Info.core20
  - {None} -> Snap.Info.cups
  - {None} -> Snap.Info.gnome-3-38-2004

Differences should not be observed in Snap.Info.{chromium,core,gtk-
common-themes}.

Regression potential
--------------------

Being Apport a bug reporting program, an incorrect parsing of the
SNAP_META file could lead to insertion of unwanted information in the
report or to suppress the insertion of information about the relevant
interfaces.


Original report
---------------

See https://bazaar.launchpad.net/~chromium-team/chromium-browser/groovy-
stable/view/head:/debian/apport/chromium-browser.py#L59.

It collects information about core18, but the chromium snap was rebased
on core20 almost a year ago.

** Affects: chromium-browser (Ubuntu)
     Importance: Medium
     Assignee: Nathan Teodosio (nteodosio)
         Status: In Progress

** Affects: chromium-browser (Ubuntu Focal)
     Importance: Medium
     Assignee: Nathan Teodosio (nteodosio)
         Status: In Progress

** Affects: chromium-browser (Ubuntu Jammy)
     Importance: Medium
     Assignee: Nathan Teodosio (nteodosio)
         Status: In Progress

** Affects: chromium-browser (Ubuntu Kinetic)
     Importance: Medium
     Assignee: Nathan Teodosio (nteodosio)
         Status: In Progress


** Tags: patch
-- 
apport hook that collects snap's information is outdated
https://bugs.launchpad.net/bugs/1993191
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list