[Bug 797847] Re: aptdaemon doesn't check if apport is enabled

Brian Murray brian at ubuntu.com
Wed Sep 7 23:10:55 UTC 2011


Yes, it would make sense if apport.packaging.enabled() were to also
check and see if the apport service were running as there is a use case
for somebody wanting to report a crash about aptdaemon on a non-
development release of Ubuntu  and manually starting apport to be able
to report the crash.  Tuomas could you please report a bug about apport
about this?  Thanks in advance.

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

Title:
  aptdaemon doesn't check if apport is enabled

Status in “aptdaemon” package in Ubuntu:
  Fix Released
Status in “aptdaemon” source package in Natty:
  Fix Released

Bug description:
  Binary package hint: aptdaemon

  aptdaemon has its own crash handler and it does not check to see if
  apport is enabled before writing a crash report.  Subsequently, we are
  receiving lots of crash reports regarding aptdaemon on natty which are
  duplicates and wasteful.  Instead aptdaemon should check to see if
  apport is enabled before writing a crash report.

  TEST CASE:
  1) Verify that apport is disabled: 
     enabled=0 in /etc/default/apport
  2) Make aptdaemon crash with an uncaught exception [*]
  3) Observe an apport crash reporting dialog

  After installing the package from -proposed
  1) Make aptdaemon crash with an uncaught exception [*]
  2) Observer there is not an apport crash reporting dialog

  [*] How to make aptdaemon crash
  1. Copy an uninstalled .deb file to your local folder
  2. Run the following command in a terminal (remember to revert to +x after the test)
    $ sudo chmod -x /usr/bin/lintian
  3. Open a file browser and double-click on the deb file to open it in software-center
  4. Click on install
  => aptdaemon will crash with a "permission denied" error (which is a bug BTW)

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




More information about the foundations-bugs mailing list