Comment 3 for bug 241322

Revision history for this message
Matt Zimmerman (mdz) wrote : Re: [Bug 241322] Re: Detect kernel crashdump

On Thu, Jul 24, 2008 at 08:45:47AM -0000, Martin Pitt wrote:
> I just think it makes sense to pick up the kernel crash dump in apport's
> init script. Would the kernel have an equivalent init.d-like script
> which is run at boot which could do that?

It looks like makedumpfile is responsible for out the core from initramfs;
perhaps it could have an init script as well.

> Note to self: Matt has a helpful addition to the package hook:
>
> > hal = Popen(['lshal', '-u',
> > '/org/freedesktop/Hal/devices/computer'],
> > stdout=PIPE).stdout.read()
> > report['HalComputerInfo'] = hal

I'll attach the complete package hook here, though it should probably ship
with the kernel, don't you think?

--
 - mdz