Comment 10 for bug 1003506

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 1003506] Re: crash-digger cannot discover bugs reported against projects

Hello Sergey,

Sergey "Shnatsel" Davidoff [2012-06-28 12:40 -0000]:
> I use per-package hooks in /etc/apport/crashdb.conf.d/ (for reference,
> they're in lp:~elementary-os/elementaryos/apport-hooks)

Right, package hooks are only being used for reporting bugs, not for
retracing.

> So if I set $APPORT_CRASHDB_CONF to the path to a custom file in /etc/apport/crashdb.conf.d/, it should work now?

Not quite, as these are not full configuration files, just parts of
it.

> Can I specify several crashdb files there? Probably it's not really
> needed since I can call it in a shell loop fairly easily.

That's indeed one difficulty. Right now crash-digger was designed to
just work on the default crash db (the one that
/etc/apport/crashdb.conf defines as "default =...").

So from what I can see, it should help you already to add a --crash-db
command line option, so that you can e. g. call crash-digger with
"--crash-db cerbere" or "--crash-db feedler". Then you would need to
call crash-digger in a shell loop for all projects. From there it is
only a small step towards supporting to specify the option multiple
times and iterating over all of them in crash-digger itself.

Are you running your retracers from trunk, i. e. lp:apport? Or do you
need this packaged for testing?

Thanks,

Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)