[Bug 1787729] Re: apport-autoreport.service fails if whoopsie isn't running

Ɓukasz Zemczak 1787729 at bugs.launchpad.net
Thu Jan 24 16:51:58 UTC 2019


Hello Cristian, or anyone else affected,

Accepted apport into cosmic-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/apport/2.20.10-0ubuntu13.2 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 on 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-cosmic to verification-done-cosmic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-cosmic. In either case, without details of
your testing we will not be able to proceed.

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

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

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

** Tags added: verification-needed verification-needed-cosmic

-- 
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/1787729

Title:
  apport-autoreport.service fails if whoopsie isn't running

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Cosmic:
  Fix Committed

Bug description:
  Impact
  ------
  If automatic crash reporting is enabled and apport-autoreport.service starts before whoopsie on boot then crash reports that happened during shutdown or start up will not be automatically uploaded to the error tracker.

  Test Case
  ---------
  1) install apport-noui
  2) sudo service apport stop
  3) modify /usr/share/apport/whoopsie-upload-all to exit(1) thereby recreating the situation where whoopsie isn't running. I did this by copying lines 159,160 to 161,162 and unindenting them. N.B. this isn't necessary if you are on a system where whoopsie is starting after apport.
  4) touch /var/crash/my.crash
  5) reboot
  5) run 'systemctl status apport-autoreport.service' and observe it failed because whoopsie isn't running

  When testing the proposed version of apport you'll want to revert the
  changes you made to whoopsie-upload-all. With the version of apport
  from -proposed you should no longer see the failure message for the
  apport-autoreport.service. The best test case is just having an
  affected system test the package from -proposed though.

  Regression Potential
  --------------------
  We are clearly fixing something that was a mistake in the original service so there is little chance for regression.

  --------

  ProblemType: BugDistroRelease: Ubuntu 18.10
  Package: apport 2.20.10-0ubuntu7
  Uname: Linux 4.18.3-041803-generic x86_64
  ApportLog:

  ApportVersion: 2.20.10-0ubuntu7
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Aug 18 11:48:00 2018
  InstallationDate: Installed on 2017-10-13 (308 days ago)
  InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170926)
  PackageArchitecture: allSourcePackage: apport
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list