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

Jean-Baptiste Lallement jean-baptiste at ubuntu.com
Fri Aug 12 11:11:58 UTC 2011


SRU verification for Natty:
I have reproduced the problem with aptdaemon 0.41+bzr646-0ubuntu2 in natty and have verified that the version of aptdaemon 0.41+bzr646-0ubuntu2.1 in -proposed fixes the issue.

Marking as verification-done


** Description changed:

  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) Run sudo apt-get update in a terminal
- 2) While apt is updating execute pkill -11 aptd
- 3) Observe an apport crash reporting dialog
+ 1) Make aptdaemon crash with an uncaught exception [*]
+ 2) Observe an apport crash reporting dialog
  
  After installing the package from -proposed
- 1) Run sudo apt-get update in a terminal
- 2) While apt is updating execute pkill -11 aptd
- 3) Observer there is not an apport crash reporting dialog
+ 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)

** Tags removed: verification-needed
** Tags added: verification-done

** Description changed:

  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) Make aptdaemon crash with an uncaught exception [*]
- 2) Observe an apport crash reporting dialog
+ 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 
+   $ 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)

-- 
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 Committed

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