FFE: chroot-less apport-retrace
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The apport-retrace version in current oneiric only knows how to re-process a crash report in the installed system, and needs packages and ddebs being installed in the running system. For developers this is rather inconvenient, but mostly this tool has been used in the data center on the porter machines, using fakechroot and fakeroot. Maintenance of this has been very high, as fakechroot is very brittle, and the chroots had to be fixed/hacked a lot.
As fakechroot now has stopped working pretty much completely in oneiric (presumably somewhere in between multiarch and new glibc ABI), I finally reengineered the entire thing to use some current gdb features and stop using chroots completely. It now just needs a temporary directory and dpkg-deb -x'es packages into that sandbox.
With that, the apport retracer is now running happily in the DC again. I also did the remaining cleanup (manpage updates, etc.), and merged the new branch into trunk:
http://
I would like to get this packaged into oneiric as well, so that developers can use apport-retrace to reprocess crash reports they are interested in without always having to clutter their system by installing lots of extra packages temporarily.
This does not change the reporting side at all, just the apport-retrace binary package (which we don't even install by default). This will drop the apport-chroot tool (as it's now rather useless), and ship the improved apport-retrace with the new --sandbox mode.
Note that this isn't a blocker for the retracers, I use the trunk branch in the data center.
Ack. APproved. Please go ahead.