What is /var/crash/kdump_lock?

Ubuntu Version: 25.04

Desktop Environment : GNOME

Problem Description: What is /var/crash/kdump_lock ?

Relevant System Information:

corrado@corrado-n3-pp-0223:  inxi -SCxc
System:
  Host: corrado-n3-pp-0223 Kernel: 6.12.0-15-generic arch: x86_64 bits: 64
    compiler: gcc v: 14.2.0
  Desktop: GNOME v: 48.beta Distro: Ubuntu 25.04 (Plucky Puffin)
CPU:
  Info: 6-core model: 11th Gen Intel Core i5-11400 bits: 64 type: MT MCP
    arch: Rocket Lake rev: 1 cache: L1: 480 KiB L2: 3 MiB L3: 12 MiB
  Speed (MHz): avg: 800 min/max: 800/4400 cores: 1: 800 2: 800 3: 800 4: 800
    5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800 bogomips: 62208
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
corrado@corrado-n3-pp-0223:/va

I dont think it is actually documented anywhere but i would expect that it is the lock file that tells kdump that a coredump after a kernel panic happened … (you might find a .crash or .core file in that dir too)…

from man kdump-config:

 When a kdump enabled kernel panics, it immediately 
 boots into a clean kernel called the kdump kernel.
1 Like