This bug was fixed in the package apport - 2.28.1-0ubuntu3.1

---------------
apport (2.28.1-0ubuntu3.1) noble; urgency=medium

  [ Chris Peterson ]
  * d/package-hooks/subiquity.py: update information collection (LP: #2067775)
    - Add information about snap update/refresh state
    - Attach logs and change key names to align with the information
      attached by subiquity's self-collection
    - Attach hardware information
    - Ensure bug reports are always private since there may be private
      information in the logs
    - Don't require sudo for logs collection
    - Add journal logs
    - Ensure snap revision is included in both deb and snap collection
      style
    - Handle version information when permission elevation fails.

  [ Benjamin Drung ]
  * apport: do not modify permission of existing /var/crash or
    create /var/crash with setgid permission (mode 3777) (LP: #2066995)
  * apport.postinst: Create /var/crash with mode 3777 (LP: #2066995)
  * whoopsie-upload-all: exit with 0 if whoopsie is disabled (LP: #2069360)
  * Fix retracing crashes on Ubuntu 24.04 (noble) and add chaos-marmosets as
    dependency for the newly added system-tests (LP: #2067120)

  [ Sebastien Bacher ]
  * Fix some issues in the hook for ubuntu-desktop-bootstrap (LP: #2072751)

 -- Benjamin Drung <bdr...@ubuntu.com>  Mon, 22 Jul 2024 16:59:07 +0200

** Changed in: apport (Ubuntu Noble)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2069360

Title:
  apport-autoreport.service fails if autoreporting is disabled

Status in Apport:
  Fix Committed
Status in apport package in Ubuntu:
  Fix Committed
Status in apport source package in Noble:
  Fix Released

Bug description:
  [ Impact ]

  apport-autoreport.service fails if auto-reporting is disabled:

  ```
  $ systemctl status apport-autoreport.service
  × apport-autoreport.service - Process error reports when automatic reporting 
is enabled
       Loaded: loaded (/usr/lib/systemd/system/apport-autoreport.service; 
static)
       Active: failed (Result: exit-code) since Thu 2024-06-13 21:55:08 CEST; 
1h 9min ago
  TriggeredBy: ● apport-autoreport.timer
               ● apport-autoreport.path
      Process: 1059564 ExecStart=/usr/share/apport/whoopsie-upload-all 
--timeout 20 (code=exited, status=1/FAILURE)
     Main PID: 1059564 (code=exited, status=1/FAILURE)
          CPU: 86ms

  Jun 13 21:55:08 host systemd[1]: Starting apport-autoreport.service - Process 
error reports when automatic reporting is enabled...
  Jun 13 21:55:08 host whoopsie-upload-all[1059564]: ERROR: whoopsie.path is 
not enabled
  Jun 13 21:55:08 host systemd[1]: apport-autoreport.service: Main process 
exited, code=exited, status=1/FAILURE
  Jun 13 21:55:08 host systemd[1]: apport-autoreport.service: Failed with 
result 'exit-code'.
  Jun 13 21:55:08 host systemd[1]: Failed to start apport-autoreport.service - 
Process error reports when automatic reporting is enabled.
  ```

  This service failure might mislead user thinking that there is a
  problem.

  [ Test Plan ]

  1. Disable auto-reporting in the system setting:
    * open gnome-control-center or unity-control-center
    * Switch to "Security & Privacy" panel
    * Select "Diagnosticts" tab
    * unselect "Send error reports to Canonical"
  2. Produce a crash, e.g. by running divide-by-zero from chaos-marmosets
  3. Check that apport-autoreport.service is failing as above
  4. Upgrade Apport to the fixed version
  5. Restart apport-autoreport.service
  6. apport-autoreport.service should exit successfully

  [ Where problems could occur ]

  This code change touches the auto-reporting part. Failures there could
  lead to less bugs being forwarded to the error tracker. This might be
  noticeable when looking at the number of submissions.

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to