=== modified file 'apport/report.py' --- apport/report.py 2008-04-01 14:05:10 +0000 +++ apport/report.py 2008-04-29 10:45:35 +0000 @@ -346,8 +346,10 @@ self['ProcCmdline'] = _read_file('/proc/' + pid + '/cmdline').rstrip('\0') self['ProcMaps'] = _read_maps(int(pid)) self['ExecutablePath'] = os.readlink('/proc/' + pid + '/exe') - if self['ExecutablePath'].startswith('/rofs/'): - self['ExecutablePath'] = self['ExecutablePath'][5:] + for p in ('rofs', 'rwfs', 'squashmnt', 'persistmnt'): + if self['ExecutablePath'].startswith('/%s/' % p): + self['ExecutablePath'] = self['ExecutablePath'][len('/%s' % p):] + break assert os.path.exists(self['ExecutablePath']) # check if we have an interpreted program === modified file 'debian/changelog' --- debian/changelog 2008-04-16 10:26:28 +0000 +++ debian/changelog 2008-04-29 12:18:49 +0000 @@ -1,3 +1,14 @@ +apport (0.108.1) hardy; urgency=low + + * 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. + + -- Loic Minier Tue, 29 Apr 2008 12:46:30 +0200 + apport (0.108) hardy; urgency=low [ Martin Pitt ]