/var/crash/* disappear after reboot

Cong Wang xiyou.wangcong at gmail.com
Tue Apr 10 07:48:01 UTC 2012


On 04/09/2012 05:32 PM, Dave Young wrote:
> On 04/09/2012 04:55 PM, Nikola Pajkovsky wrote:
>
>> Dave Young<dyoung at redhat.com>  writes:
>>
>>> On 04/09/2012 10:58 AM, Dave Young wrote:
>>>
>>>> On 04/08/2012 10:54 PM, Nikola Pajkovsky wrote:
>>>>
>>>>> Dave Young<dyoung at redhat.com>  writes:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> When I testing kdump, the vmcore is successfully captured in
>>>>>> /sysroot/var/crash which is the /var/crash in rootfs. But after reboot
>>>>>> it disappeared.
>>>>>>
>>>>>> Any idea about this?
>>>>>
>>>>> do you have installed abrt?
>>>>>
>>>>
>>>>
>>>> Yes, it's installed.
>>>>
>>>
>>>
>>> Looks like abrt will deal with vmcore in abrt-addon-vmcore, will it
>>> cleanup /var/crash/*?
>>
>> yup, that's exactly the 'problem'. Take a look at /var/spool/abrt/oops-*.
>>
>
>
>  From kdump side of view, the vmcore should be there instead of being
> deleted, It's the default behaviour. Could the abrt keep them?
>
> I can not think out why it will delete them if user/customer intend to
> capture and save them vmcore there.
>

Me neither. vmcore should be stored for further kernel debugging.


More information about the devel mailing list