Breaks in more unionfs use cases

Bug #224168 reported by Loïc Minier
4
Affects Status Importance Assigned to Milestone
Apport
Fix Released
Undecided
Unassigned
apport (Ubuntu)
Fix Released
Undecided
Unassigned
Hardy
Fix Released
Undecided
Unassigned

Bug Description

Apport doesn't work for UME right now due to special casing of the unionfs mount points. It probably also doesn't work for apps installed from a live CD as it doesn't handle the read-write mount point either.

This is fixed in the bzr tree for apport in Ubuntu. The fix was to process a list of mount points and add the missing mount points to it. The proposed solution of parsing /proc/mounts was deemed too intrusive. The proper fix is to fix unionfs in l-u-m.

TEST CASE:
* For UME: install and enable apport, crash any app e.g. "bash -c 'kill -SEGV $$'", ls /var/crash and notice that no crash dump is created
* For the live CD: enable apport, install a new package, start and kill the app with SEGV as above, ls /var/crash and notice that no crash dump is created
* Alternatively, run "/usr/share/apport/testsuite/test-apport kernel"; testsuite should fail

To enable apport, edit /etc/default/apport, set enabled=1, run /etc/init.d/apport start.

Potential regressions: no particular regression in sight.

Loïc Minier (lool)
Changed in apport:
status: New → Fix Committed
Revision history for this message
Loïc Minier (lool) wrote :
Revision history for this message
Loïc Minier (lool) wrote :
Changed in apport:
status: New → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into hardy-proposed, please test.

Loïc Minier (lool)
description: updated
Loïc Minier (lool)
description: updated
Revision history for this message
Chris Gregan (cgregan) wrote :

Fix tested and passed

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 0.109

---------------
apport (0.109) intrepid; urgency=low

  [ Martin Pitt ]
  * debian/local/setup-apport-retracer: Update for some changes in Hardy.

  [ Loic Minier ]
  * apport/report.py, add_proc_info(): also strip pathnames starting with
    'cow', 'squashmnt', and 'persistmnt' to allow apport to locate the
    executable pathname, additionally to 'rofs' added in 0.75. This fixes
    apport for packages installed on the read-write part of the unionfs mounts
    and under UME which uses different names for the mount points. Proper fix
    is to rewrite the pathnames in the kernel. (LP: #224168)

 -- Martin Pitt <email address hidden> Wed, 23 Apr 2008 14:30:03 +0200

Changed in apport:
status: Fix Committed → Fix Released
Martin Pitt (pitti)
Changed in apport:
status: New → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Copied to hardy-updates.

Changed in apport:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.